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
aa74a704
Commit
aa74a704
authored
Dec 08, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first manual build test passing
parent
473addf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
pipeline_actions.js.es6
...s/javascripts/vue_pipelines_index/pipeline_actions.js.es6
+1
-1
pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+4
-8
No files found.
app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6
View file @
aa74a704
...
...
@@ -20,8 +20,8 @@
v-if='pipeline.details.manual_actions.length > 0'
class="dropdown-toggle btn btn-default"
data-toggle="dropdown"
type="button"
title="Manual build"
alt="Manual Build"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" class="icon-play">
<path
...
...
spec/features/projects/pipelines/pipelines_spec.rb
View file @
aa74a704
...
...
@@ -117,23 +117,18 @@ describe "Pipelines", feature: true, js: true do
before
do
visit
namespace_project_pipelines_path
(
project
.
namespace
,
project
)
end
it
do
wait_for_vue_resource
expect
(
page
).
to
have_link
(
'Manual build'
)
end
it
{
expect
(
page
).
to
have_selector
(
'.dropdown-toggle.btn.btn-default .icon-play'
)
}
context
'when playing'
do
before
do
wait_for_vue_resource
click_link
(
'Manual build'
)
end
it
do
wait_for_vue_resource
expect
(
manual
.
reload
).
to
be_pending
end
it
{
expect
(
manual
.
reload
).
to
be_pending
}
end
end
...
...
@@ -150,6 +145,7 @@ describe "Pipelines", feature: true, js: true do
before
do
visit
namespace_project_pipelines_path
(
project
.
namespace
,
project
)
wait_for_vue_resource
end
it
'is cancelable'
do
...
...
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