-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests-only] Adds e2e tests for download files batch action (#6541)
* Add test step for downloading file using batch action Signed-off-by: Swikriti Tripathi <[email protected]> * Address reviews * change selector
- Loading branch information
Showing
8 changed files
with
164 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/e2e/cucumber/features/integrations/link.oc10.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Feature: link | ||
|
||
@issue-6239 | ||
Scenario: public link in oc10 | ||
Given "Admin" creates following users | ||
| id | | ||
| Alice | | ||
When "Alice" logs in | ||
And "Alice" opens the "files" app | ||
And "Alice" creates the following resources | ||
| resource | type | | ||
| folderPublic | folder | | ||
And "Alice" uploads the following resources | ||
| resource | to | | ||
| lorem.txt | folderPublic | | ||
# Then "Alice" should see the following resource | ||
# | folderPublic/lorem.txt | | ||
And "Alice" creates a public link for the following resource using the sidebar panel | ||
| resource | name | role | dateOfExpiration | password | | ||
| folderPublic | myPublicLink | uploader | +5 days | 12345 | | ||
And "Alice" logs out | ||
# Then "Alice" should see 1 public link | ||
When "Anonymous" opens the public link "myPublicLink" | ||
And "Anonymous" unlocks the public link with password "12345" | ||
# Then the public should not see the following resource | ||
# | lorem.txt | | ||
And "Anonymous" drop uploads following resources | ||
| resource | | ||
| textfile.txt | | ||
# Then the public should see the following files on the files-drop page | ||
# | textfile.txt | | ||
# When the public reloads the public link pages | ||
# Then the public should not see the following files on the files-drop page | ||
# | textfile.txt | | ||
And "Anonymous" logs out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters