summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/users.feature
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-07-18 23:10:35 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-20 09:51:23 +0200
commit37e0f85ad0a9f488e80e0a619c03752ea65ad29c (patch)
tree1a8062cd181afcad46a4ae702d408c384f8bb858 /tests/acceptance/features/users.feature
parentc17b191dfb2c48acfc7f0b4d59d266eb3658dbf9 (diff)
downloadnextcloud-server-37e0f85ad0a9f488e80e0a619c03752ea65ad29c.tar.gz
nextcloud-server-37e0f85ad0a9f488e80e0a619c03752ea65ad29c.zip
Adds tests for testing removing an empty group
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'tests/acceptance/features/users.feature')
-rw-r--r--tests/acceptance/features/users.feature15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/acceptance/features/users.feature b/tests/acceptance/features/users.feature
index 841c6a4ac09..a49b00949d9 100644
--- a/tests/acceptance/features/users.feature
+++ b/tests/acceptance/features/users.feature
@@ -56,6 +56,21 @@ Feature: users
# When I click the "Yes" button of the confirmation dialog
# Then I see that the section Group1 is not shown
+ Scenario: delete an empty group
+ Given I act as Jane
+ And I am logged in as the admin
+ And I open the User settings
+ # disabled because we need the TAB patch:
+ # https://github.com/minkphp/MinkSelenium2Driver/pull/244
+ # And I assign the user user0 to the group Group1
+ # And I see that the section Group1 is shown
+ # And I withdraw the user user0 from the group Group1
+ # And I see that the section Group1 does not have a count
+ # And I click the "icon-delete" button on the Group1 section
+ # And I see that the confirmation dialog is shown
+ # When I click the "Yes" button of the confirmation dialog
+ # Then I see that the section Group1 is not shown
+
Scenario: change columns visibility
Given I act as Jane
And I am logged in as the admin