Merge pull request #21940 from nextcloud/fix/14541/fix-fragile-acceptance-tests-part1

Revert "Disable fragile tests for now" partially
pull/21987/head
Morris Jobke 5 years ago committed by GitHub
commit 34c027e443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/acceptance/features/login.feature
  2. 26
      tests/acceptance/features/users.feature

@ -47,7 +47,7 @@ Feature: login
And I see that the list of users contains the user unknownUser
And I act as John
And I log in with user unknownUser and password 123456acb
# Then I see that the current page is the Files app
Then I see that the current page is the Files app
Scenario: log out
Given I am logged in

@ -28,9 +28,9 @@ Feature: users
And I open the User settings
And I see that the list of users contains the user user0
And I open the actions menu for the user user0
# And I see that the "Delete user" action in the user0 actions menu is shown
# When I click the "Delete user" action in the user0 actions menu
# Then I see that the list of users does not contains the user user0
And I see that the "Delete user" action in the user0 actions menu is shown
When I click the "Delete user" action in the user0 actions menu
Then I see that the list of users does not contains the user user0
Scenario: disable a user
Given I act as Jane
@ -38,11 +38,11 @@ Feature: users
And I open the User settings
And I see that the list of users contains the user user0
And I open the actions menu for the user user0
# And I see that the "Disable user" action in the user0 actions menu is shown
# When I click the "Disable user" action in the user0 actions menu
# Then I see that the list of users does not contains the user user0
# When I open the "Disabled users" section
# Then I see that the list of users contains the user user0
And I see that the "Disable user" action in the user0 actions menu is shown
When I click the "Disable user" action in the user0 actions menu
Then I see that the list of users does not contains the user user0
When I open the "Disabled users" section
Then I see that the list of users contains the user user0
Scenario: users navigation without disabled users
Given I act as Jane
@ -51,12 +51,12 @@ Feature: users
And I open the "Disabled users" section
And I see that the list of users contains the user disabledUser
And I open the actions menu for the user disabledUser
# And I see that the "Enable user" action in the disabledUser actions menu is shown
# When I click the "Enable user" action in the disabledUser actions menu
# Then I see that the section "Disabled users" is not shown
And I see that the "Enable user" action in the disabledUser actions menu is shown
When I click the "Enable user" action in the disabledUser actions menu
Then I see that the section "Disabled users" is not shown
# check again after reloading the settings
# When I open the User settings
# Then I see that the section "Disabled users" is not shown
When I open the User settings
Then I see that the section "Disabled users" is not shown
Scenario: assign user to a group
Given I act as Jane

Loading…
Cancel
Save