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
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
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