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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
e0a68d45
Commit
e0a68d45
authored
Oct 09, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed click events
parent
f7837988
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/container_registry_spec.rb
spec/features/container_registry_spec.rb
+1
-1
spec/support/helpers/merge_request_diff_helpers.rb
spec/support/helpers/merge_request_diff_helpers.rb
+1
-1
No files found.
spec/features/container_registry_spec.rb
View file @
e0a68d45
...
...
@@ -47,7 +47,7 @@ describe "Container Registry", :js do
scenario
'user removes a specific tag from container repository'
do
visit_container_registry
find
(
'.js-toggle-repo'
).
trigger
(
'click'
)
find
(
'.js-toggle-repo'
).
click
wait_for_requests
expect_any_instance_of
(
ContainerRegistry
::
Tag
)
...
...
spec/support/helpers/merge_request_diff_helpers.rb
View file @
e0a68d45
...
...
@@ -2,7 +2,7 @@ module MergeRequestDiffHelpers
def
click_diff_line
(
line_holder
,
diff_side
=
nil
)
line
=
get_line_components
(
line_holder
,
diff_side
)
line
[
:content
].
hover
line
[
:num
].
find
(
'.add-diff-note'
).
trigger
(
'click'
)
line
[
:num
].
find
(
'.add-diff-note'
,
visible:
false
).
send_keys
(
:return
)
end
def
get_line_components
(
line_holder
,
diff_side
=
nil
)
...
...
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