Skip to content
代码片段 群组 项目
提交 dd93640b 编辑于 作者: Miguel Rincon's avatar Miguel Rincon
浏览文件

Use CI Icon query fragment in artifacts table

上级 4a71a386
No related branches found
No related tags found
无相关合并请求
#import "~/graphql_shared/fragments/ci_icon.fragment.graphql"
#import "~/graphql_shared/fragments/page_info.fragment.graphql" #import "~/graphql_shared/fragments/page_info.fragment.graphql"
query getJobArtifacts( query getJobArtifacts(
...@@ -21,10 +22,7 @@ query getJobArtifacts( ...@@ -21,10 +22,7 @@ query getJobArtifacts(
name name
webPath webPath
detailedStatus { detailedStatus {
id ...CiIcon
group
icon
label
} }
pipeline { pipeline {
id id
......
...@@ -205,7 +205,8 @@ describe('JobArtifactsTable component', () => { ...@@ -205,7 +205,8 @@ describe('JobArtifactsTable component', () => {
it('shows the job status as an icon for a successful job', () => { it('shows the job status as an icon for a successful job', () => {
expect(findCiIcon().props()).toMatchObject({ expect(findCiIcon().props()).toMatchObject({
status: { status: {
group: 'success', text: 'Passed',
icon: 'status_success',
}, },
showStatusText: false, showStatusText: false,
}); });
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册