Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
09e66694
Commit
09e66694
authored
Nov 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken click actions
parent
ba7551cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/ee/support/shared_examples/features/protected_branches_access_control.rb
...ed_examples/features/protected_branches_access_control.rb
+3
-3
No files found.
spec/ee/support/shared_examples/features/protected_branches_access_control.rb
View file @
09e66694
...
...
@@ -96,7 +96,7 @@ shared_examples "protected branches > access control > EE" do
# Update Protected Branch
within
(
".protected-branches-list"
)
do
find
(
".js-allowed-to-
#{
git_operation
}
"
).
trigger
(
:click
)
find
(
".js-allowed-to-
#{
git_operation
}
"
).
click
find
(
".dropdown-input-field"
).
set
(
users
.
last
.
name
)
# Find a user that is not loaded
wait_for_requests
...
...
@@ -107,12 +107,12 @@ shared_examples "protected branches > access control > EE" do
end
click_on
users
.
last
.
name
find
(
".js-allowed-to-
#{
git_operation
}
"
).
trigger
(
:click
)
# close
find
(
".js-allowed-to-
#{
git_operation
}
"
).
click
# close
end
wait_for_requests
# Verify the user is appended in the dropdown
find
(
".protected-branches-list .js-allowed-to-
#{
git_operation
}
"
).
trigger
(
:click
)
find
(
".protected-branches-list .js-allowed-to-
#{
git_operation
}
"
).
click
wait_for_requests
expect
(
page
).
to
have_selector
'.dropdown-content .is-active'
,
text:
users
.
last
.
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment