BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
container_registry_spec.rb
spec/features/container_registry_spec.rb
+1
-1
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
...
@@ -47,7 +47,7 @@ describe "Container Registry", :js do
scenario
'user removes a specific tag from container repository'
do
scenario
'user removes a specific tag from container repository'
do
visit_container_registry
visit_container_registry
find
(
'.js-toggle-repo'
).
trigger
(
'click'
)
find
(
'.js-toggle-repo'
).
click
wait_for_requests
wait_for_requests
expect_any_instance_of
(
ContainerRegistry
::
Tag
)
expect_any_instance_of
(
ContainerRegistry
::
Tag
)
...
...
spec/support/helpers/merge_request_diff_helpers.rb
View file @
e0a68d45
...
@@ -2,7 +2,7 @@ module MergeRequestDiffHelpers
...
@@ -2,7 +2,7 @@ module MergeRequestDiffHelpers
def
click_diff_line
(
line_holder
,
diff_side
=
nil
)
def
click_diff_line
(
line_holder
,
diff_side
=
nil
)
line
=
get_line_components
(
line_holder
,
diff_side
)
line
=
get_line_components
(
line_holder
,
diff_side
)
line
[
:content
].
hover
line
[
:content
].
hover
line
[
:num
].
find
(
'.add-diff-note'
).
trigger
(
'click'
)
line
[
:num
].
find
(
'.add-diff-note'
,
visible:
false
).
send_keys
(
:return
)
end
end
def
get_line_components
(
line_holder
,
diff_side
=
nil
)
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