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
Léo-Paul Géneau
gitlab-ce
Commits
3f315370
Commit
3f315370
authored
Oct 13, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lets try with trigger('click')
parent
800d7fd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/merge_requests/mini_pipeline_graph_spec.rb
spec/features/merge_requests/mini_pipeline_graph_spec.rb
+1
-1
spec/features/projects/commit/mini_pipeline_graph_spec.rb
spec/features/projects/commit/mini_pipeline_graph_spec.rb
+1
-1
No files found.
spec/features/merge_requests/mini_pipeline_graph_spec.rb
View file @
3f315370
...
@@ -83,7 +83,7 @@ feature 'Mini Pipeline Graph', :js do
...
@@ -83,7 +83,7 @@ feature 'Mini Pipeline Graph', :js do
end
end
before
do
before
do
toggle
.
click
toggle
.
trigger
(
'click'
)
wait_for_requests
wait_for_requests
end
end
...
...
spec/features/projects/commit/mini_pipeline_graph_spec.rb
View file @
3f315370
...
@@ -18,7 +18,7 @@ feature 'Mini Pipeline Graph in Commit View', :js do
...
@@ -18,7 +18,7 @@ feature 'Mini Pipeline Graph in Commit View', :js do
expect
(
page
).
to
have_selector
(
'.mr-widget-pipeline-graph'
)
expect
(
page
).
to
have_selector
(
'.mr-widget-pipeline-graph'
)
first
(
'.mini-pipeline-graph-dropdown-toggle'
).
click
first
(
'.mini-pipeline-graph-dropdown-toggle'
).
trigger
(
'click'
)
wait_for_requests
wait_for_requests
...
...
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