BigW Consortium Gitlab

Commit aa74a704 by Regis

first manual build test passing

parent 473addf1
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment