@allurereport/web-awesome 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc.js +46 -0
- package/.eslintrc.cjs +15 -0
- package/README.md +27 -0
- package/dist/multi/141.app-b6362ca0.js +1 -0
- package/dist/multi/222.app-b6362ca0.js +1 -0
- package/dist/multi/335.app-b6362ca0.js +1 -0
- package/dist/multi/34.app-b6362ca0.js +1 -0
- package/dist/multi/349.app-b6362ca0.js +1 -0
- package/dist/multi/378.app-b6362ca0.js +1 -0
- package/dist/multi/406.app-b6362ca0.js +1 -0
- package/dist/multi/476.app-b6362ca0.js +1 -0
- package/dist/multi/53.app-b6362ca0.js +1 -0
- package/dist/multi/584.app-b6362ca0.js +1 -0
- package/dist/multi/690.app-b6362ca0.js +1 -0
- package/dist/multi/747.app-b6362ca0.js +1 -0
- package/dist/multi/767.app-b6362ca0.js +1 -0
- package/dist/multi/816.app-b6362ca0.js +1 -0
- package/dist/multi/83.app-b6362ca0.js +1 -0
- package/dist/multi/873.app-b6362ca0.js +1 -0
- package/dist/multi/920.app-b6362ca0.js +1 -0
- package/dist/multi/991.app-b6362ca0.js +1 -0
- package/dist/multi/JetBrainsMono_vf-9e9649b6..woff2 +0 -0
- package/dist/multi/JetBrainsMono_vf-b9a9c326..woff +0 -0
- package/dist/multi/app-b6362ca0.js +2 -0
- package/dist/multi/app-b6362ca0.js.LICENSE.txt +16 -0
- package/dist/multi/manifest.json +26 -0
- package/dist/multi/pt-root-ui_vf-22fe60ca..woff +0 -0
- package/dist/multi/pt-root-ui_vf-9d251e8b..woff2 +0 -0
- package/dist/multi/styles-b6362ca0.css +363 -0
- package/dist/single/app-57ae0a60.js +2 -0
- package/dist/single/app-57ae0a60.js.LICENSE.txt +16 -0
- package/dist/single/manifest.json +3 -0
- package/package.json +93 -0
- package/postcss.config.js +5 -0
- package/src/assets/fonts/JetBrainsMono_vf.woff +0 -0
- package/src/assets/fonts/JetBrainsMono_vf.woff2 +0 -0
- package/src/assets/fonts/pt-root-ui_vf.woff +0 -0
- package/src/assets/fonts/pt-root-ui_vf.woff2 +0 -0
- package/src/assets/scss/_common.scss +134 -0
- package/src/assets/scss/code.css +71 -0
- package/src/assets/scss/day.scss +51 -0
- package/src/assets/scss/fonts.scss +21 -0
- package/src/assets/scss/index.scss +9 -0
- package/src/assets/scss/mixins.scss +26 -0
- package/src/assets/scss/night.scss +61 -0
- package/src/assets/scss/palette.scss +393 -0
- package/src/assets/scss/theme.scss +117 -0
- package/src/assets/scss/typography.scss +218 -0
- package/src/assets/scss/vars.scss +8 -0
- package/src/assets/svg/arrows-chevron-down.svg +5 -0
- package/src/assets/svg/github.svg +5 -0
- package/src/assets/svg/line-alerts-notification-box.svg +3 -0
- package/src/assets/svg/line-arrows-chevron-down-double.svg +3 -0
- package/src/assets/svg/line-arrows-chevron-down.svg +3 -0
- package/src/assets/svg/line-arrows-chevron-right.svg +3 -0
- package/src/assets/svg/line-arrows-chevron-up-double.svg +3 -0
- package/src/assets/svg/line-arrows-chevron-up.svg +3 -0
- package/src/assets/svg/line-arrows-corner-down-right.svg +3 -0
- package/src/assets/svg/line-arrows-expand-3.svg +3 -0
- package/src/assets/svg/line-arrows-refresh-ccw-1.svg +3 -0
- package/src/assets/svg/line-arrows-sort-line-asc.svg +3 -0
- package/src/assets/svg/line-arrows-sort-line-desc.svg +3 -0
- package/src/assets/svg/line-arrows-switch-vertical-1.svg +3 -0
- package/src/assets/svg/line-dev-bug-2.svg +3 -0
- package/src/assets/svg/line-dev-code-square.svg +3 -0
- package/src/assets/svg/line-files-file-attachment-2.svg +3 -0
- package/src/assets/svg/line-general-check.svg +3 -0
- package/src/assets/svg/line-general-checklist3.svg +3 -0
- package/src/assets/svg/line-general-copy-3.svg +3 -0
- package/src/assets/svg/line-general-download-cloud.svg +3 -0
- package/src/assets/svg/line-general-equal.svg +3 -0
- package/src/assets/svg/line-general-home-line.svg +3 -0
- package/src/assets/svg/line-general-link-1.svg +3 -0
- package/src/assets/svg/line-general-link-external.svg +3 -0
- package/src/assets/svg/line-general-search-md.svg +3 -0
- package/src/assets/svg/line-general-settings-1.svg +3 -0
- package/src/assets/svg/line-general-x-close.svg +3 -0
- package/src/assets/svg/line-general-zap.svg +3 -0
- package/src/assets/svg/line-helpers-flag.svg +4 -0
- package/src/assets/svg/line-helpers-play-circle.svg +4 -0
- package/src/assets/svg/line-images-image.svg +3 -0
- package/src/assets/svg/line-security-key.svg +3 -0
- package/src/assets/svg/line-shapes-dot-circle.svg +3 -0
- package/src/assets/svg/line-shapes-moon.svg +3 -0
- package/src/assets/svg/line-shapes-sun.svg +3 -0
- package/src/assets/svg/line-time-clock-stopwatch.svg +3 -0
- package/src/assets/svg/report-logo.svg +64 -0
- package/src/assets/svg/solid-alert-circle.svg +3 -0
- package/src/assets/svg/solid-check-circle.svg +3 -0
- package/src/assets/svg/solid-help-circle.svg +3 -0
- package/src/assets/svg/solid-minus-circle.svg +3 -0
- package/src/assets/svg/solid-x-circle.svg +3 -0
- package/src/assets/svg/spinner.svg +18 -0
- package/src/assets/svg/view-off.svg +12 -0
- package/src/assets/svg/view.svg +11 -0
- package/src/components/app/ArrowButton/index.tsx +36 -0
- package/src/components/app/ArrowButton/styles.scss +32 -0
- package/src/components/app/BaseLayout/index.tsx +60 -0
- package/src/components/app/BaseLayout/styles.scss +60 -0
- package/src/components/app/Footer/FooterLogo.tsx +16 -0
- package/src/components/app/Footer/FooterVersion.tsx +27 -0
- package/src/components/app/Footer/index.tsx +13 -0
- package/src/components/app/Footer/styles.scss +14 -0
- package/src/components/app/Header/index.tsx +17 -0
- package/src/components/app/Header/styles.scss +26 -0
- package/src/components/app/LanguagePicker/index.tsx +41 -0
- package/src/components/app/MainReport/index.tsx +19 -0
- package/src/components/app/Metadata/index.tsx +114 -0
- package/src/components/app/Metadata/styles.scss +146 -0
- package/src/components/app/MetadataButton/index.tsx +33 -0
- package/src/components/app/MetadataButton/styles.scss +53 -0
- package/src/components/app/Modal/index.tsx +184 -0
- package/src/components/app/Modal/styles.scss +126 -0
- package/src/components/app/ReportBody/Filters.tsx +94 -0
- package/src/components/app/ReportBody/HeaderActions.tsx +21 -0
- package/src/components/app/ReportBody/SortBy.tsx +134 -0
- package/src/components/app/ReportBody/context.tsx +107 -0
- package/src/components/app/ReportBody/index.tsx +71 -0
- package/src/components/app/ReportBody/styles.scss +64 -0
- package/src/components/app/ReportHeader/ReportHeaderLabelList.tsx +12 -0
- package/src/components/app/ReportHeader/ReportHeaderLogo.tsx +10 -0
- package/src/components/app/ReportHeader/ReportHeaderPie.tsx +14 -0
- package/src/components/app/ReportHeader/index.tsx +33 -0
- package/src/components/app/ReportHeader/styles.scss +49 -0
- package/src/components/app/ReportLogo/index.tsx +17 -0
- package/src/components/app/ReportLogo/styles.scss +20 -0
- package/src/components/app/ReportLogoFull/index.tsx +21 -0
- package/src/components/app/ReportLogoFull/styles.scss +7 -0
- package/src/components/app/ReportMetadata/MetadataItem.tsx +45 -0
- package/src/components/app/ReportMetadata/MetadataSummary.tsx +79 -0
- package/src/components/app/ReportMetadata/MetadataTestType.tsx +16 -0
- package/src/components/app/ReportMetadata/MetadataWithIcon.tsx +25 -0
- package/src/components/app/ReportMetadata/index.tsx +46 -0
- package/src/components/app/ReportMetadata/styles.scss +99 -0
- package/src/components/app/Tabs/index.tsx +58 -0
- package/src/components/app/Tabs/styles.scss +56 -0
- package/src/components/app/TestResult/TestResultAttachmentsView/index.tsx +27 -0
- package/src/components/app/TestResult/TestResultAttachmentsView/styles.scss +12 -0
- package/src/components/app/TestResult/TestResultDescription/index.tsx +27 -0
- package/src/components/app/TestResult/TestResultDescription/styles.scss +12 -0
- package/src/components/app/TestResult/TestResultDropdown/index.tsx +19 -0
- package/src/components/app/TestResult/TestResultDropdown/styles.scss +34 -0
- package/src/components/app/TestResult/TestResultEmpty/index.tsx +34 -0
- package/src/components/app/TestResult/TestResultEmpty/styles.scss +25 -0
- package/src/components/app/TestResult/TestResultError/index.tsx +51 -0
- package/src/components/app/TestResult/TestResultError/styles.scss +40 -0
- package/src/components/app/TestResult/TestResultHeader/index.tsx +55 -0
- package/src/components/app/TestResult/TestResultHeader/styles.scss +43 -0
- package/src/components/app/TestResult/TestResultHistory/TestResultHistoryItem.tsx +57 -0
- package/src/components/app/TestResult/TestResultHistory/index.tsx +26 -0
- package/src/components/app/TestResult/TestResultHistory/styles.scss +63 -0
- package/src/components/app/TestResult/TestResultInfo/index.tsx +79 -0
- package/src/components/app/TestResult/TestResultInfo/styles.scss +33 -0
- package/src/components/app/TestResult/TestResultLinks/index.tsx +60 -0
- package/src/components/app/TestResult/TestResultLinks/styles.scss +30 -0
- package/src/components/app/TestResult/TestResultMetadata/index.tsx +27 -0
- package/src/components/app/TestResult/TestResultMetadata/styles.scss +8 -0
- package/src/components/app/TestResult/TestResultNavigation/index.tsx +89 -0
- package/src/components/app/TestResult/TestResultNavigation/styles.scss +48 -0
- package/src/components/app/TestResult/TestResultOverview.tsx +40 -0
- package/src/components/app/TestResult/TestResultParameters/index.tsx +30 -0
- package/src/components/app/TestResult/TestResultParameters/styles.scss +8 -0
- package/src/components/app/TestResult/TestResultPrevStatuses/index.tsx +52 -0
- package/src/components/app/TestResult/TestResultPrevStatuses/styles.scss +57 -0
- package/src/components/app/TestResult/TestResultRetriesView/TestResultRetriesItem.tsx +50 -0
- package/src/components/app/TestResult/TestResultRetriesView/index.tsx +24 -0
- package/src/components/app/TestResult/TestResultRetriesView/styles.scss +69 -0
- package/src/components/app/TestResult/TestResultSetup/index.tsx +50 -0
- package/src/components/app/TestResult/TestResultSeverity/index.tsx +34 -0
- package/src/components/app/TestResult/TestResultSeverity/styles.scss +29 -0
- package/src/components/app/TestResult/TestResultStatus/index.tsx +26 -0
- package/src/components/app/TestResult/TestResultStatus/styles.scss +36 -0
- package/src/components/app/TestResult/TestResultSteps/HtmlAttachmentPreview.tsx +12 -0
- package/src/components/app/TestResult/TestResultSteps/attachment.tsx +70 -0
- package/src/components/app/TestResult/TestResultSteps/attachmentCode.tsx +15 -0
- package/src/components/app/TestResult/TestResultSteps/attachmentImage.tsx +29 -0
- package/src/components/app/TestResult/TestResultSteps/attachmentVideo.tsx +12 -0
- package/src/components/app/TestResult/TestResultSteps/index.tsx +49 -0
- package/src/components/app/TestResult/TestResultSteps/styles.scss +225 -0
- package/src/components/app/TestResult/TestResultSteps/testResultAttachment.tsx +79 -0
- package/src/components/app/TestResult/TestResultSteps/testResultAttachmentInfo.tsx +87 -0
- package/src/components/app/TestResult/TestResultSteps/testResultStep.tsx +71 -0
- package/src/components/app/TestResult/TestResultSteps/testResultStepInfo.tsx +33 -0
- package/src/components/app/TestResult/TestResultSteps/wrongAttachment.tsx +8 -0
- package/src/components/app/TestResult/TestResultTabs/index.tsx +59 -0
- package/src/components/app/TestResult/TestResultTabs/styles.scss +76 -0
- package/src/components/app/TestResult/TestResultTeardown/index.tsx +49 -0
- package/src/components/app/TestResult/index.tsx +56 -0
- package/src/components/app/ThemeButton/ThemeButton.tsx +22 -0
- package/src/components/app/Tree/Tree.tsx +122 -0
- package/src/components/app/Tree/TreeHeader.tsx +81 -0
- package/src/components/app/Tree/TreeItem.tsx +31 -0
- package/src/components/app/Tree/TreeItemIcon.tsx +35 -0
- package/src/components/app/Tree/index.tsx +40 -0
- package/src/components/app/Tree/styles.scss +170 -0
- package/src/components/commons/Button/index.tsx +176 -0
- package/src/components/commons/Button/styles.scss +558 -0
- package/src/components/commons/Counter/index.tsx +29 -0
- package/src/components/commons/Counter/styles.scss +21 -0
- package/src/components/commons/Label/index.tsx +11 -0
- package/src/components/commons/Label/styles.scss +7 -0
- package/src/components/commons/Link/index.tsx +20 -0
- package/src/components/commons/Link/styles.scss +46 -0
- package/src/components/commons/Loadable/index.tsx +32 -0
- package/src/components/commons/Menu/index.tsx +173 -0
- package/src/components/commons/Menu/styles.scss +94 -0
- package/src/components/commons/PageLoader/index.tsx +10 -0
- package/src/components/commons/PageLoader/styles.scss +29 -0
- package/src/components/commons/SearchBox/index.tsx +61 -0
- package/src/components/commons/SearchBox/styles.scss +58 -0
- package/src/components/commons/Spinner/index.tsx +8 -0
- package/src/components/commons/SuccessRatePieChart/index.tsx +52 -0
- package/src/components/commons/SuccessRatePieChart/styles.scss +12 -0
- package/src/components/commons/SvgIcon/index.tsx +46 -0
- package/src/components/commons/SvgIcon/styles.scss +26 -0
- package/src/components/commons/Toggle/index.tsx +29 -0
- package/src/components/commons/Toggle/styles.scss +48 -0
- package/src/components/commons/Tooltip/index.tsx +123 -0
- package/src/components/commons/Tooltip/styles.scss +38 -0
- package/src/components/commons/Typography/index.tsx +99 -0
- package/src/hooks/useDebouncedCallback.ts +31 -0
- package/src/i18n/constants.ts +105 -0
- package/src/i18n/locales/am.json +115 -0
- package/src/i18n/locales/az.json +115 -0
- package/src/i18n/locales/de.json +115 -0
- package/src/i18n/locales/en.json +115 -0
- package/src/i18n/locales/es.json +114 -0
- package/src/i18n/locales/fr.json +115 -0
- package/src/i18n/locales/he.json +115 -0
- package/src/i18n/locales/it.json +115 -0
- package/src/i18n/locales/ja.json +115 -0
- package/src/i18n/locales/ka.json +115 -0
- package/src/i18n/locales/kr.json +115 -0
- package/src/i18n/locales/nl.json +115 -0
- package/src/i18n/locales/pl.json +113 -0
- package/src/i18n/locales/pt.json +115 -0
- package/src/i18n/locales/ru.json +113 -0
- package/src/i18n/locales/sv.json +115 -0
- package/src/i18n/locales/tr.json +115 -0
- package/src/i18n/locales/zh.json +115 -0
- package/src/index.html +35 -0
- package/src/index.tsx +48 -0
- package/src/stores/chart.ts +32 -0
- package/src/stores/envInfo.ts +34 -0
- package/src/stores/index.ts +4 -0
- package/src/stores/locale.ts +79 -0
- package/src/stores/stats.ts +36 -0
- package/src/stores/testResults.ts +40 -0
- package/src/stores/theme.ts +33 -0
- package/src/stores/tree.ts +33 -0
- package/src/stores/types.ts +5 -0
- package/src/types/globals.d.ts +8 -0
- package/src/types/window.d.ts +8 -0
- package/src/utils/attachments.ts +156 -0
- package/src/utils/capitalize.ts +4 -0
- package/src/utils/copyToClipboard.ts +3 -0
- package/src/utils/isMac.ts +7 -0
- package/src/utils/statuses.ts +55 -0
- package/src/utils/time.ts +17 -0
- package/src/utils/treeFilters.ts +150 -0
- package/tsconfig.json +25 -0
- package/types.d.ts +53 -0
- package/webpack.config.js +108 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@import "../../../assets/scss/mixins.scss";
|
|
2
|
+
|
|
3
|
+
.report-metadata {
|
|
4
|
+
padding-top: 20px;
|
|
5
|
+
padding-bottom: 20px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.report-metadata-wrapper {
|
|
9
|
+
padding: 0 24px;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.report-metadata-separator {
|
|
14
|
+
border-left: 1px solid var(--on-border-primary);
|
|
15
|
+
height: 24px;
|
|
16
|
+
margin: 11px 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.report-metadata-status {
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: 24px;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.report-metadata-summary {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
align-items: baseline;
|
|
29
|
+
padding: 16px 0;
|
|
30
|
+
border-top: 1px solid var(--on-border-primary);
|
|
31
|
+
border-bottom: 1px solid var(--on-border-primary);
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.report-metadata-all-tests {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 24px;
|
|
38
|
+
margin-right: 8px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.metadata-item-title {
|
|
42
|
+
color: var(--on-text-secondary);
|
|
43
|
+
margin-bottom: 6px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.metadata-item-value {
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.report-metadata {
|
|
51
|
+
border-bottom: 1px solid var(--on-border-primary);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.report-metadata-keyvalue {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-template-columns: 1fr 1fr;
|
|
57
|
+
gap: 8px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.report-metadata-keyvalue-title {
|
|
61
|
+
padding: 8px 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.report-metadata-keyvalue-value {
|
|
65
|
+
padding: 8px 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.report-metadata-list {
|
|
69
|
+
display: grid;
|
|
70
|
+
column-gap: 48px;
|
|
71
|
+
grid-template-columns: repeat(2, 1fr);
|
|
72
|
+
grid-template-rows: repeat(5, auto);
|
|
73
|
+
grid-auto-flow: column;
|
|
74
|
+
padding-top: 16px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.metadata-test-type {
|
|
78
|
+
display: flex;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.metadata-color-badge {
|
|
82
|
+
width: 4px;
|
|
83
|
+
height: 12px;
|
|
84
|
+
border-radius: 2px;
|
|
85
|
+
background: var(--on-text-secondary);
|
|
86
|
+
margin-right: 8px;
|
|
87
|
+
align-self: center;
|
|
88
|
+
@include status-bg-and-text();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.metadata-with-icon {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.metadata-icon {
|
|
97
|
+
margin-right: 8px;
|
|
98
|
+
color: var(--on-icon-secondary);
|
|
99
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type ComponentChildren, createContext } from "preact";
|
|
2
|
+
import { useContext, useState } from "preact/hooks";
|
|
3
|
+
import { Text } from "../../commons/Typography";
|
|
4
|
+
import * as styles from "./styles.scss";
|
|
5
|
+
|
|
6
|
+
type TabsContextT = {
|
|
7
|
+
currentTab: string | undefined;
|
|
8
|
+
setCurrentTab: (tab: string) => void;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const TabsContext = createContext<TabsContextT | null>(null);
|
|
12
|
+
|
|
13
|
+
export function useTabsContext() {
|
|
14
|
+
const context = useContext(TabsContext);
|
|
15
|
+
|
|
16
|
+
if (!context) {
|
|
17
|
+
throw new Error("Tabs' components must be used within a Tabs component");
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
return context;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const TabsProvider = (props: { initialTab?: string; children: ComponentChildren }) => {
|
|
24
|
+
const { children, initialTab } = props;
|
|
25
|
+
const [currentTab, setCurrentTab] = useState<string | undefined>(initialTab);
|
|
26
|
+
|
|
27
|
+
return <TabsContext.Provider value={{ currentTab, setCurrentTab }}>{children}</TabsContext.Provider>;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export const Tabs = (props: { children: ComponentChildren; initialTab?: string }) => {
|
|
31
|
+
return <TabsProvider {...props} />;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const TabsList = (props: { children: ComponentChildren }) => {
|
|
35
|
+
return <div className={styles.tabsList}>{props.children}</div>;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const Tab = (props: { id: string; children: ComponentChildren }) => {
|
|
39
|
+
const { id, children, ...rest } = props;
|
|
40
|
+
const { currentTab, setCurrentTab } = useTabsContext();
|
|
41
|
+
const isCurrentTab = currentTab === id;
|
|
42
|
+
|
|
43
|
+
const handleTabClick = () => {
|
|
44
|
+
if (isCurrentTab) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
setCurrentTab(id);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
return (
|
|
52
|
+
<button {...rest} className={styles.tab} onClick={handleTabClick} aria-current={isCurrentTab ? true : undefined}>
|
|
53
|
+
<Text type="paragraph" size="m" bold>
|
|
54
|
+
{children}
|
|
55
|
+
</Text>
|
|
56
|
+
</button>
|
|
57
|
+
);
|
|
58
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
.tabsList {
|
|
2
|
+
background-color: var(--bg-base-secondary);
|
|
3
|
+
padding: 2px;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
display: flex;
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
flex-grow: 0;
|
|
8
|
+
max-width: max-content;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.tab {
|
|
12
|
+
background-color: var(--bg-control-flat);
|
|
13
|
+
color: var(--on-text-primary);
|
|
14
|
+
border-radius: 6px;
|
|
15
|
+
border: 1px solid transparent;
|
|
16
|
+
padding: 2px 8px;
|
|
17
|
+
margin: 0;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
user-select: none;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
transform: scale(1);
|
|
22
|
+
outline-offset: 1px;
|
|
23
|
+
outline: 1px solid transparent;
|
|
24
|
+
transition:
|
|
25
|
+
transform var(--interaction-transition-duration) ease-out,
|
|
26
|
+
outline var(--interaction-transition-duration) ease-out,
|
|
27
|
+
background-color var(--color-change-transition-duration),
|
|
28
|
+
border-color var(--color-change-transition-duration);
|
|
29
|
+
|
|
30
|
+
&[aria-current] {
|
|
31
|
+
background-color: var(--bg-base-modal);
|
|
32
|
+
border-color: var(--on-border-primary);
|
|
33
|
+
cursor: default;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:hover:not([aria-current]) {
|
|
37
|
+
background-color: var(--bg-control-flat-medium);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:active:not([aria-current]) {
|
|
41
|
+
background-color: var(--bg-control-flat-heavy);
|
|
42
|
+
transform: scale(0.94);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: 1px solid transparent;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:focus-visible {
|
|
50
|
+
outline: 1px solid var(--ad-other-focus);
|
|
51
|
+
|
|
52
|
+
&:not([aria-current]) {
|
|
53
|
+
background-color: var(--bg-control-flat-medium);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AttachmentTestStepResult } from "@allurereport/core-api";
|
|
2
|
+
import type { FunctionalComponent } from "preact";
|
|
3
|
+
import type { AllureAwesomeTestResult } from "types";
|
|
4
|
+
import { TestResultAttachment } from "@/components/app/TestResult/TestResultSteps/testResultAttachment";
|
|
5
|
+
import { useI18n } from "@/stores";
|
|
6
|
+
import * as styles from "./styles.scss";
|
|
7
|
+
|
|
8
|
+
export type TestResultAttachmentViewProps = {
|
|
9
|
+
testResult?: AllureAwesomeTestResult;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const TestResultAttachmentView: FunctionalComponent<TestResultAttachmentViewProps> = ({ testResult }) => {
|
|
13
|
+
const { attachments } = testResult ?? {};
|
|
14
|
+
const { t } = useI18n("empty");
|
|
15
|
+
|
|
16
|
+
return (
|
|
17
|
+
<div className={styles["test-result-attachments-view"]}>
|
|
18
|
+
{attachments.length ? (
|
|
19
|
+
attachments?.map((attach, key) => (
|
|
20
|
+
<TestResultAttachment item={attach as AttachmentTestStepResult} key={key} stepIndex={key + 1} />
|
|
21
|
+
))
|
|
22
|
+
) : (
|
|
23
|
+
<div className={styles["test-result-empty"]}>{t("no-attachments-results")}</div>
|
|
24
|
+
)}
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useState } from "preact/hooks";
|
|
2
|
+
import { MetadataButton } from "@/components/app/MetadataButton";
|
|
3
|
+
import { Text } from "@/components/commons/Typography";
|
|
4
|
+
import * as styles from "./styles.scss";
|
|
5
|
+
import { FunctionalComponent } from "preact";
|
|
6
|
+
import { AllureAwesomeTestResult } from "../../../../../types";
|
|
7
|
+
|
|
8
|
+
export type TestResultDescriptionProps = {
|
|
9
|
+
description: AllureAwesomeTestResult["description"];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const TestResultDescription: FunctionalComponent<TestResultDescriptionProps> = ({ description }) => {
|
|
13
|
+
const [isOpen, setIsOpen] = useState<boolean>(true);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className={styles["test-result-description"]}>
|
|
17
|
+
<div className={styles["test-result-description-wrapper"]}>
|
|
18
|
+
<MetadataButton title={"Description"} setIsOpen={setIsOpen} isOpened={isOpen} />
|
|
19
|
+
{isOpen && (
|
|
20
|
+
<Text tag={"p"} className={styles["test-result-description-text"]}>
|
|
21
|
+
{description || "Description mock"}
|
|
22
|
+
</Text>
|
|
23
|
+
)}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import arrowsChevronDown from "@/assets/svg/arrows-chevron-down.svg";
|
|
2
|
+
import { ArrowButton } from "@/components/app/ArrowButton";
|
|
3
|
+
import { Counter } from "@/components/commons/Counter";
|
|
4
|
+
import { SvgIcon } from "@/components/commons/SvgIcon";
|
|
5
|
+
import { Text } from "@/components/commons/Typography";
|
|
6
|
+
import * as styles from "./styles.scss";
|
|
7
|
+
|
|
8
|
+
export const TestResultDropdown = ({ isOpened, setIsOpen, title, icon, counter }) => {
|
|
9
|
+
return (
|
|
10
|
+
<div className={styles["test-result-dropdown"]} onClick={() => setIsOpen(!isOpened)}>
|
|
11
|
+
<ArrowButton isOpened={isOpened} icon={arrowsChevronDown.id} />
|
|
12
|
+
<div className={styles["test-result-dropdown-wrap"]}>
|
|
13
|
+
<SvgIcon id={icon}></SvgIcon>
|
|
14
|
+
<Text bold>{title}</Text>
|
|
15
|
+
<Counter count={counter} size="s" />
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.test-result-dropdown {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
padding: 1px 8px 1px 6px;
|
|
5
|
+
border-radius: 6px;
|
|
6
|
+
transition: background-color 300ms;
|
|
7
|
+
align-items: center;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.test-result-step-chevron {
|
|
13
|
+
width: 12px;
|
|
14
|
+
height: 12px;
|
|
15
|
+
transform: rotate(-90deg);
|
|
16
|
+
transition: transform 200ms;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.test-result-step-chevron-open {
|
|
20
|
+
transform: rotate(0deg);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.test-result-dropdown-wrap {
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
align-items: center;
|
|
28
|
+
padding: 6px 8px 6px 6px;
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
background: var(--bg-control-flat-medium);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import LineDevCodeSquare from "@/assets/svg/line-dev-code-square.svg";
|
|
2
|
+
import * as baseStyles from "@/components/app/BaseLayout/styles.scss";
|
|
3
|
+
import { TestResultInfo } from "@/components/app/TestResult/TestResultInfo";
|
|
4
|
+
import { SvgIcon } from "@/components/commons/SvgIcon";
|
|
5
|
+
import { Text } from "@/components/commons/Typography";
|
|
6
|
+
import * as styles from "./styles.scss";
|
|
7
|
+
|
|
8
|
+
const TestResultThumb = () => {
|
|
9
|
+
return (
|
|
10
|
+
<div className={styles["test-result-thumb"]}>
|
|
11
|
+
<div className={styles["test-result-thumb-wrapper"]}>
|
|
12
|
+
<SvgIcon
|
|
13
|
+
size={"m"}
|
|
14
|
+
width={"32px"}
|
|
15
|
+
height={"32px"}
|
|
16
|
+
id={LineDevCodeSquare.id}
|
|
17
|
+
className={styles["test-result-thumb-icon"]}
|
|
18
|
+
/>
|
|
19
|
+
<Text className={styles["test-result-thumb-text"]}>No test case results</Text>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const TestResultEmpty = () => {
|
|
26
|
+
return (
|
|
27
|
+
<div className={baseStyles.content}>
|
|
28
|
+
<TestResultInfo />
|
|
29
|
+
<TestResultThumb />
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export default TestResultEmpty;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.test-result-thumb {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: center;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
min-height: 720px;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.test-result-thumb-wrapper {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.test-result-thumb-icon {
|
|
16
|
+
width: 32px;
|
|
17
|
+
height: 32px;
|
|
18
|
+
margin-bottom: 16px;
|
|
19
|
+
flex: 1 1 auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.test-result-thumb-text {
|
|
23
|
+
color: var(--on-text-secondary);
|
|
24
|
+
flex: 1 1 auto;
|
|
25
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useState } from "preact/hooks";
|
|
2
|
+
import LineGeneralCopy3 from "@/assets/svg/line-general-copy-3.svg";
|
|
3
|
+
import { IconButton } from "@/components/commons/Button";
|
|
4
|
+
import { Code, Text } from "@/components/commons/Typography";
|
|
5
|
+
import { useI18n } from "@/stores/locale";
|
|
6
|
+
import { copyToClipboard } from "@/utils/copyToClipboard";
|
|
7
|
+
import * as styles from "./styles.scss";
|
|
8
|
+
|
|
9
|
+
const TestResultErrorTrace = ({ trace }) => {
|
|
10
|
+
return (
|
|
11
|
+
<div data-testid="test-result-error-trace" className={styles["test-result-error-trace"]}>
|
|
12
|
+
<Code size={"s"} type={"ui"}>
|
|
13
|
+
<pre>{trace}</pre>
|
|
14
|
+
</Code>
|
|
15
|
+
</div>
|
|
16
|
+
);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export const TestResultError = ({ message, trace }) => {
|
|
20
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
21
|
+
const { t } = useI18n("ui");
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div data-testid="test-result-error" className={styles["test-result-error"]}>
|
|
25
|
+
<div
|
|
26
|
+
data-testid="test-result-error-header"
|
|
27
|
+
className={styles["test-result-error-header"]}
|
|
28
|
+
onClick={() => setIsOpen(!isOpen)}
|
|
29
|
+
>
|
|
30
|
+
<Text tag={"p"} size={"m"} bold className={styles["test-result-error-text"]}>
|
|
31
|
+
{t("error")}
|
|
32
|
+
</Text>
|
|
33
|
+
<IconButton
|
|
34
|
+
style={"ghost"}
|
|
35
|
+
size={"s"}
|
|
36
|
+
icon={LineGeneralCopy3.id}
|
|
37
|
+
onClick={(e) => {
|
|
38
|
+
e.stopPropagation();
|
|
39
|
+
copyToClipboard(message);
|
|
40
|
+
}}
|
|
41
|
+
/>
|
|
42
|
+
</div>
|
|
43
|
+
<div onClick={() => setIsOpen(!isOpen)}>
|
|
44
|
+
<Code data-testid="test-result-error-message" size={"s"}>
|
|
45
|
+
{message}
|
|
46
|
+
</Code>
|
|
47
|
+
</div>
|
|
48
|
+
{isOpen && trace && <TestResultErrorTrace trace={trace} />}
|
|
49
|
+
</div>
|
|
50
|
+
);
|
|
51
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.test-result-error {
|
|
2
|
+
padding: 8px 8px 12px 24px;
|
|
3
|
+
background-color: var(--bg-alpha-capella);
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
position: relative;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
|
|
9
|
+
&:before {
|
|
10
|
+
content: "";
|
|
11
|
+
display: block;
|
|
12
|
+
height: 100%;
|
|
13
|
+
width: 2px;
|
|
14
|
+
position: absolute;
|
|
15
|
+
left: 0;
|
|
16
|
+
top: 0;
|
|
17
|
+
background: var(--on-support-capella);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.test-result-error-header {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 4px;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.test-result-error-text {
|
|
28
|
+
margin-bottom: 8px;
|
|
29
|
+
color: var(--on-support-capella);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.test-result-error-trace {
|
|
33
|
+
margin-top: 8px;
|
|
34
|
+
|
|
35
|
+
pre {
|
|
36
|
+
overflow-wrap: break-word;
|
|
37
|
+
word-wrap: break-word;
|
|
38
|
+
white-space: pre-wrap;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import { FunctionalComponent } from "preact";
|
|
3
|
+
import { AllureAwesomeTestResult } from "types";
|
|
4
|
+
import LineArrowsChevronDown from "@/assets/svg/line-arrows-chevron-down.svg";
|
|
5
|
+
import LineGeneralHomeLine from "@/assets/svg/line-general-home-line.svg";
|
|
6
|
+
import { LanguagePicker } from "@/components/app/LanguagePicker";
|
|
7
|
+
import { ThemeButton } from "@/components/app/ThemeButton/ThemeButton";
|
|
8
|
+
import { IconButton } from "@/components/commons/Button";
|
|
9
|
+
import { SvgIcon } from "@/components/commons/SvgIcon";
|
|
10
|
+
import { Text } from "@/components/commons/Typography";
|
|
11
|
+
import { navigateTo } from "@/index";
|
|
12
|
+
import * as styles from "./styles.scss";
|
|
13
|
+
|
|
14
|
+
export type TestResultHeaderProps = {
|
|
15
|
+
testResult?: AllureAwesomeTestResult;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const TestResultHeader: FunctionalComponent<TestResultHeaderProps> = ({ testResult }) => {
|
|
19
|
+
const { breadcrumbs, name } = testResult || {};
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<div className={styles.above}>
|
|
23
|
+
<div className={styles["test-result-breadcrumbs"]}>
|
|
24
|
+
<div className={clsx(styles["test-result-breadcrumb"], styles["test-result-home"])}>
|
|
25
|
+
<IconButton
|
|
26
|
+
icon={LineGeneralHomeLine.id}
|
|
27
|
+
size={"s"}
|
|
28
|
+
style={"ghost"}
|
|
29
|
+
className={styles["test-result-breadcrumb-link"]}
|
|
30
|
+
onClick={() => navigateTo("/")}
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
{Boolean(breadcrumbs?.length) &&
|
|
34
|
+
breadcrumbs?.[0]?.map((item, key) => {
|
|
35
|
+
return (
|
|
36
|
+
<div className={styles["test-result-breadcrumb"]} key={key}>
|
|
37
|
+
<SvgIcon id={LineArrowsChevronDown.id} className={styles["test-result-breadcrumb-arrow"]} />
|
|
38
|
+
<Text size={"s"} bold className={styles["test-result-breadcrumb-title"]}>
|
|
39
|
+
{item}
|
|
40
|
+
</Text>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
})}
|
|
44
|
+
<div className={styles["test-result-breadcrumb"]}>
|
|
45
|
+
{name && <SvgIcon id={LineArrowsChevronDown.id} className={styles["test-result-breadcrumb-arrow"]} />}
|
|
46
|
+
<Text size={"s"} bold className={styles["test-result-breadcrumb-title"]}>
|
|
47
|
+
{name}
|
|
48
|
+
</Text>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<LanguagePicker />
|
|
52
|
+
<ThemeButton />
|
|
53
|
+
</div>
|
|
54
|
+
);
|
|
55
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.test-result-breadcrumbs {
|
|
2
|
+
margin-right: auto;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 4px;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
text-overflow: ellipsis;
|
|
8
|
+
}
|
|
9
|
+
.test-result-home {
|
|
10
|
+
flex: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.test-result-breadcrumb-link {
|
|
14
|
+
color: var(--on-text-secondary);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.test-result-breadcrumb {
|
|
18
|
+
display: flex;
|
|
19
|
+
gap: 4px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
color: var(--on-text-secondary);
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
text-overflow: ellipsis;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.test-result-breadcrumb-title {
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
text-overflow: ellipsis;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.above {
|
|
34
|
+
margin-bottom: 12px;
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: 12px;
|
|
40
|
+
}
|
|
41
|
+
.test-result-breadcrumb-arrow {
|
|
42
|
+
transform: rotate(-90deg);
|
|
43
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { formatDuration } from "@allurereport/core-api";
|
|
2
|
+
import { useState } from "preact/hooks";
|
|
3
|
+
import arrowsChevronDown from "@/assets/svg/arrows-chevron-down.svg";
|
|
4
|
+
import LineGeneralLinkExternal from "@/assets/svg/line-general-link-external.svg";
|
|
5
|
+
import { ArrowButton } from "@/components/app/ArrowButton";
|
|
6
|
+
import { TestResultError } from "@/components/app/TestResult/TestResultError";
|
|
7
|
+
import * as styles from "@/components/app/TestResult/TestResultHistory/styles.scss";
|
|
8
|
+
import TreeItemIcon from "@/components/app/Tree/TreeItemIcon";
|
|
9
|
+
import { IconButton } from "@/components/commons/Button";
|
|
10
|
+
import { TooltipWrapper } from "@/components/commons/Tooltip";
|
|
11
|
+
import { Text } from "@/components/commons/Typography";
|
|
12
|
+
import { navigateTo } from "@/index";
|
|
13
|
+
import { timestampToDate } from "@/utils/time";
|
|
14
|
+
|
|
15
|
+
export const TestResultHistoryItem = ({ testResultItem }) => {
|
|
16
|
+
const { status, message, trace, stop, duration, id, uuid } = testResultItem;
|
|
17
|
+
const [isOpened, setIsOpen] = useState(false);
|
|
18
|
+
const convertedStop = timestampToDate(stop);
|
|
19
|
+
const formattedDuration = formatDuration(duration);
|
|
20
|
+
|
|
21
|
+
const navigateUrl = `/${uuid}/${id}`;
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div>
|
|
25
|
+
<div className={styles["test-result-history-item-header"]} onClick={() => setIsOpen(!isOpened)}>
|
|
26
|
+
{Boolean(message) && <ArrowButton isOpened={isOpened} icon={arrowsChevronDown.id} />}
|
|
27
|
+
<div className={styles["test-result-history-item-wrap"]}>
|
|
28
|
+
<TreeItemIcon status={status} className={styles["test-result-history-item-status"]} />
|
|
29
|
+
<Text className={styles["test-result-history-item-text"]}>{convertedStop}</Text>
|
|
30
|
+
<div className={styles["test-result-history-item-info"]}>
|
|
31
|
+
<Text type="ui" size={"s"} className={styles["item-time"]}>
|
|
32
|
+
{formattedDuration}
|
|
33
|
+
</Text>
|
|
34
|
+
|
|
35
|
+
<TooltipWrapper tooltipText={"Go to error"}>
|
|
36
|
+
<IconButton
|
|
37
|
+
icon={LineGeneralLinkExternal.id}
|
|
38
|
+
style={"ghost"}
|
|
39
|
+
size={"s"}
|
|
40
|
+
className={styles["test-result-history-item-link"]}
|
|
41
|
+
onClick={(e) => {
|
|
42
|
+
e.stopPropagation();
|
|
43
|
+
navigateTo(navigateUrl);
|
|
44
|
+
}}
|
|
45
|
+
/>
|
|
46
|
+
</TooltipWrapper>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
{isOpened && message && (
|
|
51
|
+
<div>
|
|
52
|
+
<TestResultError message={message} trace={trace} />
|
|
53
|
+
</div>
|
|
54
|
+
)}
|
|
55
|
+
</div>
|
|
56
|
+
);
|
|
57
|
+
};
|