-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(frontend): stop a test run (#2295)
- Loading branch information
Showing
19 changed files
with
190 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
web/src/components/RunEvents/TraceHeader/FailedTraceHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {Typography} from 'antd'; | ||
import * as S from '../RunEvents.styled'; | ||
|
||
const FailedTraceHeader = () => ( | ||
<> | ||
<S.ErrorIcon /> | ||
<Typography.Title level={2} type="secondary"> | ||
Trace Fetch Failed | ||
</Typography.Title> | ||
<S.Paragraph type="secondary"> | ||
We prepared the breakdown of diagnostic steps and tips to help identify the source of the issue: | ||
</S.Paragraph> | ||
</> | ||
); | ||
|
||
export default FailedTraceHeader; |
16 changes: 16 additions & 0 deletions
16
web/src/components/RunEvents/TraceHeader/FailedTriggerHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import {Typography} from 'antd'; | ||
import * as S from '../RunEvents.styled'; | ||
|
||
const FailedTriggerHeader = () => ( | ||
<> | ||
<S.ErrorIcon /> | ||
<Typography.Title level={2} type="secondary"> | ||
Test Trigger Failed | ||
</Typography.Title> | ||
<S.Paragraph type="secondary"> | ||
The test failed in the Trigger stage, review the Trigger tab to see the breakdown of diagnostic steps. | ||
</S.Paragraph> | ||
</> | ||
); | ||
|
||
export default FailedTriggerHeader; |
20 changes: 20 additions & 0 deletions
20
web/src/components/RunEvents/TraceHeader/LoadingHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import {Typography} from 'antd'; | ||
import {TRACE_DOCUMENTATION_URL} from 'constants/Common.constants'; | ||
import * as S from '../RunEvents.styled'; | ||
|
||
const LoadingHeader = () => ( | ||
<> | ||
<S.LoadingIcon /> | ||
<Typography.Title level={3} type="secondary"> | ||
We are working to gather the trace associated with this test run | ||
</Typography.Title> | ||
<S.Paragraph type="secondary"> | ||
Want to know more about traces? Head to the official{' '} | ||
<S.Link href={TRACE_DOCUMENTATION_URL} target="_blank"> | ||
Open Telemetry Documentation | ||
</S.Link> | ||
</S.Paragraph> | ||
</> | ||
); | ||
|
||
export default LoadingHeader; |
14 changes: 14 additions & 0 deletions
14
web/src/components/RunEvents/TraceHeader/StoppedHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import {Typography} from 'antd'; | ||
import * as S from '../RunEvents.styled'; | ||
|
||
const StoppedHeader = () => ( | ||
<> | ||
<S.InfoIcon $isLarge /> | ||
<Typography.Title level={2} type="secondary"> | ||
Test Run Stopped | ||
</Typography.Title> | ||
<S.Paragraph type="secondary">The test run was stopped by the user and no trace was detected.</S.Paragraph> | ||
</> | ||
); | ||
|
||
export default StoppedHeader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.