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