From: Morris Jobke Date: Wed, 6 Mar 2019 08:56:29 +0000 (+0100) Subject: Revert "Disable fragile tests for now" X-Git-Tag: v20.0.0beta1~179^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5cd5d3c55bd01fbf620293c087feb62661f32382;p=nextcloud-server.git Revert "Disable fragile tests for now" This reverts commit 40e04c83914e960b5aff739900d887f0e7a44d63. Signed-off-by: Morris Jobke --- diff --git a/tests/acceptance/features/login.feature b/tests/acceptance/features/login.feature index 8d5bacb18c0..047d7398d6c 100644 --- a/tests/acceptance/features/login.feature +++ b/tests/acceptance/features/login.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 diff --git a/tests/acceptance/features/users.feature b/tests/acceptance/features/users.feature index c4cfa3b69bf..2b6597b7283 100644 --- a/tests/acceptance/features/users.feature +++ b/tests/acceptance/features/users.feature @@ -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