summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-10-26 15:31:56 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-10-29 23:36:58 +0100
commitbfc8b0bc15c2c8b0e0ba1a6534715289c40415bc (patch)
tree8977804201b04280ade3e6b8d2257282cb097d1e /tests/acceptance/features
parentfe471da3169f055738b1326baffdbfb1c72c3d2e (diff)
downloadnextcloud-server-bfc8b0bc15c2c8b0e0ba1a6534715289c40415bc.tar.gz
nextcloud-server-bfc8b0bc15c2c8b0e0ba1a6534715289c40415bc.zip
chore(cypress): Migrate access-level tests from Behat to Cypress as this are UI tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r--tests/acceptance/features/access-levels.feature23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/acceptance/features/access-levels.feature b/tests/acceptance/features/access-levels.feature
deleted file mode 100644
index de34a17baea..00000000000
--- a/tests/acceptance/features/access-levels.feature
+++ /dev/null
@@ -1,23 +0,0 @@
-Feature: access-levels
-
- Scenario: regular users cannot see admin-level items in the Settings menu
- Given I am logged in
- When I open the Settings menu
- Then I see that the Settings menu is shown
- And I see that the "Settings" item in the Settings menu is shown
- And I see that the "Users" item in the Settings menu is not shown
- And I see that the "Help" item in the Settings menu is shown
- And I see that the "Log out" item in the Settings menu is shown
-
- Scenario: regular users cannot see admin-level items on the Settings page
- Given I am logged in
- When I visit the settings page
- Then I see that the "Personal info" entry in the settings panel is shown
- And I see that the "Personal" settings panel is not shown
- And I see that the "Administration" settings panel is not shown
-
- Scenario: admin users can see admin-level items on the Settings page
- Given I am logged in as the admin
- When I visit the admin settings page
- Then I see that the "Personal" settings panel is shown
- And I see that the "Administration" settings panel is shown