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
abed2c1a
Commit
abed2c1a
authored
Dec 27, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove data attribute test since endpoint is in Vue state for stage component
parent
5e558af7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
spec/features/projects/pipelines/pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+1
-11
No files found.
spec/features/projects/pipelines/pipelines_spec.rb
View file @
abed2c1a
...
...
@@ -276,29 +276,19 @@ describe 'Pipelines', :feature, :js do
before
do
visit
namespace_project_pipelines_path
(
project
.
namespace
,
project
)
end
it
'should render a mini pipeline graph'
do
endpoint
=
stage_namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
,
stage:
build
.
name
)
expect
(
page
).
to
have_selector
(
'.mini-pipeline-graph'
)
expect
(
page
).
to
have_selector
(
".js-builds-dropdown-button[data-stage-endpoint='
#{
endpoint
}
']"
)
wait_for_vue_resource
end
context
'when clicking a graph stage'
do
it
'should open a dropdown'
do
find
(
'.js-builds-dropdown-button'
).
trigger
(
'click'
)
wait_for_ajax
expect
(
page
).
to
have_link
build
.
name
end
it
'should be possible to retry the failed build'
do
find
(
'.js-builds-dropdown-button'
).
trigger
(
'click'
)
wait_for_ajax
find
(
'a.ci-action-icon-container'
).
trigger
(
'click'
)
expect
(
page
).
not_to
have_content
(
'Cancel running'
)
end
...
...
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