mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59438
[Bug 1891430] Re: Behat: Rationalise tests for file and folder upload/edit/delete
** Description changed:
- This bug report incorporates automating a manual test and merging two
+ 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://bugs.launchpad.net/mahara/+bug/1891426. It can be either a child
patch or made after that patch is merged.
1. Merge the functionality of:
/user_content/file_edit.feature
/download_files_block.feature
Make sure that the current functionality from both tests is still
represented. Rename the merged test files_folders.feature. It can be the
core test for this functionality.
- 2. Automating manual test. These are the details from the spreadsheet
- items:
+ 2. Automating manual test. These are the details from the spreadsheet:
- User can do the following
+ 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.feature to include a check for
+ Edit the new files_folders.feature to include a check for
a. editing the folder name: I press "Edit folder \"<name>\""
b. deleting the folder
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1891430
Title:
Behat: Rationalise tests for file and folder upload/edit/delete
Status in Mahara:
New
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://bugs.launchpad.net/mahara/+bug/1891426. It can be either a
child patch or made after that patch is merged.
1. Merge the functionality of:
/user_content/file_edit.feature
/download_files_block.feature
Make sure that the current functionality from both tests is still
represented. Rename the merged test files_folders.feature. It can be
the core test for this functionality.
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.feature to include a check for
a. editing the folder name: I press "Edit folder \"<name>\""
b. deleting the folder
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1891430/+subscriptions
References