Add when cancelling for external jobs, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7508#note_18622182
This commit is contained in:
parent
578ced29f2
commit
9a0201473e
1 changed files with 7 additions and 0 deletions
|
@ -97,6 +97,13 @@ describe "Pipelines" do
|
||||||
it 'has pipeline running' do
|
it 'has pipeline running' do
|
||||||
expect(page).to have_selector('.ci-running')
|
expect(page).to have_selector('.ci-running')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'when canceling' do
|
||||||
|
before { click_link('Cancel') }
|
||||||
|
|
||||||
|
it { expect(page).not_to have_link('Cancel') }
|
||||||
|
it { expect(page).to have_selector('.ci-canceled') }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when failed' do
|
context 'when failed' do
|
||||||
|
|
Loading…
Reference in a new issue