Merge pull request #25990 from nextcloud/do-not-try-to-add-an-existing-user-again-in-acceptance-tests

Do not try to add an existing user again in acceptance tests
This commit is contained in:
kesselb 2021-03-08 10:18:46 +01:00 committed by GitHub
commit 2ddf3c9df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -46,21 +46,17 @@ Feature: header
And I open the User settings
And I click the New user button
And I see that the new user form is shown
And I create user user1 with password 123456acb
And I see that the list of users contains the user user1
And I create user user2 with password 123456acb
And I see that the list of users contains the user user2
When I open the Contacts menu
Then I see that the Contacts menu is shown
And I see that the contact "user0" in the Contacts menu is shown
And I see that the contact "user1" in the Contacts menu is shown
And I see that the contact "user2" in the Contacts menu is shown
And I see that the contact "admin" in the Contacts menu is not shown
Scenario: search for other users in the contacts menu
Given I am logged in as the admin
And I open the User settings
And I click the New user button
And I see that the new user form is shown
And I create user user1 with password 123456acb
And I see that the list of users contains the user user1
And I open the Contacts menu
And I see that the Contacts menu is shown
And I see that the contact "user0" in the Contacts menu is shown