-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#161 Implement review findings and update tests
- Loading branch information
Showing
15 changed files
with
448 additions
and
72 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,29 +19,58 @@ Feature: Tests for deleting an user import after its upload | |
| Import completed with errors! | Updated accounts (1) | | ||
| Import completed with errors! | Skipped data rows (1) | | ||
|
||
@clean_before | ||
@clear_downloadDir | ||
@add_user | ||
Scenario: after uploading a file a user inspects the user import summaries page | ||
When the user opens the user import summaries page | ||
When the user opens the user import page | ||
And the user uploads the file "userimport6.csv" | ||
And the user opens the user import summaries page | ||
Then a table with the import information "New: 2, Updated: 1, Skipped: 1" regarding the file "userimport6.csv" is shown | ||
|
||
@clean_before | ||
@clear_downloadDir | ||
@add_user | ||
Scenario: after uploading a file a user can delete, download or show details of the import entry at the import summaries page | ||
When the user opens the user import summaries page | ||
When the user opens the user import page | ||
And the user uploads the file "userimport6.csv" | ||
And the user opens the user import summaries page | ||
And the user opens the menu in the functions column | ||
Then the import summaries page offers the possibility to delete, download or show details of the import entry | ||
|
||
@clean_before | ||
@clear_downloadDir | ||
@add_user | ||
Scenario: a user deletes the user import | ||
When the user opens the user import summaries page | ||
When the user opens the user import page | ||
And the user uploads the file "userimport6.csv" | ||
And the user opens the user import summaries page | ||
And deletes the entry for the user import | ||
Then the entry is removed and a message regarding the successful deletion of the entry is shown | ||
|
||
@clean_before | ||
@clear_downloadDir | ||
@add_user | ||
Scenario Outline: after deleting the user import a user inspects the users page regarding the added users | ||
When the user opens the users page | ||
When the user opens the user import page | ||
And the user uploads the file "userimport6.csv" | ||
And the user opens the user import summaries page | ||
And deletes the entry for the user import | ||
And the user opens the users page | ||
Then the new user "<username>" was added | ||
|
||
Examples: | ||
| username | | ||
| maxtest | | ||
| mariatest | | ||
|
||
@clean_before | ||
@clear_downloadDir | ||
@add_user | ||
Scenario: after deleting the user import a user inspects the users page regarding the updated users | ||
When the user opens the users page | ||
When the user opens the user import page | ||
And the user uploads the file "userimport6.csv" | ||
And the user opens the user import summaries page | ||
And deletes the entry for the user import | ||
And the user opens the users page | ||
Then the user "mmustermann" has his mail updated to "[email protected]" and his display name to "Mark Test" |
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
Oops, something went wrong.