Commit 6d0c9c94 authored by Matija Čupić's avatar Matija Čupić

Add missing trace artifacts to jobs in spec

parent 2bf83455
...@@ -37,7 +37,7 @@ describe 'User browses a job', :js do ...@@ -37,7 +37,7 @@ describe 'User browses a job', :js do
end end
context 'with a failed job' do context 'with a failed job' do
let!(:build) { create(:ci_build, :failed, pipeline: pipeline) } let!(:build) { create(:ci_build, :failed, :trace_artifact, pipeline: pipeline) }
it 'displays the failure reason' do it 'displays the failure reason' do
within('.builds-container') do within('.builds-container') do
...@@ -48,7 +48,7 @@ describe 'User browses a job', :js do ...@@ -48,7 +48,7 @@ describe 'User browses a job', :js do
end end
context 'when a failed job has been retried' do context 'when a failed job has been retried' do
let!(:build) { create(:ci_build, :failed, :retried, pipeline: pipeline) } let!(:build) { create(:ci_build, :failed, :retried, :trace_artifact, pipeline: pipeline) }
it 'displays the failure reason and retried label' do it 'displays the failure reason and retried label' do
within('.builds-container') do within('.builds-container') 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