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
Boxiang Sun
gitlab-ce
Commits
e138646a
Commit
e138646a
authored
Dec 14, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken tests
parent
281237d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/projects/pipelines/pipeline_spec.rb
spec/features/projects/pipelines/pipeline_spec.rb
+3
-3
No files found.
spec/features/projects/pipelines/pipeline_spec.rb
View file @
e138646a
...
...
@@ -40,7 +40,7 @@ describe "Pipelines", feature: true, js: true do
context
'pipeline graph'
do
it
'shows a running icon and a cancel action for the running build'
do
page
.
within
(
'.stage-column:nth-child(
2
) .build:first-child'
)
do
page
.
within
(
'.stage-column:nth-child(
3
) .build:first-child'
)
do
expect
(
page
).
to
have_selector
(
'.ci-status-icon-running'
)
expect
(
page
).
to
have_content
(
'deploy'
)
expect
(
page
).
to
have_selector
(
'.ci-action-icon-container .fa-ban'
)
...
...
@@ -48,7 +48,7 @@ describe "Pipelines", feature: true, js: true do
end
it
'shows the success icon and a retry action for the successfull build'
do
page
.
within
(
'.stage-column:nth-child(
3)
'
)
do
page
.
within
(
'.stage-column:nth-child(
2) .build:first-child
'
)
do
expect
(
page
).
to
have_selector
(
'.ci-status-icon-success'
)
expect
(
page
).
to
have_content
(
'build'
)
expect
(
page
).
to
have_selector
(
'.ci-action-icon-container .fa-refresh'
)
...
...
@@ -64,7 +64,7 @@ describe "Pipelines", feature: true, js: true do
end
it
'shows the skipped icon and a play action for the manual build'
do
page
.
within
(
'.stage-column:nth-child(
2
) .build:nth-child(2)'
)
do
page
.
within
(
'.stage-column:nth-child(
3
) .build:nth-child(2)'
)
do
expect
(
page
).
to
have_selector
(
'.ci-status-icon-skipped'
)
expect
(
page
).
to
have_content
(
'manual'
)
expect
(
page
).
to
have_selector
(
'.ci-action-icon-container .ci-play-icon'
)
...
...
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