Skip to content

Testplan

Björn Schießle edited this page Jan 17, 2014 · 74 revisions

We recommend to enable encryption before running the tests. The encryption app works transparently for all the test cases. By enabling it you make sure that the encryption app gets testes quite will without any extra efforts.

Test# Short/Long Action Test Expected Result Acceptance Test Unit Test
1.1 Short Login Case sensitive It is possible to login login.feature
1.2 Short Login Wrong credentials An alert message is displayed
1.3 Short Login Change of passwords We can log in with the new one
1.4 Short Login Passwords that include special characters We can log in
1.5 Short Login Change the storage using the different options The storage is changed
2.1 Short Upload Upload a file File gets uploaded to OC
2.2 Short Upload Drag and drop File gets uploaded to OC
2.3 Short Upload Drag and drop Folders gets uploaded to OC
2.4 Short Upload Upload more than 1 Files get uploaded to OC
2.5 Short Upload Upload a file that already exists An alert message is displayed
2.6 Short Upload Upload a file that already exists, select suggest name The file gets upload with a new name
2.7 Short Upload Upload a file that already exists, selec cancel The file is not upload
2.8 Short Upload Upload a file taht already exists, select replace The file available on the server is replaced with the new one
2.9 Short Upload File size After uploading a new file, its size is shown on MB
2.10 Short Upload Files whose names include special characters Files get uploaded
2.11 Short Upload Upload files to a subfolder Files get uploaded
2.12 Short Upload Progress bar is visible When uploading files, progress bar is visible
2.13 Short Upload Upload finishes When an upload finishes, the loading icon disappears
2.14 Short Upload Create a folder It is automatically displayed
2.15 Short Upload Cancel upload The upload stops
2.16 Short Upload Cancel the creation of a new file/folder By clicking the outside the submenu, the file/folder is not created
2.17 Short Upload Upload a single document with a long name (100 characters) File gets uploaded
2.18 Short Upload Create a folder with a long name (100 characters) Folder is created
2.19 Short Upload Create a folder whose name is Shared Not possible, an alert message is shown
2.20 Short Upload Having reached the maximum storage capacity, upload a file An alert message is shown
2.21 Short Upload Upload a file whose size is larger than the maximum available size An alert message is shown
2.22 Short Upload Set maximum upload to 1 Gb upload a file of 1 Gb
2.23 Short Upload Lots of documents Upload 100 documents, 1 G
2.24 Short Upload Create a folder whose name is the same as one document Create a file whose name is "a", Create a folder whose is "a", The folder is created
3.1 Short Txt Create a txt The new txt file is shown on the file directory
3.2 Short Txt Edit a txt It is possible to edit a txt within ownCloud web
3.3 Short Txt Changes are saved After editting a file and saving the changes, we check that changes are correctly saved, special care with spaces and special characters
3.4 Short Txt Add modifications to a file from different sources Single Document upload a single document in the web client, modify the same document on PC and sync with pc client, modify the same document on web and sync with pc client, modify the same document again
4.1 Short Delete Delete a non-empty folder Folder gets deleted
4.2 Short Delete Delete a folder whose name includes special characters Folder gets deleted
4.3 Short Delete Delete a file that has been shared with us, with privileges It is deleted on both accounts
4.4 Short Delete Delete a large file, 1 Gb File gets deleted
4.5 Short Delete Delete a folder that contains several files, 1500 Folder gets deleted
4.6 Short Delete Delete a subfolder The subfolder gets deleted
4.7 Short Delete Delete a folder while from other client files are being uploaded on it pending
4.8 Short Delete Having reached more than 90% storage capacity, delete a file File is deleted
5.1 Short Trash bin Restore a folder that has been deleted The folder and its content is restored
5.2 Short Trash bin Restore an empty folder The folder is restored
5.3 Short Trash bin Restore a file The file is restored
5.4 Short Trash bin Having reached the maximun storage capacity if we delete a file or folder They are not stored on the trash bin
5.5 Short Trash bin Restore a shared folder that has been deleted The folder is restored
5.6 Short Trash bin Restore a file whose name is currently in use An alert message should be shown
5.7 Short Trash bin Restore a folder whose name is currently in use An alert message should be shown
5.8 Short Trash bin Restore a folder whose name includes special characters The folder is restored
5.9 Short Trash bin Restore a file that has been shared The file is restored and the shared info keeps (this is an enhancement
5.10 Short Trash bin Restore a txt file The file is restored included the extension
5.11 Short Trash bin Restore a subfolder with 100 files From the desktop client, create the folders d > d1, Upload 100 files on d1,Wait till the desktop is sync, Once is sync. move to trash the folder d1 from the desktop, Wait till is sync again the desktop, Check that the folder has been deleted correctly on the web, From the web client access to deleted files and select restore d1, The folder is restored and its content
6.1 Short Rename Rename a file File gets renamed
6.2 Short Rename Rename a folder Folder gets renamed
6.3 Short Rename Rename using special characters File/Folder gets renamed
6.4 Short Rename Rename by leaving empty the field An alert message is shown
6.5 Short Rename Rename by taking off the file extension The file gets renamed
6.6 Short Rename Rename a folder/file using a name that is already in use An alert message is shown
6.7 Short Rename Rename a folder/file using a name that is already in use, selects cancel The folder/file is not renamed
6.8 Short Rename Rename a folder/file using a name that is already in use, select replace The folder/file is replaced
6.9 Short Rename Rename a file on the mobile client and on the web client at the same time An alert message is shown
6.10 Short Rename Rename a folder that is not longer exist, has been deleted with another client An alert message is shown
6.11 Short Rename Rename a subfolder The subfolder gets renamed
6.12 Short Rename Rename a folder/file using forbidden characters An alert message is shown
6.13 Short Rename Rename a folder while files are being uploaded from other client on it Files are uploaded
7.1 Short Preview Preview png The file is displayed
7.2 Short Preview Preview gif The file is displayed
7.3 Short Preview Preview pdf The file is displayed
7.4 Short Share Share a file with a colleague(s) Colleague(s) has access to the file
8.1 Short Share Share a folder with a colleague(s) Colleague(s) has access to the folder including any subfolder and files
8.2 Short Share Having a shared folder we include a new file on it Colleague can access to it
8.3 Short Share Having a shared folder we delete it The folder is deleted too
8.4 Short Share Having a shared file, we delete it The file is deleted
8.5 Short Share Having a shared folder, from the other user we select to to stop sharing it The folder is not shared
8.6 Short Share Shared a folder whose name includes special characters The folder is shared
8.7 Short Share Shared a folder and set it as not "shared" Resharing is not possible
8.8 Short Share Shared a folder without edit privileges. Try to modify a txt stored on it Not possible, to include changes
8.9 Short Share Shared a large file, 1Gb It´s shared
8.10 Short Share Having shared file, with privileges, we modified from user Changes are reflected in all users
8.11 Short Share Having shared file, with privileges, we modified from other user but the owner Changes are reflected
8.12 Short Share Having a shared file, we modified it from two clients at the same time In one of them it is not possible to save changes
8.13 Short Share We select to share a folder with a link, after receiving the mail link, we access to OC and select to download the folder The folder gets downloaded
8.14 Short Share We select to share a file with a link, after receiving the mail link, we access to OC and select to download the folder The file gets downloaded
8.15 Short Share The shared icon is displayed although we log out The icon is displayed
8.16 Short Share The shared icon is displayed in all shared files Not only the folder shows the icon but also all files stored on it
8.17 Short Share We rename a shared folder It keeps being a shared folder
8.18 Short Share Having edit privileges, it is possible to modify a file File gets updated
8.19 Short Share Shared a folder with a group Folder is visible for all members of the group
8.20 Short Share Shared a folder without privileges It is not possible to upload nor create new folder or files
8.21 Short Share Shared a link if "allow links" is not enabled It should not be possible
8.22 Short Share Message when "allow links" is not enabled If "allow files" is not enabled, an alert message is shown, this message should include the name of the file
8.23 Short Share It is possible to share something previously shared via link while "allow links" is not enabled Select to share with link a file that has been previously shared with a link
8.24 Short Share Error by sharing a file with link a non-admin user from Chrome and opening the link on FF It is possible to download the share file
8.25 Short Share Move files into a shared folder Files are uploaded
8.26 Short Share Message when resharing is not allowed Select to share the folder, the dialogue is shown "Resharing is not allowed"
8.27 Short Share Set not allowed resharing on admin Check that by default the share option is not set when sharing a file
8.28 Short Share When it is not allowed resharing, it should not be possible to check share Check the privileges, it is possible to checked the option share. However, this check is not saved.
8.29 Short Share Rename a shared folder The folder is still shared
8.30 Short Share Group names are shown when selecting share to The group names should not be hidden, although the mouse is over them
8.31 Short Share Access to a shared subfolder On one user create the folders a>a1, and select to share it with another user, user2. Access as user2, to the Shared folder, and to a and a1
9.1 Short Settings Access to settings > admin We access to the settigns screen
9.2 Short Settings Change password The password is changed
9.3 Short Settings Reset password A link is sent and the password is reset
9.4 Short Settings Recover password It is possible to enter your mail in order to get your password recovered
9.5 Short Settings Recover password, enter wrongly mail Wrong mails are detected
9.6 Short Settings Create a user whose name includes special characters Not possible
9.7 Short Settings Create a group whose name includes special characters Group is created
9.8 Short Settings Users admin It is possible to access to users admin and see all users properly
9.9 Short Settings Delete a user It is not possible to access any more
9.10 Short Settings Create a new group The new group is created
9.11 Short Settings Access to users administration The web is shown properly
10.1 Short Storage limit Set the storage limit Once we reach the maximum storage capacity, it is not possible to upload more files
10.2 Short Storage limit Modify the storage limit Having reached the storage limit, we increase it. So it is possible to upload files again
11.1 Short Icons All icons are visible when they have to Check icons
11.2 Short Icons Delete icon is shown Check icons
12.1 Short Upgrade Upgrading from older ownCloud version to newer one Main issues to be checked: It´s possible to log in, all previous users and groups are there, all previous shared are there, sync folder from desktop clients are there, Mobile clients have access to the new version, It´s possible to delete previous users and create new one
12.2 Short Update Upgrade from 4.5.8 to 5.0.6 All actions are possible to be done
13 Short Desktop client ClientSync folder is sync All info stored on this folder is sync.
13.1 Short Desktop client Delete a folder on the desktop client Check on the web client that the folder is deleted too
13.2 Short Desktop client Delete a folder with a long name on the desktop client Check on the web client that the folder is deleted too
13.3 Short Desktop client Delete a folder with special characters on the desktop client Check on the web client that the folder is deleted too
13.4 Short Desktop client Delete a file with special characters on the desktop client Check on the web client that the file is deleted too
13.5 Short Desktop client Delete a folder up to 5 levels deep, make a folder five levels deep, upload files there, wait till folder is sync, and delete the folder Check on the web client that the folder is deleted too
13.6 Short Desktop client Repeat the test 13.5 for all folders levels one at a time Check on the web client that the folder is deleted too
*13.7 Short Desktop client Upload a file on the desktop client Check on the web client that the file is uploaded
13.8 Short Desktop client Delete a file from the web that has been previously deleted from the client An alert message is shown while attempting to delete the file
13.9 Short Desktop client Rename a file on the desktop The file is renamed on the web too
13.10 Short Desktop client Delete a renamed file The file is deleted on the web too
13.11 Short Desktop client Edit a file on the desktop Check on the web the content of the file
13.12 Short Desktop client Delete an edited file on the desktop (First edit a file, once is sync. delete it The file is deleted on the web too
13.13 Short Desktop client Rename a file on the desktop The file is renamed on the web too
13.14 Short Desktop client Delete multiple files at a time on the web from the "Sync Folders" tab All files are deleted from the desktop too, an alert message is shown of each one
13.15 Short Desktop client Delete a large file from the web (2GB) from the Sync Files tab User gets a notification and it can be checked that the file is deleted on the desktop too
13.16 Short Desktop client Sync works for zip/rar files with elaborate internal folder structures, create a zip file with many folders and files, unzip the folder inside the Sync folder Check that a popup is shown as well as all files and folders are uploaded to the web too
13.17 Short Desktop client Add a file of 1MB on the local inside folder, and in the same time, add another file on the same remote folder (make sure that file is on the server before the client finishes) Check that the sync is correct
13.17 Short Desktop client Delete all folders from Sync Tab Check that folders are deleted from desktop too
13.18 Short Desktop client Update 10MB from the desktop Check that the file is upload and with its correct size
14.1 Short Anonymous upload Upload file, photo, video,... Files get upload to owncloud
14.2 Short Anonymous upload Upload more than one file Files get upload to owncloud
14.3 Short Anonymous upload It is possible to upload files to folder whose names include special characters Files get upload to owncloud
14.4 Short Anonymous upload Upload a file that already exists It is detected that another file exists with the same name
14.5 Short Anonymous upload Upload a file that already exists, suggest name It is detected that another file exists with the same name, we select suggest name
14.6 Short Anonymous upload Upload a file that already exists, cancel it It is detected that another file exists with the same name, we select to cancel it
14.7 Short Anonymous upload Upload a file that already exists, select replace It is detected that another file exists with the same name, replace
14.8 Short Anonymous upload File size It is shown the file size on MB
14.9 Short Anonymous upload Upload a 1GB file An alerert message should be shown
14.10 Short Anonymous upload Upload a file whose size is larger than the maximum available size An alerert message is shown "Not enought storage available"
14.11 Short Anonymous upload Shared a file and enable "Allow public upload" You shouldnt enable "Allow public upload" in a file
14.12 Short Anonymous upload Upload a file using "Password protect" Files get upload
14.13 Short Anonymous upload Check the uploads are visible from the desktop client The files are visible from the desktop client
14.14 Short Anonymous upload Shared a file and enable "Allow public upload" via email The file is shared
14.15 Short Anonymous upload 1.Shared a folder via link 2. Rename the folder 3. Go to link adrress 4. Checked the alert message is correct The properly alert message is shown
14.16 Short Anonymous upload 1.Shared a folder via link 2. Move the folder to another folder 3. Go to link adrress 4. Checked the alert message is correct The properly alert message is shown
14.17 Short Anonymous upload 1.Shared a folder via link 2. Remove the folder to another folder 3. Go to link adrress The web is not found
14.18 Short Anonymous upload 1.User A shared a folder(TEST) with other user B without privileges (not shared privileges) 2. User B shared the folder (TEST) via link enable "Allow public upload" 3. Upload a file via anonymous upload to the folder TEST Resharing is not allowed
14.19 Short Anonymous upload 1.User A shared a folder(TEST) with other user B without priviligies (only shared privileges) 2. User B shared the folder (TEST) via link enable "Allow public upload" 3. Upload a file via anonymous upload to the folder TEST An alert message is shown
14.20 Short Anonymous upload 1.User A shared a folder(TEST) with other user B with edit privileges 2. User B shared the folder (TEST) via link enable "Allow public upload" 3. Upload a file via anonymous upload to the folder TEST File gets upload