Commit 9a020147 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Add when cancelling for external jobs, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7508#note_18622182
parent 578ced29
...@@ -97,6 +97,13 @@ describe "Pipelines" do ...@@ -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
......
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