|
5 | 5 | >
|
6 | 6 | <div
|
7 | 7 | data-cy="debug-header"
|
8 |
| - class="flex grid items-center w-full overflow-hidden py-24px px-24px gap-y-2" |
| 8 | + class="flex w-full grid py-24px px-24px gap-y-2 items-center overflow-hidden" |
9 | 9 | >
|
10 | 10 | <ul
|
11 | 11 | data-cy="header-top"
|
12 |
| - class="flex flex-row items-center self-stretch gap-x-2 whitespace-nowrap" |
| 12 | + class="flex flex-row gap-x-2 items-center self-stretch whitespace-nowrap" |
13 | 13 | >
|
14 | 14 | <li
|
15 | 15 | v-if="debug?.commitInfo?.summary"
|
16 |
| - class="text-lg font-medium text-gray-900" |
| 16 | + class="font-medium text-lg text-gray-900" |
17 | 17 | data-cy="debug-test-summary"
|
18 | 18 | >
|
19 | 19 | {{ debug.commitInfo.summary }}
|
20 | 20 | </li>
|
21 | 21 | <li
|
22 | 22 | v-if="props.commitsAhead"
|
23 |
| - class="flex items-center h-6 text-sm border border-gray-100 rounded" |
| 23 | + class="border rounded flex border-gray-100 h-6 text-sm items-center" |
24 | 24 | >
|
25 | 25 | <span
|
26 | 26 | v-if="props.commitsAhead"
|
27 |
| - class="items-center px-2 mx-px font-normal text-orange-500" |
| 27 | + class="font-normal mx-px px-2 text-orange-500 items-center" |
28 | 28 | data-cy="debug-commitsAhead"
|
29 | 29 | >
|
30 | 30 | {{ t('debugPage.header.commitsAhead', props.commitsAhead) }}
|
31 | 31 | </span>
|
32 | 32 | </li>
|
33 |
| - <li class="text-lg text-gray-400 -mt-8px"> |
| 33 | + <li class="-mt-8px text-lg text-gray-400"> |
34 | 34 | .
|
35 | 35 | </li>
|
36 |
| - <li class="text-sm font-normal text-indigo-500"> |
| 36 | + <li class="font-normal text-sm text-indigo-500"> |
37 | 37 | <ExternalLink
|
38 | 38 | data-cy="debug-header-dashboard-link"
|
39 | 39 | :href="debug.url || '#'"
|
|
45 | 45 | </ul>
|
46 | 46 | <ul
|
47 | 47 | data-cy="metadata"
|
48 |
| - class="flex flex-wrap items-center text-sm font-normal text-gray-700 gap-x-2 whitespace-nowrap children:flex children:items-center" |
| 48 | + class="flex flex-wrap font-normal text-sm text-gray-700 gap-x-2 items-center whitespace-nowrap children:flex children:items-center" |
49 | 49 | >
|
50 | 50 | <li
|
51 |
| - class="flex flex-row items-center justify-center text-sm gap-x-2" |
| 51 | + class="flex flex-row text-sm gap-x-2 items-center justify-center" |
52 | 52 | >
|
53 | 53 | <div
|
54 | 54 | v-if="(debug.runNumber && debug.status)"
|
55 |
| - class="flex flex-row items-center justify-center h-6 px-2 font-semibold border border-gray-200 rounded bg-gray-50 gap-x-1" |
| 55 | + class="border rounded flex flex-row font-semibold bg-gray-50 border-gray-200 h-6 px-2 gap-x-1 items-center justify-center" |
56 | 56 | :data-cy="`debug-runNumber-${debug.status}`"
|
57 | 57 | >
|
58 | 58 | <SolidStatusIcon
|
@@ -116,8 +116,7 @@ import DebugResults from './DebugResults.vue'
|
116 | 116 | import ExternalLink from '@cy/gql-components/ExternalLink.vue'
|
117 | 117 | import type { DebugPageFragment, CloudRunStatus } from '../generated/graphql'
|
118 | 118 | import { IconTimeStopwatch } from '@cypress-design/vue-icon'
|
119 |
| -import { SolidStatusIcon } from '@cypress-design/vue-statusicon' |
120 |
| -import type { statusTypes } from '@cypress-design/vue-statusicon/dist/StatusIcon/constants' |
| 119 | +import { SolidStatusIcon, StatusType } from '@cypress-design/vue-statusicon' |
121 | 120 | import CommitIcon from '~icons/cy/commit_x14'
|
122 | 121 | import { gql } from '@urql/core'
|
123 | 122 | import { dayjs } from '../runs/utils/day.js'
|
@@ -153,7 +152,7 @@ const props = defineProps<{
|
153 | 152 |
|
154 | 153 | const debug = computed(() => props.gql)
|
155 | 154 |
|
156 |
| -const ICON_MAP: Record<CloudRunStatus, { textColor: string, type: statusTypes }> = { |
| 155 | +const ICON_MAP: Record<CloudRunStatus, { textColor: string, type: StatusType }> = { |
157 | 156 | PASSED: { textColor: 'text-jade-400', type: 'passed' },
|
158 | 157 | FAILED: { textColor: 'text-red-400', type: 'failed' },
|
159 | 158 | CANCELLED: { textColor: 'text-gray-500', type: 'cancelled' },
|
|
0 commit comments