-
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]Add tests for pagination in personal space (#9008)
* Add tests for pagination presonal space * set skeleton to emply for tests * remove the reduntant config * add logout step * address reviews * address reviews
- Loading branch information
Showing
8 changed files
with
171 additions
and
5 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
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
24 changes: 24 additions & 0 deletions
24
tests/e2e/cucumber/features/smoke/personalSpacePagination.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,24 @@ | ||
Feature: check files pagination in personal space | ||
As a user | ||
I want to navigate a large number of files using pagination | ||
So that I do not have to scroll deep down | ||
|
||
Scenario: pagination | ||
Given "Admin" creates following user using API | ||
| id | | ||
| Alice | | ||
And "Alice" creates 55 folders in personal space using API | ||
And "Alice" creates 55 files in personal space using API | ||
And "Alice" creates the following files into personal space using API | ||
| pathToFile | content | | ||
| .hidden-testFile.txt | This is a hidden file. | | ||
And "Alice" logs in | ||
And "Alice" opens the "files" app | ||
When "Alice" navigates to page "2" of the personal space files view | ||
Then "Alice" should see the text "111 items with 1 kB in total (56 files, 55 folders)" at the footer of the page | ||
And "Alice" should see 10 resources in the personal space files view | ||
When "Alice" enables the option to display the hidden file | ||
Then "Alice" should see 11 resources in the personal space files view | ||
When "Alice" changes the items per page to "500" | ||
Then "Alice" should not see the pagination in the personal space files view | ||
And "Alice" 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