mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59431
[Bug 1891430] [NEW] Behat: Rationalise tests for file and folder upload/edit/delete
Public bug reported:
This bug report incorporates automating a manual test 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:
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
** Affects: mahara
Importance: Undecided
Assignee: Rangi Daymond (rangid)
Status: New
** Tags: behat-test
--
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 a manual test 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:
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
Follow ups