Add when cancelling for external jobs, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7508#note_18622182
This commit is contained in:
Lin Jen-Shin 2016-11-18 23:16:51 +08:00
parent 578ced29f2
commit 9a0201473e

View file

@ -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