@@ -5,6 +5,7 @@ import { ImageChipCell } from '@Shared/Components/ImageChipCell'
5
5
import { CommitChipCell } from '@Shared/Components/CommitChipCell'
6
6
import { ReactComponent as ICSuccess } from '@Icons/ic-success.svg'
7
7
import { ReactComponent as ICPulsateStatus } from '@Icons/ic-pulsate-status.svg'
8
+ import { ReactComponent as ICAborted } from '@Icons/ic-aborted.svg'
8
9
import { ReactComponent as ICArrowRight } from '@Icons/ic-arrow-right.svg'
9
10
import { ToastManager , ToastVariantType } from '@Shared/Services'
10
11
import { getDeploymentStageTitle } from '@Pages/Applications'
@@ -31,10 +32,11 @@ import {
31
32
PROGRESSING_STATUS ,
32
33
EXECUTION_FINISHED_TEXT_MAP ,
33
34
} from './constants'
34
- import { DeploymentStageType } from '../../constants'
35
+ import { ComponentSizeType , DeploymentStageType } from '../../constants'
35
36
import { GitTriggers } from '../../types'
36
37
import { ConfirmationModal , ConfirmationModalVariantType } from '../ConfirmationModal'
37
38
import WorkerStatus from './WorkerStatus'
39
+ import { Button , ButtonStyleType , ButtonVariantType } from '../Button'
38
40
39
41
const Finished = memo ( ( { status, finishedOn, artifact, type, executionInfo } : FinishedType ) : JSX . Element => {
40
42
const finishedOnTime = executionInfo ?. finishedOn || finishedOn
@@ -146,13 +148,15 @@ const ProgressingStatus = memo(({ stage, type, label = 'In progress' }: Progress
146
148
{ abort && (
147
149
< >
148
150
< span className = "cn-5 fs-13 fw-4 lh-20" > /</ span >
149
- < button
150
- type = "button"
151
- className = "flex dc__transparent cr-5 fs-13 fw-6 lh-20"
151
+ < Button
152
+ dataTestId = "abort-execution-button"
152
153
onClick = { toggleAbortConfiguration }
153
- >
154
- Abort
155
- </ button >
154
+ startIcon = { < ICAborted /> }
155
+ text = "Abort"
156
+ variant = { ButtonVariantType . text }
157
+ style = { ButtonStyleType . negative }
158
+ size = { ComponentSizeType . small }
159
+ />
156
160
</ >
157
161
) }
158
162
</ div >
@@ -223,7 +227,7 @@ const CurrentStatus = memo(
223
227
type = { type }
224
228
{ ...( ! executionInfo . executionStartedOn
225
229
? {
226
- label : 'Waiting To Start ' ,
230
+ label : 'Waiting to start ' ,
227
231
}
228
232
: { } ) }
229
233
/>
0 commit comments