test(app): verify the artifact gallery inside the real app run detail
This commit is contained in:
@@ -130,6 +130,14 @@ function detail(id, live, canceled = false) {
|
||||
omitted: 0,
|
||||
diagnostic: '',
|
||||
},
|
||||
artifacts: [
|
||||
{
|
||||
name: 'build-report.html',
|
||||
size_bytes: 2048,
|
||||
content_type: 'text/html; charset=utf-8',
|
||||
url: '/artifacts/1/3/build-report.html',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
stage: 'test',
|
||||
@@ -137,6 +145,14 @@ function detail(id, live, canceled = false) {
|
||||
status: status === 'failed' ? 'failed' : 'completed',
|
||||
outcome: status === 'failed' ? 'failure' : 'success',
|
||||
target: status === 'failed' ? '#failure' : '#success',
|
||||
artifacts: [
|
||||
{
|
||||
name: 'result.csv',
|
||||
size_bytes: 4096,
|
||||
content_type: 'text/csv',
|
||||
url: '/artifacts/1/4/result.csv',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user