@allurereport/web-classic 3.3.0 → 3.4.0
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/dist/multi/333.app-4b1f7421e41558777592.js +1 -0
- package/dist/multi/853.app-4b1f7421e41558777592.js +1 -0
- package/dist/multi/app-4b1f7421e41558777592.js +2 -0
- package/dist/multi/manifest.json +23 -22
- package/dist/multi/{styles-75260d4c57aacfd128f1.css → styles-9d0f524b54c0674f3a16.css} +2 -2
- package/dist/single/app-9900014b342c2b08335d.js +2 -0
- package/dist/single/manifest.json +1 -1
- package/package.json +18 -36
- package/src/components/ArrowButton/index.tsx +1 -0
- package/src/components/BaseLayout/index.tsx +2 -0
- package/src/components/Behaviors/BehaviorsList.tsx +2 -0
- package/src/components/Behaviors/index.tsx +2 -0
- package/src/components/Categories/CategoriesList.tsx +2 -0
- package/src/components/Categories/index.tsx +2 -0
- package/src/components/Footer/FooterLogo.tsx +1 -0
- package/src/components/Footer/FooterVersion.tsx +2 -0
- package/src/components/Footer/index.tsx +3 -1
- package/src/components/Header/index.tsx +1 -0
- package/src/components/HeaderActions/Filters.tsx +2 -0
- package/src/components/HeaderActions/HeaderActions.tsx +3 -0
- package/src/components/HeaderActions/SortBy.tsx +2 -0
- package/src/components/LanguagePicker/index.tsx +2 -0
- package/src/components/MainReport/index.tsx +2 -1
- package/src/components/Metadata/index.tsx +2 -0
- package/src/components/MetadataButton/index.tsx +2 -0
- package/src/components/Modal/ModalView.js +3 -0
- package/src/components/Modal/index.tsx +2 -0
- package/src/components/Overview/index.tsx +2 -0
- package/src/components/Packages/PackagesList.tsx +2 -0
- package/src/components/Packages/index.tsx +2 -0
- package/src/components/ReportBody/Filters.tsx +2 -0
- package/src/components/ReportBody/HeaderActions.tsx +3 -0
- package/src/components/ReportBody/SortBy.tsx +2 -0
- package/src/components/ReportBody/index.tsx +4 -1
- package/src/components/ReportHeader/ReportHeaderLabelList.tsx +1 -0
- package/src/components/ReportHeader/ReportHeaderLogo.tsx +3 -1
- package/src/components/ReportHeader/ReportHeaderPie.tsx +2 -0
- package/src/components/ReportHeader/index.tsx +2 -0
- package/src/components/ReportMetadata/MetadataItem.tsx +1 -0
- package/src/components/ReportMetadata/MetadataSummary.tsx +3 -1
- package/src/components/ReportMetadata/MetadataTestType.tsx +2 -0
- package/src/components/ReportMetadata/MetadataWithIcon.tsx +2 -0
- package/src/components/ReportMetadata/index.tsx +2 -0
- package/src/components/SideBySide/index.tsx +1 -0
- package/src/components/SideNav/SideNav.tsx +2 -0
- package/src/components/SideNav/SideNavView.js +3 -0
- package/src/components/Suites/index.tsx +2 -0
- package/src/components/Tabs/index.tsx +2 -0
- package/src/components/TestResult/TestResultAttachmentsView/index.tsx +2 -0
- package/src/components/TestResult/TestResultDescription/index.tsx +2 -0
- package/src/components/TestResult/TestResultDropdown/index.tsx +2 -0
- package/src/components/TestResult/TestResultEmpty/index.tsx +3 -1
- package/src/components/TestResult/TestResultError/index.tsx +2 -0
- package/src/components/TestResult/TestResultHeader/index.tsx +2 -0
- package/src/components/TestResult/TestResultHistory/TestResultHistoryItem.tsx +3 -1
- package/src/components/TestResult/TestResultHistory/index.tsx +3 -0
- package/src/components/TestResult/TestResultInfo/TestResultInfoStatuses.tsx +2 -0
- package/src/components/TestResult/TestResultInfo/index.tsx +2 -0
- package/src/components/TestResult/TestResultLinks/index.tsx +20 -3
- package/src/components/TestResult/TestResultMetadata/index.tsx +2 -0
- package/src/components/TestResult/TestResultNavigation/index.tsx +2 -0
- package/src/components/TestResult/TestResultOverview.tsx +3 -1
- package/src/components/TestResult/TestResultParameters/index.tsx +2 -0
- package/src/components/TestResult/TestResultPrevStatuses/index.tsx +2 -0
- package/src/components/TestResult/TestResultRetriesView/TestResultRetriesItem.tsx +3 -1
- package/src/components/TestResult/TestResultRetriesView/index.tsx +3 -1
- package/src/components/TestResult/TestResultSetup/index.tsx +3 -1
- package/src/components/TestResult/TestResultSeverity/index.tsx +2 -0
- package/src/components/TestResult/TestResultStatus/index.tsx +2 -0
- package/src/components/TestResult/TestResultSteps/HtmlAttachmentPreview.tsx +1 -0
- package/src/components/TestResult/TestResultSteps/attachment.tsx +3 -1
- package/src/components/TestResult/TestResultSteps/attachmentCode.tsx +1 -0
- package/src/components/TestResult/TestResultSteps/attachmentImage.tsx +3 -1
- package/src/components/TestResult/TestResultSteps/index.tsx +2 -0
- package/src/components/TestResult/TestResultSteps/testResultAttachment.tsx +3 -1
- package/src/components/TestResult/TestResultSteps/testResultAttachmentInfo.tsx +3 -1
- package/src/components/TestResult/TestResultSteps/testResultStep.tsx +3 -1
- package/src/components/TestResult/TestResultSteps/testResultStepInfo.tsx +1 -0
- package/src/components/TestResult/TestResultSteps/wrongAttachment.tsx +2 -1
- package/src/components/TestResult/TestResultTabs/index.tsx +1 -0
- package/src/components/TestResult/TestResultTeardown/index.tsx +3 -1
- package/src/components/TestResult/TestResultView.js +4 -1
- package/src/components/TestResult/index.tsx +3 -1
- package/src/components/TestResultView/index.tsx +1 -0
- package/src/components/Tree/Tree.tsx +3 -0
- package/src/components/Tree/TreeHeader.tsx +2 -0
- package/src/components/Tree/TreeItem.tsx +2 -0
- package/src/components/Tree/TreeItemIcon.tsx +1 -0
- package/src/components/Tree/index.tsx +2 -0
- package/src/index.js +3 -0
- package/src/index.tsx +2 -0
- package/src/stores/behaviors.ts +1 -0
- package/src/stores/categories.ts +1 -0
- package/src/stores/chart.ts +1 -0
- package/src/stores/charts.ts +1 -0
- package/src/stores/envInfo.ts +1 -0
- package/src/stores/locale.ts +3 -0
- package/src/stores/packages.ts +1 -0
- package/src/stores/stats.ts +1 -0
- package/src/stores/testResults.ts +1 -0
- package/src/stores/tree.ts +1 -0
- package/src/stores/trend.ts +2 -1
- package/src/translations/ar.json +137 -0
- package/src/translations/az.json +50 -41
- package/src/translations/constants.ts +6 -0
- package/src/utils/time.ts +1 -0
- package/src/utils/treeFilters.ts +2 -0
- package/test/utils/treeFilters.test.ts +1 -0
- package/tsconfig.json +2 -2
- package/.eslintrc.cjs +0 -22
- package/dist/multi/853.app-edd437fe9a728297ccb2.js +0 -1
- package/dist/multi/app-edd437fe9a728297ccb2.js +0 -2
- package/dist/single/app-a8440cca96ec7c3e12d2.js +0 -2
- /package/dist/multi/{10.app-edd437fe9a728297ccb2.js → 10.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{222.app-edd437fe9a728297ccb2.js → 222.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{26.app-edd437fe9a728297ccb2.js → 26.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{302.app-edd437fe9a728297ccb2.js → 302.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{304.app-edd437fe9a728297ccb2.js → 304.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{369.app-edd437fe9a728297ccb2.js → 369.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{389.app-edd437fe9a728297ccb2.js → 389.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{498.app-edd437fe9a728297ccb2.js → 498.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{60.app-edd437fe9a728297ccb2.js → 60.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{643.app-edd437fe9a728297ccb2.js → 643.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{671.app-edd437fe9a728297ccb2.js → 671.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{725.app-edd437fe9a728297ccb2.js → 725.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{770.app-edd437fe9a728297ccb2.js → 770.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{848.app-edd437fe9a728297ccb2.js → 848.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{872.app-edd437fe9a728297ccb2.js → 872.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{895.app-edd437fe9a728297ccb2.js → 895.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{920.app-edd437fe9a728297ccb2.js → 920.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{979.app-edd437fe9a728297ccb2.js → 979.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{991.app-edd437fe9a728297ccb2.js → 991.app-4b1f7421e41558777592.js} +0 -0
- /package/dist/multi/{app-edd437fe9a728297ccb2.js.LICENSE.txt → app-4b1f7421e41558777592.js.LICENSE.txt} +0 -0
- /package/dist/single/{app-a8440cca96ec7c3e12d2.js.LICENSE.txt → app-9900014b342c2b08335d.js.LICENSE.txt} +0 -0
package/src/stores/charts.ts
CHANGED
package/src/stores/envInfo.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { EnvironmentItem } from "@allurereport/core-api";
|
|
2
2
|
import { fetchReportJsonData } from "@allurereport/web-commons";
|
|
3
3
|
import { signal } from "@preact/signals";
|
|
4
|
+
|
|
4
5
|
import type { StoreSignalState } from "@/stores/types";
|
|
5
6
|
|
|
6
7
|
export const envInfoStore = signal<StoreSignalState<EnvironmentItem[]>>({
|
package/src/stores/locale.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { getReportOptions } from "@allurereport/web-commons";
|
|
2
2
|
import { computed, signal } from "@preact/signals";
|
|
3
3
|
import i18next, { type TOptions } from "i18next";
|
|
4
|
+
|
|
4
5
|
import { DEFAULT_LOCALE, LANG_LOCALE, type LangLocale } from "@/translations/constants";
|
|
6
|
+
|
|
5
7
|
import type { ClassicReportOptions } from "../../types.js";
|
|
6
8
|
|
|
7
9
|
const { reportLanguage } = getReportOptions<ClassicReportOptions>() ?? {};
|
|
@@ -82,4 +84,5 @@ export const setLocale = async (locale: LangLocale) => {
|
|
|
82
84
|
await i18next.changeLanguage(locale);
|
|
83
85
|
localStorage.setItem("currentLocale", locale);
|
|
84
86
|
currentLocale.value = locale;
|
|
87
|
+
document.documentElement.dir = ["ar", "he", "fa"].includes(locale) ? "rtl" : "ltr";
|
|
85
88
|
};
|
package/src/stores/packages.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fetchReportJsonData } from "@allurereport/web-commons";
|
|
2
2
|
import { computed, signal } from "@preact/signals";
|
|
3
3
|
import type { ClassicStatus, ClassicTree, ClassicTreeGroup } from "types";
|
|
4
|
+
|
|
4
5
|
import type { StoreSignalState } from "@/stores/types";
|
|
5
6
|
import { createRecursiveTree, isRecursiveTreeEmpty } from "@/utils/treeFilters";
|
|
6
7
|
|
package/src/stores/stats.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Statistic } from "@allurereport/core-api";
|
|
2
2
|
import { fetchReportJsonData } from "@allurereport/web-commons";
|
|
3
3
|
import { signal } from "@preact/signals";
|
|
4
|
+
|
|
4
5
|
import type { StoreSignalState } from "@/stores/types";
|
|
5
6
|
|
|
6
7
|
export const statsStore = signal<StoreSignalState<Statistic>>({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fetchReportJsonData } from "@allurereport/web-commons";
|
|
2
2
|
import { signal } from "@preact/signals";
|
|
3
3
|
import { type ClassicTestResult } from "types";
|
|
4
|
+
|
|
4
5
|
import { type StoreSignalState } from "./types";
|
|
5
6
|
|
|
6
7
|
export type TestResultsStoreState = Record<string, ClassicTestResult>;
|
package/src/stores/tree.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { fetchReportJsonData } from "@allurereport/web-commons";
|
|
2
2
|
import { computed, signal } from "@preact/signals";
|
|
3
3
|
import type { ClassicStatus, ClassicTree, ClassicTreeGroup } from "types";
|
|
4
|
+
|
|
4
5
|
import type { StoreSignalState } from "@/stores/types";
|
|
5
6
|
import { createRecursiveTree, isRecursiveTreeEmpty } from "@/utils/treeFilters";
|
|
6
7
|
|
package/src/stores/trend.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createCharts, fetchReportJsonData } from "@allurereport/web-commons";
|
|
2
1
|
import type { ChartsData, ChartsResponse, UIChartsData } from "@allurereport/web-commons";
|
|
2
|
+
import { createCharts, fetchReportJsonData } from "@allurereport/web-commons";
|
|
3
3
|
import { signal } from "@preact/signals";
|
|
4
|
+
|
|
4
5
|
import type { StoreSignalState } from "@/stores/types";
|
|
5
6
|
|
|
6
7
|
export const trendStore = signal<StoreSignalState<UIChartsData>>({
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"statuses": {
|
|
3
|
+
"passed": "ناجح",
|
|
4
|
+
"failed": "فشل",
|
|
5
|
+
"broken": "معطل",
|
|
6
|
+
"skipped": "تم تجاوزه",
|
|
7
|
+
"unknown": "غير معروف",
|
|
8
|
+
"total": "الإجمالي",
|
|
9
|
+
"flakyTests": "غير مستقر",
|
|
10
|
+
"newTests": "جديد",
|
|
11
|
+
"retryTests": "إعادة محاولة"
|
|
12
|
+
},
|
|
13
|
+
"testSummary": {
|
|
14
|
+
"all": "كل الاختبارات",
|
|
15
|
+
"flaky": "اختبار غير مستقر",
|
|
16
|
+
"retry": "اختبار مُعاد محاولته",
|
|
17
|
+
"new": "اختبار جديد"
|
|
18
|
+
},
|
|
19
|
+
"tabs": {
|
|
20
|
+
"total": "الكل"
|
|
21
|
+
},
|
|
22
|
+
"search": {
|
|
23
|
+
"search": "بحث",
|
|
24
|
+
"search-placeholder": "الاسم أو المُعرِّف"
|
|
25
|
+
},
|
|
26
|
+
"filters": {
|
|
27
|
+
"more-filters": "فلاتر إضافية",
|
|
28
|
+
"enable-filter": "تفعيل فلتر \"{{filter}}\"",
|
|
29
|
+
"flaky": "غير مستقر",
|
|
30
|
+
"retry": "إعادة محاولة",
|
|
31
|
+
"new": "جديد"
|
|
32
|
+
},
|
|
33
|
+
"sort-by": {
|
|
34
|
+
"sort-by-text": "ترتيب حسب:",
|
|
35
|
+
"sort-by-category": "ترتيب حسب",
|
|
36
|
+
"direction-category": "الاتجاه"
|
|
37
|
+
},
|
|
38
|
+
"sort-by.values": {
|
|
39
|
+
"order": "الترتيب",
|
|
40
|
+
"alphabet": "الأبجدية",
|
|
41
|
+
"duration": "المدة",
|
|
42
|
+
"status": "الحالة"
|
|
43
|
+
},
|
|
44
|
+
"sort-by.directions": {
|
|
45
|
+
"order-desc": "الأحدث – الأقدم",
|
|
46
|
+
"order-asc": "الأقدم – الأحدث",
|
|
47
|
+
"order-asc-short": "الأقدم",
|
|
48
|
+
"order-desc-short": "الأحدث",
|
|
49
|
+
"alphabet-asc": "أ – ي",
|
|
50
|
+
"alphabet-desc": "ي – أ",
|
|
51
|
+
"alphabet-asc-short": "أ – ي",
|
|
52
|
+
"alphabet-desc-short": "ي – أ",
|
|
53
|
+
"duration-asc": "1 – 9",
|
|
54
|
+
"duration-desc": "9 – 1",
|
|
55
|
+
"duration-asc-short": "1 – 9",
|
|
56
|
+
"duration-desc-short": "9 – 1",
|
|
57
|
+
"status-asc": "كما في قائمة الفلتر",
|
|
58
|
+
"status-desc": "معكوس",
|
|
59
|
+
"status-asc-short": "عادي",
|
|
60
|
+
"status-desc-short": "معكوس"
|
|
61
|
+
},
|
|
62
|
+
"empty": {
|
|
63
|
+
"no-results": "لا توجد نتائج",
|
|
64
|
+
"no-tests-found": "لم يتم العثور على نتائج",
|
|
65
|
+
"no-message-provided": "لم يتم تقديم رسالة",
|
|
66
|
+
"clear-filters": "مسح الفلاتر",
|
|
67
|
+
"no-attachments-results": "لا تتوفر معلومات عن المرفقات",
|
|
68
|
+
"no-history-results": "لا تتوفر معلومات عن السجل",
|
|
69
|
+
"no-retries-results": "لا تتوفر معلومات عن محاولات الإعادة"
|
|
70
|
+
},
|
|
71
|
+
"severity": {
|
|
72
|
+
"blocker": "مانع",
|
|
73
|
+
"critical": "خطورة عالية",
|
|
74
|
+
"normal": "عادي",
|
|
75
|
+
"minor": "ثانوي",
|
|
76
|
+
"trivial": "بسيط"
|
|
77
|
+
},
|
|
78
|
+
"execution": {
|
|
79
|
+
"name": "التنفيذ",
|
|
80
|
+
"body": "محتوى الاختبار",
|
|
81
|
+
"setup": "تجهيز",
|
|
82
|
+
"teardown": "تنظيف"
|
|
83
|
+
},
|
|
84
|
+
"ui": {
|
|
85
|
+
"labels": "التصنيفات",
|
|
86
|
+
"metadata": "بيانات وصفية",
|
|
87
|
+
"parameters": "المعاملات",
|
|
88
|
+
"description": "الوصف",
|
|
89
|
+
"links": "الروابط",
|
|
90
|
+
"overview": "نظرة عامة",
|
|
91
|
+
"history": "السجل",
|
|
92
|
+
"attachments": "المرفقات",
|
|
93
|
+
"retries": "محاولات الإعادة",
|
|
94
|
+
"error": "خطأ",
|
|
95
|
+
"goToStep": "انتقل إلى الخطوة",
|
|
96
|
+
"showLess": "عرض أقل",
|
|
97
|
+
"showMore": "عرض المزيد",
|
|
98
|
+
"copy": "نسخ",
|
|
99
|
+
"attempt": "المحاولة {{attempt}} من {{total}}",
|
|
100
|
+
"at": "في"
|
|
101
|
+
},
|
|
102
|
+
"controls": {
|
|
103
|
+
"newTabAttachment": "فتح المرفق في علامة تبويب جديدة",
|
|
104
|
+
"nextTR": "نتيجة الاختبار التالية",
|
|
105
|
+
"prevTR": "نتيجة الاختبار السابقة",
|
|
106
|
+
"downloadAttachment": "تحميل المرفق",
|
|
107
|
+
"backto": "العودة إلى",
|
|
108
|
+
"clipboard": "نسخ إلى الحافظة",
|
|
109
|
+
"clipboardError": "لا يمكن نسخ القيمة إلى الحافظة. يبدو أن هذه الميزة غير مدعومة في متصفحك",
|
|
110
|
+
"clipboardSuccess": "تم النسخ بنجاح",
|
|
111
|
+
"collapse": "طي",
|
|
112
|
+
"expand": "توسيع",
|
|
113
|
+
"fullscreen": "ملء الشاشة",
|
|
114
|
+
"language": "اللغة",
|
|
115
|
+
"openInNewTab": "فتح في علامة تبويب جديدة"
|
|
116
|
+
},
|
|
117
|
+
"errors": {
|
|
118
|
+
"missedAttachment": "المرفق غير موجود"
|
|
119
|
+
},
|
|
120
|
+
"nav": {
|
|
121
|
+
"overview": "نظرة عامة",
|
|
122
|
+
"behaviors": "السلوكيات",
|
|
123
|
+
"categories": "الفئات",
|
|
124
|
+
"graphs": "الرسوم البيانية",
|
|
125
|
+
"packages": "الحزم",
|
|
126
|
+
"suites": "مجموعات الاختبار",
|
|
127
|
+
"timeline": "الخط الزمني"
|
|
128
|
+
},
|
|
129
|
+
"charts": {
|
|
130
|
+
"trend": {
|
|
131
|
+
"title": "مخطط الاتجاه {{type}}"
|
|
132
|
+
},
|
|
133
|
+
"pie": {
|
|
134
|
+
"title": "معدل نجاح الاختبارات"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
package/src/translations/az.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"statuses": {
|
|
3
|
-
"passed": "
|
|
3
|
+
"passed": "uğurlu",
|
|
4
4
|
"failed": "uğursuz",
|
|
5
5
|
"broken": "sınıq",
|
|
6
|
-
"skipped": "
|
|
6
|
+
"skipped": "buraxılmış",
|
|
7
7
|
"unknown": "naməlum",
|
|
8
8
|
"total": "cəmi",
|
|
9
|
-
"flakyTests": "
|
|
9
|
+
"flakyTests": "qeyri-sabit",
|
|
10
10
|
"newTests": "yeni",
|
|
11
11
|
"retryTests": "təkrar"
|
|
12
12
|
},
|
|
13
13
|
"testSummary": {
|
|
14
14
|
"all": "Bütün testlər",
|
|
15
|
-
"flaky": "
|
|
15
|
+
"flaky": "Qeyri-sabit testlər",
|
|
16
16
|
"retry": "Təkrar testlər",
|
|
17
17
|
"new": "Yeni testlər"
|
|
18
18
|
},
|
|
19
19
|
"tabs": {
|
|
20
|
-
"total": "
|
|
20
|
+
"total": "Hamısı"
|
|
21
21
|
},
|
|
22
22
|
"search": {
|
|
23
23
|
"search": "Axtarış",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
},
|
|
26
26
|
"filters": {
|
|
27
27
|
"more-filters": "Daha çox filtr",
|
|
28
|
-
"enable-filter": "\"{{filter}}\"
|
|
29
|
-
"flaky": "
|
|
28
|
+
"enable-filter": "\"{{filter}}\" filtrini aktivləşdir",
|
|
29
|
+
"flaky": "Qeyri-sabit",
|
|
30
30
|
"retry": "Təkrar",
|
|
31
31
|
"new": "Yeni"
|
|
32
32
|
},
|
|
33
33
|
"sort-by": {
|
|
34
|
-
"sort-by-text": "
|
|
35
|
-
"sort-by-category": "
|
|
34
|
+
"sort-by-text": "Sıralama növü:",
|
|
35
|
+
"sort-by-category": "Sıralama",
|
|
36
36
|
"direction-category": "İstiqamət"
|
|
37
37
|
},
|
|
38
38
|
"sort-by.values": {
|
|
@@ -42,30 +42,31 @@
|
|
|
42
42
|
"status": "Status"
|
|
43
43
|
},
|
|
44
44
|
"sort-by.directions": {
|
|
45
|
-
"order-desc": "Sonuncu
|
|
46
|
-
"order-asc": "Birinci
|
|
45
|
+
"order-desc": "Sonuncu – Birinci",
|
|
46
|
+
"order-asc": "Birinci – Sonuncu",
|
|
47
47
|
"order-asc-short": "Birinci",
|
|
48
48
|
"order-desc-short": "Sonuncu",
|
|
49
|
-
"alphabet-asc": "A
|
|
50
|
-
"alphabet-desc": "Z
|
|
51
|
-
"alphabet-asc-short": "A
|
|
52
|
-
"alphabet-desc-short": "Z
|
|
53
|
-
"duration-asc": "1
|
|
54
|
-
"duration-desc": "9
|
|
55
|
-
"duration-asc-short": "1
|
|
56
|
-
"duration-desc-short": "9
|
|
57
|
-
"status-asc": "Filtr
|
|
58
|
-
"status-desc": "
|
|
59
|
-
"status-asc-short": "
|
|
49
|
+
"alphabet-asc": "A – Z",
|
|
50
|
+
"alphabet-desc": "Z – A",
|
|
51
|
+
"alphabet-asc-short": "A – Z",
|
|
52
|
+
"alphabet-desc-short": "Z – A",
|
|
53
|
+
"duration-asc": "1 – 9",
|
|
54
|
+
"duration-desc": "9 – 1",
|
|
55
|
+
"duration-asc-short": "1 – 9",
|
|
56
|
+
"duration-desc-short": "9 – 1",
|
|
57
|
+
"status-asc": "Filtr siyahısındakı kimi",
|
|
58
|
+
"status-desc": "Tərs",
|
|
59
|
+
"status-asc-short": "Normal",
|
|
60
60
|
"status-desc-short": "Tərs"
|
|
61
61
|
},
|
|
62
62
|
"empty": {
|
|
63
|
-
"no-results": "Nəticə
|
|
63
|
+
"no-results": "Nəticə yoxdur",
|
|
64
64
|
"no-tests-found": "Nəticə tapılmadı",
|
|
65
|
+
"no-message-provided": "Mesaj təqdim edilməyib",
|
|
65
66
|
"clear-filters": "Filtrləri təmizlə",
|
|
66
|
-
"no-attachments-results": "
|
|
67
|
-
"no-history-results": "Tarixçə
|
|
68
|
-
"no-retries-results": "Təkrar
|
|
67
|
+
"no-attachments-results": "Qoşmalar haqqında məlumat yoxdur",
|
|
68
|
+
"no-history-results": "Tarixçə haqqında məlumat yoxdur",
|
|
69
|
+
"no-retries-results": "Təkrar cəhdlər haqqında məlumat yoxdur"
|
|
69
70
|
},
|
|
70
71
|
"severity": {
|
|
71
72
|
"blocker": "bloklayıcı",
|
|
@@ -76,9 +77,9 @@
|
|
|
76
77
|
},
|
|
77
78
|
"execution": {
|
|
78
79
|
"name": "İcra",
|
|
79
|
-
"body": "
|
|
80
|
-
"setup": "
|
|
81
|
-
"teardown": "
|
|
80
|
+
"body": "Testin məzmunu",
|
|
81
|
+
"setup": "Quraşdırma (Setup)",
|
|
82
|
+
"teardown": "Yekunlaşdırma (Teardown)"
|
|
82
83
|
},
|
|
83
84
|
"ui": {
|
|
84
85
|
"labels": "Etiketlər",
|
|
@@ -88,41 +89,49 @@
|
|
|
88
89
|
"links": "Keçidlər",
|
|
89
90
|
"overview": "Ümumi baxış",
|
|
90
91
|
"history": "Tarixçə",
|
|
91
|
-
"attachments": "
|
|
92
|
-
"retries": "
|
|
93
|
-
"error": "
|
|
92
|
+
"attachments": "Qoşmalar",
|
|
93
|
+
"retries": "Təkrar cəhdlər",
|
|
94
|
+
"error": "Xəta",
|
|
94
95
|
"goToStep": "Addıma keç",
|
|
95
96
|
"showLess": "Daha az göstər",
|
|
96
97
|
"showMore": "Daha çox göstər",
|
|
97
98
|
"copy": "Kopyala",
|
|
98
99
|
"attempt": "Cəhd {{attempt}} / {{total}}",
|
|
99
|
-
"at": "
|
|
100
|
+
"at": "saat"
|
|
100
101
|
},
|
|
101
102
|
"controls": {
|
|
102
|
-
"newTabAttachment": "
|
|
103
|
+
"newTabAttachment": "Qoşmanı yeni tabda aç",
|
|
103
104
|
"nextTR": "Növbəti test nəticəsi",
|
|
104
105
|
"prevTR": "Əvvəlki test nəticəsi",
|
|
105
|
-
"downloadAttachment": "
|
|
106
|
+
"downloadAttachment": "Qoşmanı yüklə",
|
|
106
107
|
"backto": "Geri dön",
|
|
107
|
-
"clipboard": "
|
|
108
|
-
"clipboardError": "
|
|
108
|
+
"clipboard": "Mübadilə buferinə kopyala",
|
|
109
|
+
"clipboardError": "Xəta. Görünür brauzeriniz bu funksiyanı dəstəkləmir",
|
|
109
110
|
"clipboardSuccess": "Uğurla kopyalandı",
|
|
110
|
-
"collapse": "
|
|
111
|
+
"collapse": "Yığ",
|
|
111
112
|
"expand": "Genişləndir",
|
|
112
113
|
"fullscreen": "Tam ekran",
|
|
113
114
|
"language": "Dili dəyiş",
|
|
114
115
|
"openInNewTab": "Yeni tabda aç"
|
|
115
116
|
},
|
|
116
117
|
"errors": {
|
|
117
|
-
"missedAttachment": "
|
|
118
|
+
"missedAttachment": "Qoşma tapılmadı"
|
|
118
119
|
},
|
|
119
120
|
"nav": {
|
|
120
|
-
"overview": "
|
|
121
|
+
"overview": "Ümumi baxış",
|
|
121
122
|
"behaviors": "Davranışlar",
|
|
122
123
|
"categories": "Kateqoriyalar",
|
|
123
124
|
"graphs": "Qrafiklər",
|
|
124
125
|
"packages": "Paketlər",
|
|
125
126
|
"suites": "Dəstlər",
|
|
126
|
-
"timeline": "Zaman
|
|
127
|
+
"timeline": "Zaman xətti"
|
|
128
|
+
},
|
|
129
|
+
"charts": {
|
|
130
|
+
"trend": {
|
|
131
|
+
"title": "Trend {{type}} Qrafiki"
|
|
132
|
+
},
|
|
133
|
+
"pie": {
|
|
134
|
+
"title": "Testin Uğur Faizi"
|
|
135
|
+
}
|
|
127
136
|
}
|
|
128
137
|
}
|
|
@@ -7,6 +7,7 @@ export const AVAILABLE_LOCALES = [
|
|
|
7
7
|
"pt",
|
|
8
8
|
"de",
|
|
9
9
|
"am",
|
|
10
|
+
"ar",
|
|
10
11
|
"az",
|
|
11
12
|
"fr",
|
|
12
13
|
"it",
|
|
@@ -72,6 +73,11 @@ export const LANG_LOCALE: Record<
|
|
|
72
73
|
full: "Հայերեն",
|
|
73
74
|
iso: "hy-AM",
|
|
74
75
|
},
|
|
76
|
+
"ar": {
|
|
77
|
+
short: "Ar",
|
|
78
|
+
full: "العربية",
|
|
79
|
+
iso: "ar-SA",
|
|
80
|
+
},
|
|
75
81
|
"az": {
|
|
76
82
|
short: "Az",
|
|
77
83
|
full: "Azərbaycan",
|
package/src/utils/time.ts
CHANGED
package/src/utils/treeFilters.ts
CHANGED
|
@@ -11,7 +11,9 @@ import {
|
|
|
11
11
|
ordinal,
|
|
12
12
|
reverse,
|
|
13
13
|
} from "@allurereport/core-api";
|
|
14
|
+
|
|
14
15
|
import type { TreeFiltersState, TreeSortBy } from "@/stores/tree";
|
|
16
|
+
|
|
15
17
|
import type { ClassicRecursiveTree, ClassicTree, ClassicTreeGroup, ClassicTreeLeaf } from "../../types";
|
|
16
18
|
|
|
17
19
|
export const isIncluded = (leaf: TreeLeaf<ClassicTreeLeaf>, filterOptions: TreeFiltersState) => {
|
package/tsconfig.json
CHANGED
package/.eslintrc.cjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {browser: true, es2020: true},
|
|
3
|
-
extends: [
|
|
4
|
-
"eslint-config-preact",
|
|
5
|
-
"../../.eslintrc.cjs",
|
|
6
|
-
],
|
|
7
|
-
ignorePatterns: ["dist", ".eslintrc.cjs", "postcss.config.js", "webpack.config.js", "types.d.ts"],
|
|
8
|
-
parser: "@typescript-eslint/parser",
|
|
9
|
-
overrides: [
|
|
10
|
-
{
|
|
11
|
-
extends: ["plugin:@typescript-eslint/disable-type-checked"],
|
|
12
|
-
files: [".eslintrc.cjs", ".babelrc.js"],
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
rules: {
|
|
16
|
-
"n/file-extension-in-import": "off",
|
|
17
|
-
"@typescript-eslint/consistent-type-imports": ["error", {
|
|
18
|
-
fixStyle: 'separate-type-imports',
|
|
19
|
-
prefer: 'type-imports',
|
|
20
|
-
}],
|
|
21
|
-
}
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_allurereport_web_classic=self.webpackChunk_allurereport_web_classic||[]).push([[853],{3853:function(a){a.exports=JSON.parse('{"statuses":{"passed":"keçdi","failed":"uğursuz","broken":"sınıq","skipped":"keçildi","unknown":"naməlum","total":"cəmi","flakyTests":"etibarsız","newTests":"yeni","retryTests":"təkrar"},"testSummary":{"all":"Bütün testlər","flaky":"Etibarsız testlər","retry":"Təkrar testlər","new":"Yeni testlər"},"tabs":{"total":"Bütün"},"search":{"search":"Axtarış","search-placeholder":"Ad və ya ID"},"filters":{"more-filters":"Daha çox filtr","enable-filter":"\\"{{filter}}\\" filtrlərini aktiv edin","flaky":"Etibarsız","retry":"Təkrar","new":"Yeni"},"sort-by":{"sort-by-text":"Sıralamaq üzrə:","sort-by-category":"Sıralamaq üzrə","direction-category":"İstiqamət"},"sort-by.values":{"order":"Sıra","alphabet":"Əlifba","duration":"Müddət","status":"Status"},"sort-by.directions":{"order-desc":"Sonuncu – Birinci","order-asc":"Birinci – Sonuncu","order-asc-short":"Birinci","order-desc-short":"Sonuncu","alphabet-asc":"A – Z","alphabet-desc":"Z – A","alphabet-asc-short":"A – Z","alphabet-desc-short":"Z – A","duration-asc":"1 – 9","duration-desc":"9 – 1","duration-asc-short":"1 – 9","duration-desc-short":"9 – 1","status-asc":"Filtr siyahısına uyğun","status-desc":"Tərsinə çevrilmiş","status-asc-short":"Adi","status-desc-short":"Tərs"},"empty":{"no-results":"Nəticə tapılmadı","no-tests-found":"Nəticə tapılmadı","clear-filters":"Filtrləri təmizlə","no-attachments-results":"Əlavə məlumatı mövcud deyil","no-history-results":"Tarixçə məlumatı mövcud deyil","no-retries-results":"Təkrar məlumatı mövcud deyil"},"severity":{"blocker":"bloklayıcı","critical":"kritik","normal":"normal","minor":"kiçik","trivial":"əhəmiyyətsiz"},"execution":{"name":"İcra","body":"Test məzmunu","setup":"Hazırlıq","teardown":"Yekunlaşma"},"ui":{"labels":"Etiketlər","metadata":"Metaməlumat","parameters":"Parametrlər","description":"Təsvir","links":"Keçidlər","overview":"Ümumi baxış","history":"Tarixçə","attachments":"Əlavələr","retries":"Təkrarlar","error":"Səhv","goToStep":"Addıma keç","showLess":"Daha az göstər","showMore":"Daha çox göstər","copy":"Kopyala","attempt":"Cəhd {{attempt}} / {{total}}","at":"üçün"},"controls":{"newTabAttachment":"Yeni sekmede aç","nextTR":"Növbəti test nəticəsi","prevTR":"Əvvəlki test nəticəsi","downloadAttachment":"Əlavəni yüklə","backto":"Geri dön","clipboard":"Panoya kopyala","clipboardError":"Səhv. Görünür, bu xüsusiyyət brauzeriniz tərəfindən dəstəklənmir","clipboardSuccess":"Uğurla kopyalandı","collapse":"Daralt","expand":"Genişləndir","fullscreen":"Tam ekran","language":"Dili dəyiş","openInNewTab":"Yeni tabda aç"},"errors":{"missedAttachment":"Əlavə tapılmadı"},"nav":{"overview":"İcmal","behaviors":"Davranışlar","categories":"Kateqoriyalar","graphs":"Qrafiklər","packages":"Paketlər","suites":"Dəstlər","timeline":"Zaman çizelgesi"}}')}}]);
|