Skip to content

Commit

Permalink
Merge pull request #4767 from owncloud/replace-usernames
Browse files Browse the repository at this point in the history
[Tests-Only] Replace generic usernames with real usernames
  • Loading branch information
phil-davis authored Feb 26, 2021
2 parents a507d2e + 3152b7b commit 6200605
Show file tree
Hide file tree
Showing 98 changed files with 3,519 additions and 3,515 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIFiles/search.feature:168](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFiles/search.feature#L168)
- [webUIRestrictSharing/restrictReSharing.feature:23](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictReSharing.feature#L23)
- [webUIRestrictSharing/restrictReSharing.feature:40](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictReSharing.feature#L40)
- [webUIRestrictSharing/restrictSharing.feature:25](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L25)
- [webUIRestrictSharing/restrictSharing.feature:34](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L34)
- [webUIRestrictSharing/restrictSharing.feature:43](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L43)
- [webUIRestrictSharing/restrictSharing.feature:50](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L50)
- [webUIRestrictSharing/restrictSharing.feature:29](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L29)
- [webUIRestrictSharing/restrictSharing.feature:38](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L38)
- [webUIRestrictSharing/restrictSharing.feature:47](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L47)
- [webUIRestrictSharing/restrictSharing.feature:54](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L54)
- [webUISharingAcceptShares/acceptShares.feature:16](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L16)
- [webUISharingAcceptShares/acceptShares.feature:213](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L213)
- [webUISharingAutocompletion/shareAutocompletion.feature:33](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletion.feature#L33)
Expand Down
40 changes: 20 additions & 20 deletions tests/acceptance/features/webUIAccount/accountInformation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@ Feature: View account information
So that I can verify and use my account details correctly

Background:
Given user "user1" has been created with default attributes
Given user "Alice" has been created with default attributes

@ocis-reva-issue-107
Scenario: view account information when the user has been created without groups membership
Given user "user1" has logged in using the webUI
Given user "Alice" has logged in using the webUI
When the user browses to the account page
Then the user should have following details displayed on the account information
| Username | user1 |
| Display name | User One |
| Email | user1@example.org |
| Username | Alice |
| Display name | Alice Hansen |
| Email | alice@example.org |
| Groups membership | You are not part of any group |

@ocis-konnectd-issue-42
Scenario: view account information when the user has been added to a group
Given these groups have been created:
| groupname |
| Group1 |
And user "user1" has been added to group "Group1"
And user "user1" has logged in using the webUI
And user "Alice" has been added to group "Group1"
And user "Alice" has logged in using the webUI
When the user browses to the account page
Then the user should have following details displayed on the account information
| Username | user1 |
| Display name | User One |
| Email | user1@example.org |
| Username | Alice |
| Display name | Alice Hansen |
| Email | alice@example.org |
| Groups membership | Group1 |

@ocis-reva-issue-107 @ocis-konnectd-issue-42
Expand All @@ -40,16 +40,16 @@ Feature: View account information
| Group4 |
| Group31 |
| A111111 |
And user "user1" has been added to group "Group1"
And user "user1" has been added to group "Group2"
And user "user1" has been added to group "Group3"
And user "user1" has been added to group "Group4"
And user "user1" has been added to group "Group31"
And user "user1" has been added to group "A111111"
And user "user1" has logged in using the webUI
And user "Alice" has been added to group "Group1"
And user "Alice" has been added to group "Group2"
And user "Alice" has been added to group "Group3"
And user "Alice" has been added to group "Group4"
And user "Alice" has been added to group "Group31"
And user "Alice" has been added to group "A111111"
And user "Alice" has logged in using the webUI
When the user browses to the account page
Then the user should have following details displayed on the account information
| Username | user1 |
| Display name | User One |
| Email | user1@example.org |
| Username | Alice |
| Display name | Alice Hansen |
| Email | alice@example.org |
| Groups membership | Group1, Group2, Group3, Group4, Group31, A111111 |
4 changes: 2 additions & 2 deletions tests/acceptance/features/webUIAccount/logout.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Feature: Logout users


Scenario:logging out
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI
Given user "Alice" has been created with default attributes
And user "Alice" has logged in using the webUI
When the user browses to the account page
And the user logs out of the webUI
Then the authentication page should be visible
8 changes: 4 additions & 4 deletions tests/acceptance/features/webUIAccount/userProfile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ Feature: view profile
So that I can manage my account

Background:
Given user "user1" has been created with default attributes
Given user "Alice" has been created with default attributes

@ocis-reva-issue-107
Scenario: view user profile for the logged in user
When user "user1" logs in using the webUI
When user "Alice" logs in using the webUI
Then the user profile should be visible in the webUI
When the user opens the user profile
Then username "User One" should be visible in the webUI
Then username "Alice Hansen" should be visible in the webUI


Scenario: browse to account page to manage user account
Given user "user1" has logged in using the webUI
Given user "Alice" has logged in using the webUI
When the user opens the user profile
And the user browses to manage the account
Then the accounts page should be visible in the webUI
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ Feature: admin storage settings
Given these users have been created with default attributes:
| username |
| user0 |
| user1 |
| Alice |
And the administrator has browsed to the admin storage settings page
And the administrator has enabled the external storage
When the administrator creates the local storage mount "local_storage1" using the webUI
And the administrator adds user "user0" as the applicable user for the last local storage mount using the webUI
And the administrator creates the local storage mount "local_storage2" using the webUI
And the administrator adds user "user1" as the applicable user for the last local storage mount using the webUI
And the administrator adds user "Alice" as the applicable user for the last local storage mount using the webUI
And the user re-logs in as "user0" using the webUI
Then folder "local_storage1" should be listed on the webUI
And folder "local_storage2" should not be listed on the webUI
And the user re-logs in as "user1" using the webUI
And the user re-logs in as "Alice" using the webUI
And folder "local_storage1" should not be listed on the webUI
And folder "local_storage2" should be listed on the webUI

Expand All @@ -49,23 +49,23 @@ Feature: admin storage settings
Given these users have been created with default attributes:
| username |
| user0 |
| user1 |
| Alice |
And the administrator has browsed to the admin storage settings page
And the administrator has enabled the external storage
And the administrator has created the local storage mount "local_storage1" from the admin storage settings page
And the administrator has added user "user0" as the applicable user for the last local storage mount from the admin storage settings page
When the administrator removes user "user0" from the applicable user for the last local storage mount using the webUI
And the user re-logs in as "user0" using the webUI
Then folder "local_storage1" should be listed on the webUI
And the user re-logs in as "user1" using the webUI
And the user re-logs in as "Alice" using the webUI
And folder "local_storage1" should be listed on the webUI

@skip @yetToImplement
Scenario: administrator should be able to create a local mount for a specific group
Given these users have been created with default attributes:
| username |
| user0 |
| user1 |
| Alice |
And group "newgroup" has been created
And user "user0" has been added to group "newgroup"
And the administrator has browsed to the admin storage settings page
Expand All @@ -74,15 +74,15 @@ Feature: admin storage settings
When the administrator adds group "newgroup" as the applicable group for the last local storage mount using the webUI
And the user re-logs in as "user0" using the webUI
Then folder "local_storage1" should be listed on the webUI
And the user re-logs in as "user1" using the webUI
And the user re-logs in as "Alice" using the webUI
And folder "local_storage1" should not be listed on the webUI

@skip @yetToImplement
Scenario: removing group from applicable group of a local mount
Given these users have been created with default attributes:
| username |
| user0 |
| user1 |
| Alice |
And group "newgroup" has been created
And user "user0" has been added to group "newgroup"
And the administrator has browsed to the admin storage settings page
Expand All @@ -92,7 +92,7 @@ Feature: admin storage settings
When the administrator removes group "newgroup" from the applicable group for the last local storage mount using the webUI
And the user re-logs in as "user0" using the webUI
Then folder "local_storage1" should be listed on the webUI
And the user re-logs in as "user1" using the webUI
And the user re-logs in as "Alice" using the webUI
And folder "local_storage1" should be listed on the webUI

@skip @yetToImplement
Expand Down Expand Up @@ -136,14 +136,14 @@ Feature: admin storage settings
Given these users have been created with default attributes:
| username |
| user0 |
| user1 |
| Alice |
And the administrator has browsed to the admin storage settings page
And the administrator has enabled the external storage
And the administrator has created the local storage mount "local_storage1" from the admin storage settings page
And the administrator has added user "user0" as the applicable user for the last local storage mount from the admin storage settings page
And the administrator has added user "user1" as the applicable user for the last local storage mount from the admin storage settings page
And the administrator has added user "Alice" as the applicable user for the last local storage mount from the admin storage settings page
And user "user0" has been deleted
When the administrator reloads the current page of the webUI
Then the last created local storage mount should be listed on the webUI
And the user re-logs in as "user1" using the webUI
And the user re-logs in as "Alice" using the webUI
And folder "local_storage1" should be listed on the webUI
10 changes: 5 additions & 5 deletions tests/acceptance/features/webUIComments/comments.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ Feature: Add, delete and edit comments in files and folders
Background:
Given these users have been created with default attributes:
| username |
| user1 |
| user2 |
And user "user1" has logged in using the webUI
| Alice |
| Brian |
And user "Alice" has logged in using the webUI
And the user has browsed to the files page

@skip @yetToImplement
Expand All @@ -30,8 +30,8 @@ Feature: Add, delete and edit comments in files and folders
When the user renames file "lorem.txt" to "new-lorem.txt" using the webUI
And the user browses directly to display the "comments" details of file "new-lorem.txt" in folder "/"
And the user comments with content "<comment>" using the webUI
And the user shares file "new-lorem.txt" with user "User Two" using the webUI
And the user re-logs in as "user2" using the webUI
And the user shares file "new-lorem.txt" with user "Brian Murphy" using the webUI
And the user re-logs in as "Brian" using the webUI
And the user browses directly to display the "comments" details of file "new-lorem.txt" in folder "/"
Then the comment "<comment>" should be listed in the comments tab in details dialog
Examples:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Feature: create files
So that I can organize my data

Background:
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI
Given user "Alice" has been created with default attributes
And user "Alice" has logged in using the webUI
And the user has browsed to the files page

@ocisSmokeTest
Expand All @@ -28,7 +28,7 @@ Feature: create files

@issue-2882
Scenario: redirect to subfolder after closing the text editor
Given user "user1" has created folder "parent-folder"
Given user "Alice" has created folder "parent-folder"
When the user reloads the current page of the webUI
And the user opens folder "parent-folder" using the webUI
Then there should be no resources listed on the webUI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Feature: create folder
So that I can organise my data structure

Background:
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI
Given user "Alice" has been created with default attributes
And user "Alice" has logged in using the webUI
And the user has browsed to the files page


Expand Down Expand Up @@ -36,7 +36,7 @@ Feature: create folder
Then folder "sub-folder" should be listed on the webUI
When the user reloads the current page of the webUI
Then folder "sub-folder" should be listed on the webUI
And as "user1" folder "sub-folder" should exist inside folder <folder>
And as "Alice" folder "sub-folder" should exist inside folder <folder>
Examples:
| folder |
#| "?&%0" |
Expand All @@ -52,7 +52,7 @@ Feature: create folder
Then folder "sub-folder" should be listed on the webUI
When the user reloads the current page of the webUI
Then folder "sub-folder" should be listed on the webUI
And as "user1" folder "sub-folder" should exist inside folder <folder>
And as "Alice" folder "sub-folder" should exist inside folder <folder>
Examples:
| folder |
| "0" |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Feature: create folders
So that I can organise my data structure

Background:
Given user "user1" has been created with default attributes
And user "user1" has logged in using the webUI
Given user "Alice" has been created with default attributes
And user "Alice" has logged in using the webUI
And the user has browsed to the files page

@smokeTest @ocisSmokeTest
Expand Down
Loading

0 comments on commit 6200605

Please sign in to comment.