Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.2 Testplan #4638

Closed
15 of 16 tasks
jnweiger opened this issue Jan 20, 2021 · 2 comments
Closed
15 of 16 tasks

1.0.2 Testplan #4638

jnweiger opened this issue Jan 20, 2021 · 2 comments

Comments

@jnweiger
Copy link
Contributor

jnweiger commented Jan 20, 2021

Setup

With 10.6.0 docker - http-only (click to view details)
oc_release.sh app:get oauth2
oc_release.sh app:get web
HTTP_PORT=883
HTTPS_PORT=8443
IPADDR=$(hostname -I | sed -e 's/ .*//')
HTTP_SERVER=http://$IPADDR:$HTTP_PORT
HTTPS_SERVER=$HTTP_SERVER
# HTTPS_SERVER=http://$IPADDR:$HTTPS_PORT
cd mnt_oc

mkdir -p config/
echo -e > config/web.config.php "<?php\n\$CONFIG = array ( 'web.baseUrl' => '$HTTPS_SERVER/index.php/apps/web' );"

docker run -ti --rm -v $HOME/mnt_oc:/mnt/data -p $HTTP_PORT:8080 owncloud/server:10.6.0 & 
echo "Admin -> General -> Log: select Everything ..."
echo "Admin -> 'User Authentication': Add: ownCloud-Web $HTTPS_SERVER/index.php/apps/web/oidc-callback.html"

CLIENT_ID_FROM_OAUTH2=nGqQBjSGwZ33lCgGWXUxOJLKG6SU5AnMGOHJo3w5f39U8KMrg7BMN7vJCvcKDF56

cat <<EOF > config/config.json
{
  "server" : "$HTTPS_SERVER",
  "theme": "owncloud",
  "auth": {
    "clientId": "$CLIENT_ID_FROM_OAUTH2",
    "url": "$HTTPS_SERVER/index.php/apps/oauth2/api/v1/token",
    "authUrl": "$HTTPS_SERVER/index.php/apps/oauth2/authorize"
  },
  "apps" : [ "files", "draw-io",  "markdown-editor",  "media-viewer" ],
  "applications" : [
    {
      "title": { "en": "Classic Design", "de": "Dateien" },
      "icon": "switch_ui",
      "url": "$HTTP_SERVER/index.php/apps/files"
    },
    {
      "icon": "application",
      "menu": "user",
      "target": "_self",
      "title": { "de": "Einstellungen", "en": "Settings" },
      "url": "$HTTPS_SERVER/index.php/settings/personal"
    }
  ]
}
EOF

docker exec -ti $(docker ps -q | head -1) occ app:enable oauth2
docker exec -ti $(docker ps -q | head -1) occ app:enable web

'Web' App Test Plan

Testing functionality

Test Case Expected Result Result Related Comment
CLI commands
Enable web app via CLI using occ app:enable web The apps gets enabled ✔️
Web GUI
Switch to 'Settings' -> 'New Design' The 'new' web app appears ✔️ #4636

...

Material collected from https://github.com/owncloud/enterprise/issues/4301

Within the app I clicked around a lot and saw no issues. In particular:

  • create folders
  • upload some files and download them again
  • open images in mediaviewer
  • share folders with some demo users
  • access content via public link
  • delete files and folders, restore files and folders, and empty trash
  • mark files as favorite, check that they are in the favorites list, remove again from favorites
  • share with users and as public link from within the shared with others view
  • login as different user, accept and decline shares, download files from within the shares
  • create a draw.io file, save and exit. Reopening works correct and shows content

Re-evaluate

The following menu items fall back into classic design

  • admin -> Settings
  • admin -> Profile -> Edit
@jnweiger jnweiger mentioned this issue Jan 20, 2021
31 tasks
@pascalwengerter
Copy link
Contributor

@jnweiger can we close this issue?

@jnweiger
Copy link
Contributor Author

1.0.2 release is done.

jnweiger added a commit to owncloud/QA that referenced this issue Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants