Commit aeaa0261 authored by Shinya Maeda's avatar Shinya Maeda

Add :js tag for a feature spec

parent af2c51d7
...@@ -567,7 +567,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do ...@@ -567,7 +567,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
visit project_job_path(project, job) visit project_job_path(project, job)
end end
it 'shows delayed job' do it 'shows delayed job', :js do
expect(page).to have_content(job.detailed_status(user).illustration[:title]) expect(page).to have_content(job.detailed_status(user).illustration[:title])
expect(page).to have_content('This is a scheduled to run in') expect(page).to have_content('This is a scheduled to run in')
expect(page).to have_content("This job will automatically run after it's timer finishes.") expect(page).to have_content("This job will automatically run after it's timer finishes.")
......
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