Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
55cf7c35
Unverified
Commit
55cf7c35
authored
6 years ago
by
Michael Weimann
Browse files
Options
Downloads
Patches
Plain Diff
Adds an acceptance test for the users settings navigation without disabled users
Signed-off-by:
Michael Weimann
<
mail@michael-weimann.eu
>
parent
d05c8157
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/acceptance/features/users.feature
+14
-0
14 additions, 0 deletions
tests/acceptance/features/users.feature
with
14 additions
and
0 deletions
tests/acceptance/features/users.feature
+
14
−
0
View file @
55cf7c35
...
@@ -43,6 +43,20 @@ Feature: users
...
@@ -43,6 +43,20 @@ Feature: users
When
I open the
"Disabled users"
section
When
I open the
"Disabled users"
section
Then
I see that the list of users contains the user user0
Then
I see that the list of users contains the user user0
Scenario
:
users navigation without disabled users
Given
I act as Jane
And
I am logged in as the admin
And
I open the User settings
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
# check again after reloading the settings
When
I open the User settings
Then
I see that the section
"Disabled users"
is not shown
Scenario
:
assign user to a group
Scenario
:
assign user to a group
Given
I act as Jane
Given
I act as Jane
And
I am logged in as the admin
And
I am logged in as the admin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment