Skip to content
Snippets Groups Projects
Commit 11bfc4b2 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix tests for job empty states for a failed build

parent 255f7386
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -465,8 +465,8 @@ feature 'Jobs' do
end
end
 
context 'when job is running but has no trace yet' do
let(:job) { create(:ci_build, :running, pipeline: pipeline) }
context 'when job is failed but has no trace' do
let(:job) { create(:ci_build, :failed, pipeline: pipeline) }
 
it 'renders empty state' do
visit project_job_path(project, job)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment