summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-19 16:15:30 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-19 16:15:30 +0000
commit30cfcd5a93f705923c1715b6db95977490bdd39f (patch)
treeec5c2980203bea11ecaaaaab52c7a3896de6ce3b
parenta1f7b2bc50d3e8d2fbf00e7a721405d0c7057beb (diff)
downloadgitlab-ce-30cfcd5a93f705923c1715b6db95977490bdd39f.tar.gz
Update tests
-rw-r--r--spec/features/projects/jobs_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index e7e2e1531a7..6a243dba8ff 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -384,11 +384,10 @@ feature 'Jobs' do
expect(page).to have_link('Trigger this manual action')
end
- it 'plays manual action', :js do
+ it 'plays manual action and shows pending status', :js do
click_link 'Trigger this manual action'
wait_for_requests
- expect(page).to have_content('This job has not been triggered')
expect(page).to have_content('This job is stuck, because the project doesn\'t have any runners online assigned to it.')
expect(page).to have_content('pending')
end