Behat: Rationalise tests for file and folder upload/edit/delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Medium
|
Rangi Daymond |
Bug Description
This bug report incorporates automating manual tests and merging two tests with duplicated functionality.
These changes should be made after this Bug is complete: https:/
1. Merge the functionality of:
/user_content/
/download_
Make sure that the current functionality from both tests is still represented. Rename the merged test files_folders.
2. Automating manual test. These are the details from the spreadsheet:
Upload a file - Page elements present
Following blocks as follows
- User info block ✔
- On line users block ✔
- Quota Block ✔
- Profile completion (if turned on) ✔
Upload file area ✔
File browser table – displaying all uploaded files ✔
Add tests to make sure the correct blocks are on the page. We don't care if they contain the right info or if they work. The functionality is tested elsewhere.
3. Automating manual test. These are the details from the spreadsheet:
User can do the following
- Drag and drop files ✘
- Create folders ✔
- Download files ✔
- Edit a file or folder ✔
- Delete a file or folder ✔
We can't test drag and drop, or that download works, but we can test the other things via behat.
Edit the new files_folders.
a. editing the folder name: I press "Edit folder \"<name>\""
b. deleting the folder
description: | updated |
Changed in mahara: | |
status: | New → Confirmed |
importance: | Undecided → Medium |