html-reporter 9.10.3 → 9.11.1
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/build/hermione.js +11 -7
- package/build/hermione.js.map +1 -1
- package/build/lib/cli-commands/gui.js +2 -1
- package/build/lib/cli-commands/gui.js.map +1 -1
- package/build/lib/cli-commands/index.d.ts +5 -3
- package/build/lib/cli-commands/index.js +4 -2
- package/build/lib/cli-commands/index.js.map +1 -1
- package/build/lib/cli-commands/merge-reports.js +2 -1
- package/build/lib/cli-commands/merge-reports.js.map +1 -1
- package/build/lib/cli-commands/remove-unused-screens/index.js +2 -1
- package/build/lib/cli-commands/remove-unused-screens/index.js.map +1 -1
- package/build/lib/common-utils.d.ts +19 -8
- package/build/lib/common-utils.js +61 -12
- package/build/lib/common-utils.js.map +1 -1
- package/build/lib/config/custom-gui-asserts.d.ts +1 -1
- package/build/lib/config/custom-gui-asserts.js +28 -22
- package/build/lib/config/custom-gui-asserts.js.map +1 -1
- package/build/lib/config/index.d.ts +2 -21
- package/build/lib/config/index.js +84 -80
- package/build/lib/config/index.js.map +1 -1
- package/build/lib/constants/browser.d.ts +2 -2
- package/build/lib/constants/browser.js +6 -3
- package/build/lib/constants/browser.js.map +1 -1
- package/build/lib/constants/database.d.ts +32 -25
- package/build/lib/constants/database.js +29 -30
- package/build/lib/constants/database.js.map +1 -1
- package/build/lib/constants/defaults.d.ts +3 -18
- package/build/lib/constants/defaults.js +25 -21
- package/build/lib/constants/defaults.js.map +1 -1
- package/build/lib/constants/diff-modes.d.ts +41 -53
- package/build/lib/constants/diff-modes.js +3 -1
- package/build/lib/constants/diff-modes.js.map +1 -1
- package/build/lib/constants/index.d.ts +9 -0
- package/build/lib/constants/index.js +26 -0
- package/build/lib/constants/index.js.map +1 -0
- package/build/lib/constants/paths.d.ts +2 -2
- package/build/lib/constants/paths.js +5 -5
- package/build/lib/constants/paths.js.map +1 -1
- package/build/lib/constants/performance-marks.d.ts +9 -0
- package/build/lib/constants/performance-marks.js +11 -0
- package/build/lib/constants/performance-marks.js.map +1 -0
- package/build/lib/constants/plugin-events.d.ts +6 -5
- package/build/lib/constants/plugin-events.js +10 -9
- package/build/lib/constants/plugin-events.js.map +1 -1
- package/build/lib/constants/save-formats.d.ts +3 -1
- package/build/lib/constants/save-formats.js +7 -4
- package/build/lib/constants/save-formats.js.map +1 -1
- package/build/lib/constants/test-statuses.d.ts +18 -8
- package/build/lib/constants/test-statuses.js +22 -11
- package/build/lib/constants/test-statuses.js.map +1 -1
- package/build/lib/constants/view-modes.d.ts +7 -5
- package/build/lib/constants/view-modes.js +11 -8
- package/build/lib/constants/view-modes.js.map +1 -1
- package/build/lib/csv-adapter.d.ts +68 -0
- package/build/lib/csv-adapter.js +154 -0
- package/build/lib/csv-adapter.js.map +1 -0
- package/build/lib/db-utils/client.d.ts +6 -19
- package/build/lib/db-utils/client.js +1 -0
- package/build/lib/db-utils/client.js.map +1 -1
- package/build/lib/db-utils/common.d.ts +28 -10
- package/build/lib/db-utils/common.js +29 -20
- package/build/lib/db-utils/common.js.map +1 -1
- package/build/lib/db-utils/server.d.ts +9 -16
- package/build/lib/db-utils/server.js +82 -43
- package/build/lib/db-utils/server.js.map +1 -1
- package/build/lib/errors/db-not-initialized-error.d.ts +3 -0
- package/build/lib/errors/db-not-initialized-error.js +10 -0
- package/build/lib/errors/db-not-initialized-error.js.map +1 -0
- package/build/lib/errors/index.d.ts +28 -0
- package/build/lib/errors/index.js +8 -0
- package/build/lib/errors/index.js.map +1 -0
- package/build/lib/gui/app.d.ts +32 -30
- package/build/lib/gui/index.js +26 -2
- package/build/lib/gui/index.js.map +1 -1
- package/build/lib/gui/tool-runner/index.d.ts +46 -60
- package/build/lib/gui/tool-runner/index.js +9 -8
- package/build/lib/gui/tool-runner/index.js.map +1 -1
- package/build/lib/gui/tool-runner/report-subscriber.js +21 -17
- package/build/lib/gui/tool-runner/report-subscriber.js.map +1 -1
- package/build/lib/image-cache.d.ts +3 -0
- package/build/lib/image-cache.js +7 -0
- package/build/lib/image-cache.js.map +1 -0
- package/build/lib/image-handler.d.ts +33 -0
- package/build/lib/image-handler.js +248 -0
- package/build/lib/image-handler.js.map +1 -0
- package/build/lib/image-store.d.ts +11 -0
- package/build/lib/image-store.js +24 -0
- package/build/lib/image-store.js.map +1 -0
- package/build/lib/local-images-saver.d.ts +2 -4
- package/build/lib/local-images-saver.js +6 -4
- package/build/lib/local-images-saver.js.map +1 -1
- package/build/lib/plugin-adapter.d.ts +14 -29
- package/build/lib/plugin-adapter.js +44 -15
- package/build/lib/plugin-adapter.js.map +1 -1
- package/build/lib/plugin-api.d.ts +31 -55
- package/build/lib/plugin-api.js +21 -12
- package/build/lib/plugin-api.js.map +1 -1
- package/build/lib/plugin-utils.d.ts +2 -3
- package/build/lib/plugin-utils.js +10 -4
- package/build/lib/plugin-utils.js.map +1 -1
- package/build/lib/report-builder/gui.d.ts +49 -34
- package/build/lib/report-builder/gui.js +6 -10
- package/build/lib/report-builder/gui.js.map +1 -1
- package/build/lib/report-builder/static.d.ts +33 -28
- package/build/lib/report-builder/static.js +69 -63
- package/build/lib/report-builder/static.js.map +1 -1
- package/build/lib/reporter-helpers.d.ts +2 -2
- package/build/lib/reporter-helpers.js +5 -4
- package/build/lib/reporter-helpers.js.map +1 -1
- package/build/lib/server-utils.d.ts +69 -42
- package/build/lib/server-utils.js +118 -113
- package/build/lib/server-utils.js.map +1 -1
- package/build/lib/sqlite-adapter.d.ts +66 -76
- package/build/lib/sqlite-adapter.js +62 -61
- package/build/lib/sqlite-adapter.js.map +1 -1
- package/build/lib/static/gui.min.css +1 -1
- package/build/lib/static/gui.min.js +16 -16
- package/build/lib/static/gui.min.js.gz +0 -0
- package/build/lib/static/modules/utils.js +5 -5
- package/build/lib/static/modules/utils.js.map +1 -1
- package/build/lib/static/report.min.css +1 -1
- package/build/lib/static/report.min.js +16 -16
- package/build/lib/static/report.min.js.gz +0 -0
- package/build/lib/suite-adapter.d.ts +14 -13
- package/build/lib/suite-adapter.js +24 -19
- package/build/lib/suite-adapter.js.map +1 -1
- package/build/lib/test-adapter/cache/hermione.d.ts +1 -0
- package/build/lib/test-adapter/cache/hermione.js +5 -0
- package/build/lib/test-adapter/cache/hermione.js.map +1 -0
- package/build/lib/test-adapter/hermione.d.ts +50 -0
- package/build/lib/test-adapter/hermione.js +183 -0
- package/build/lib/test-adapter/hermione.js.map +1 -0
- package/build/lib/test-adapter/index.d.ts +31 -0
- package/build/lib/test-adapter/index.js +18 -0
- package/build/lib/test-adapter/index.js.map +1 -0
- package/build/lib/test-adapter.d.ts +53 -111
- package/build/lib/test-adapter.js +69 -256
- package/build/lib/test-adapter.js.map +1 -1
- package/build/lib/tests-tree-builder/base.d.ts +81 -64
- package/build/lib/tests-tree-builder/base.js +22 -16
- package/build/lib/tests-tree-builder/base.js.map +1 -1
- package/build/lib/tests-tree-builder/gui.d.ts +35 -13
- package/build/lib/tests-tree-builder/gui.js +1 -1
- package/build/lib/tests-tree-builder/gui.js.map +1 -1
- package/build/lib/tests-tree-builder/static.d.ts +45 -51
- package/build/lib/tests-tree-builder/static.js +33 -30
- package/build/lib/tests-tree-builder/static.js.map +1 -1
- package/build/lib/types.d.ts +174 -0
- package/build/lib/types.js +3 -0
- package/build/lib/types.js.map +1 -0
- package/build/lib/workers/create-workers.d.ts +14 -2
- package/build/lib/workers/create-workers.js +5 -2
- package/build/lib/workers/create-workers.js.map +1 -1
- package/build/lib/workers/worker.d.ts +2 -1
- package/build/lib/workers/worker.js +11 -11
- package/build/lib/workers/worker.js.map +1 -1
- package/build/package.json +15 -5
- package/package.json +15 -5
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import type { LooksSameOptions, CoordBounds } from 'looks-same';
|
|
2
|
+
import type { default as Hermione, TestResult as HermioneTestResultOriginal } from 'hermione';
|
|
3
|
+
import { DiffModeId, SaveFormat, TestStatus, ViewMode } from './constants';
|
|
4
|
+
import type { HtmlReporter } from './plugin-api';
|
|
5
|
+
import { ImageDiffError, NoRefImageError } from './errors';
|
|
6
|
+
declare module 'tmp' {
|
|
7
|
+
const tmpdir: string;
|
|
8
|
+
}
|
|
9
|
+
export { Suite as HermioneSuite } from 'hermione';
|
|
10
|
+
export interface HermioneTestResult extends HermioneTestResultOriginal {
|
|
11
|
+
timestamp?: number;
|
|
12
|
+
updated?: boolean;
|
|
13
|
+
origAttempt?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ImagesSaver {
|
|
16
|
+
saveImg: (localFilePath: string, options: {
|
|
17
|
+
destPath: string;
|
|
18
|
+
reportDir: string;
|
|
19
|
+
}) => string | Promise<string>;
|
|
20
|
+
}
|
|
21
|
+
export interface ReportsSaver {
|
|
22
|
+
saveReportData: (localDbPath: string, options: {
|
|
23
|
+
destPath: string;
|
|
24
|
+
reportDir: string;
|
|
25
|
+
}) => string | Promise<string>;
|
|
26
|
+
}
|
|
27
|
+
export interface ErrorDetails {
|
|
28
|
+
title: string;
|
|
29
|
+
data?: unknown;
|
|
30
|
+
filePath: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ImageSize {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
}
|
|
36
|
+
export interface ImageData {
|
|
37
|
+
path: string;
|
|
38
|
+
size: ImageSize;
|
|
39
|
+
}
|
|
40
|
+
export interface ImageBase64 {
|
|
41
|
+
base64: string;
|
|
42
|
+
size: ImageSize;
|
|
43
|
+
}
|
|
44
|
+
export interface DiffOptions extends LooksSameOptions {
|
|
45
|
+
current: string;
|
|
46
|
+
reference: string;
|
|
47
|
+
diffColor: string;
|
|
48
|
+
}
|
|
49
|
+
export interface ImageInfoFail {
|
|
50
|
+
status: TestStatus.FAIL;
|
|
51
|
+
stateName: string;
|
|
52
|
+
refImg?: ImageData;
|
|
53
|
+
diffClusters?: CoordBounds[];
|
|
54
|
+
expectedImg: ImageData;
|
|
55
|
+
actualImg: ImageData;
|
|
56
|
+
diffImg: ImageData;
|
|
57
|
+
}
|
|
58
|
+
interface AssertViewSuccess {
|
|
59
|
+
stateName: string;
|
|
60
|
+
refImg: ImageData;
|
|
61
|
+
}
|
|
62
|
+
export interface ImageInfoSuccess {
|
|
63
|
+
status: TestStatus.SUCCESS | TestStatus.UPDATED;
|
|
64
|
+
stateName: string;
|
|
65
|
+
refImg?: ImageData;
|
|
66
|
+
diffClusters?: CoordBounds[];
|
|
67
|
+
expectedImg: ImageData;
|
|
68
|
+
actualImg?: ImageData;
|
|
69
|
+
}
|
|
70
|
+
export interface ImageInfoError {
|
|
71
|
+
status: TestStatus.ERROR;
|
|
72
|
+
error?: {
|
|
73
|
+
message: string;
|
|
74
|
+
stack: string;
|
|
75
|
+
};
|
|
76
|
+
stateName?: string;
|
|
77
|
+
refImg?: ImageData;
|
|
78
|
+
diffClusters?: CoordBounds[];
|
|
79
|
+
actualImg: ImageData;
|
|
80
|
+
}
|
|
81
|
+
export type ImageInfoFull = ImageInfoFail | ImageInfoSuccess | ImageInfoError;
|
|
82
|
+
export type ImageInfo = Omit<ImageInfoFail, 'status' | 'stateName'> | Omit<ImageInfoSuccess, 'status' | 'stateName'> | Omit<ImageInfoError, 'status' | 'stateName'>;
|
|
83
|
+
export type AssertViewResult = AssertViewSuccess | ImageDiffError | NoRefImageError;
|
|
84
|
+
export interface TestError {
|
|
85
|
+
message: string;
|
|
86
|
+
stack?: string;
|
|
87
|
+
stateName?: string;
|
|
88
|
+
details?: ErrorDetails;
|
|
89
|
+
screenshot?: ImageBase64;
|
|
90
|
+
}
|
|
91
|
+
export interface LabeledSuitesRow {
|
|
92
|
+
imagesInfo: string;
|
|
93
|
+
timestamp: number;
|
|
94
|
+
}
|
|
95
|
+
export type RawSuitesRow = LabeledSuitesRow[keyof LabeledSuitesRow][];
|
|
96
|
+
export interface ParsedSuitesRow {
|
|
97
|
+
description: string | null;
|
|
98
|
+
error: {
|
|
99
|
+
message: string;
|
|
100
|
+
stack: string;
|
|
101
|
+
};
|
|
102
|
+
history: unknown;
|
|
103
|
+
imagesInfo: ImageInfoFull[];
|
|
104
|
+
metaInfo: {
|
|
105
|
+
browserVersion?: string;
|
|
106
|
+
[key: string]: unknown;
|
|
107
|
+
};
|
|
108
|
+
multipleTabs: boolean;
|
|
109
|
+
name: string;
|
|
110
|
+
screenshot: boolean;
|
|
111
|
+
skipReason: string;
|
|
112
|
+
status: TestStatus;
|
|
113
|
+
suiteUrl: string;
|
|
114
|
+
}
|
|
115
|
+
export interface Attempt {
|
|
116
|
+
attempt: number;
|
|
117
|
+
}
|
|
118
|
+
export interface HtmlReporterApi {
|
|
119
|
+
htmlReporter: HtmlReporter;
|
|
120
|
+
}
|
|
121
|
+
export interface ErrorPattern {
|
|
122
|
+
name: string;
|
|
123
|
+
pattern: string;
|
|
124
|
+
}
|
|
125
|
+
export interface PluginDescription {
|
|
126
|
+
name: string;
|
|
127
|
+
component: string;
|
|
128
|
+
point?: string;
|
|
129
|
+
position?: 'after' | 'before' | 'wrap';
|
|
130
|
+
config?: Record<string, unknown>;
|
|
131
|
+
}
|
|
132
|
+
export interface CustomGuiItem {
|
|
133
|
+
type: string;
|
|
134
|
+
controls: {
|
|
135
|
+
label: string;
|
|
136
|
+
value: string;
|
|
137
|
+
}[];
|
|
138
|
+
initialize?: (data: {
|
|
139
|
+
hermione: Hermione;
|
|
140
|
+
ctx: object;
|
|
141
|
+
}) => void | Promise<void>;
|
|
142
|
+
action: (data: {
|
|
143
|
+
hermione: Hermione;
|
|
144
|
+
ctx: object;
|
|
145
|
+
control: object;
|
|
146
|
+
}) => void | Promise<void>;
|
|
147
|
+
}
|
|
148
|
+
export interface ReporterConfig {
|
|
149
|
+
baseHost: string;
|
|
150
|
+
commandsWithShortHistory: string[];
|
|
151
|
+
customGui: Record<string, CustomGuiItem[]>;
|
|
152
|
+
customScripts: (() => void)[];
|
|
153
|
+
defaultView: ViewMode;
|
|
154
|
+
diffMode: DiffModeId;
|
|
155
|
+
enabled: boolean;
|
|
156
|
+
errorPatterns: ErrorPattern[];
|
|
157
|
+
lazyLoadOffset: number | null;
|
|
158
|
+
metaInfoBaseUrls: Record<string, string>;
|
|
159
|
+
path: string;
|
|
160
|
+
plugins: PluginDescription[];
|
|
161
|
+
pluginsEnabled: boolean;
|
|
162
|
+
saveErrorDetails: boolean;
|
|
163
|
+
saveFormat: SaveFormat;
|
|
164
|
+
yandexMetrika: {
|
|
165
|
+
counterNumber: null | number;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
export type ReporterOptions = Omit<ReporterConfig, 'errorPatterns'> & {
|
|
169
|
+
errorPatterns: (string | ErrorPattern)[];
|
|
170
|
+
};
|
|
171
|
+
export interface DbUrlsJsonData {
|
|
172
|
+
dbUrls: string[];
|
|
173
|
+
jsonUrls: string[];
|
|
174
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { EventEmitter } from 'events';
|
|
3
|
+
type MapOfMethods<T extends ReadonlyArray<string>> = {
|
|
4
|
+
[K in T[number]]: (...args: Array<unknown>) => Promise<unknown> | unknown;
|
|
5
|
+
};
|
|
6
|
+
export type RegisterWorkers<T extends ReadonlyArray<string>> = EventEmitter & MapOfMethods<T>;
|
|
7
|
+
export declare const createWorkers: (runner: {
|
|
8
|
+
registerWorkers: (workerFilePath: string, exportedMethods: string[]) => RegisterWorkers<[
|
|
9
|
+
'saveDiffTo'
|
|
10
|
+
]>;
|
|
11
|
+
}) => RegisterWorkers<[
|
|
12
|
+
'saveDiffTo'
|
|
13
|
+
]>;
|
|
14
|
+
export {};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createWorkers = void 0;
|
|
4
|
+
const createWorkers = (runner) => {
|
|
3
5
|
const workerFilepath = require.resolve('./worker');
|
|
4
6
|
return runner.registerWorkers(workerFilepath, ['saveDiffTo']);
|
|
5
7
|
};
|
|
8
|
+
exports.createWorkers = createWorkers;
|
|
6
9
|
//# sourceMappingURL=create-workers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-workers.js","sourceRoot":"","sources":["../../../lib/workers/create-workers.
|
|
1
|
+
{"version":3,"file":"create-workers.js","sourceRoot":"","sources":["../../../lib/workers/create-workers.ts"],"names":[],"mappings":";;;AAQO,MAAM,aAAa,GAAG,CACzB,MAAiH,EAClF,EAAE;IACjC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC,eAAe,CAAC,cAAc,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;AAClE,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { ImageDiffError } from '../errors';
|
|
2
|
+
export declare function saveDiffTo(imageDiffError: ImageDiffError, diffPath: string): Promise<null>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @param {Object} imageDiffError
|
|
6
|
-
* @param {String} diffPath
|
|
7
|
-
*/
|
|
8
|
-
saveDiffTo: function (imageDiffError, diffPath) {
|
|
9
|
-
const { diffColor: highlightColor, ...otherOpts } = imageDiffError.diffOpts;
|
|
10
|
-
return looksSame.createDiff({ diff: diffPath, highlightColor, ...otherOpts });
|
|
11
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
12
4
|
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.saveDiffTo = void 0;
|
|
7
|
+
const looks_same_1 = __importDefault(require("looks-same"));
|
|
8
|
+
function saveDiffTo(imageDiffError, diffPath) {
|
|
9
|
+
const { diffColor: highlightColor, ...otherOpts } = imageDiffError.diffOpts;
|
|
10
|
+
return looks_same_1.default.createDiff({ diff: diffPath, highlightColor, ...otherOpts });
|
|
11
|
+
}
|
|
12
|
+
exports.saveDiffTo = saveDiffTo;
|
|
13
13
|
//# sourceMappingURL=worker.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../lib/workers/worker.
|
|
1
|
+
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../lib/workers/worker.ts"],"names":[],"mappings":";;;;;;AAAA,4DAAmC;AAGnC,SAAgB,UAAU,CAAC,cAA8B,EAAE,QAAgB;IACvE,MAAM,EAAC,SAAS,EAAE,cAAc,EAAE,GAAG,SAAS,EAAC,GAAG,cAAc,CAAC,QAAQ,CAAC;IAE1E,OAAO,oBAAS,CAAC,UAAU,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,GAAG,SAAS,EAAC,CAAC,CAAC;AAChF,CAAC;AAJD,gCAIC"}
|
package/build/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-reporter",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.11.1",
|
|
4
4
|
"description": "Plugin for hermione which is intended to aggregate the results of tests running into html report",
|
|
5
5
|
"files": [
|
|
6
6
|
"build"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@babel/runtime": "^7.22.5",
|
|
61
61
|
"@gemini-testing/sql.js": "^1.0.1",
|
|
62
62
|
"axios": "^0.18.1",
|
|
63
|
-
"better-sqlite3": "^
|
|
63
|
+
"better-sqlite3": "^8.5.0",
|
|
64
64
|
"bluebird": "^3.5.3",
|
|
65
65
|
"body-parser": "^1.18.2",
|
|
66
66
|
"chalk": "^4.1.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"inquirer": "^8.2.0",
|
|
76
76
|
"json-stringify-safe": "^5.0.1",
|
|
77
77
|
"lodash": "^4.17.4",
|
|
78
|
-
"looks-same": "^8.1
|
|
78
|
+
"looks-same": "^8.2.1",
|
|
79
79
|
"nested-error-stacks": "^2.1.0",
|
|
80
80
|
"opener": "^1.4.3",
|
|
81
81
|
"ora": "^5.4.1",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"qs": "^6.9.1",
|
|
84
84
|
"signal-exit": "^3.0.2",
|
|
85
85
|
"tmp": "^0.1.0",
|
|
86
|
-
"
|
|
86
|
+
"worker-farm": "^1.7.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@babel/core": "^7.22.5",
|
|
@@ -92,11 +92,20 @@
|
|
|
92
92
|
"@babel/preset-react": "^7.22.5",
|
|
93
93
|
"@babel/preset-typescript": "^7.22.5",
|
|
94
94
|
"@gemini-testing/commander": "^2.15.3",
|
|
95
|
+
"@playwright/test": "^1.37.1",
|
|
95
96
|
"@swc/core": "^1.3.64",
|
|
97
|
+
"@types/better-sqlite3": "^7.6.4",
|
|
96
98
|
"@types/chai": "^4.3.5",
|
|
99
|
+
"@types/debug": "^4.1.8",
|
|
97
100
|
"@types/enzyme": "^3.10.13",
|
|
101
|
+
"@types/fs-extra": "^7.0.0",
|
|
98
102
|
"@types/lodash": "^4.14.195",
|
|
103
|
+
"@types/nested-error-stacks": "^2.1.0",
|
|
99
104
|
"@types/opener": "^1.4.0",
|
|
105
|
+
"@types/proxyquire": "^1.3.28",
|
|
106
|
+
"@types/sinon": "^4.3.3",
|
|
107
|
+
"@types/tmp": "^0.1.0",
|
|
108
|
+
"@types/urijs": "^1.19.19",
|
|
100
109
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
101
110
|
"@typescript-eslint/parser": "^5.60.0",
|
|
102
111
|
"app-module-path": "^2.2.0",
|
|
@@ -116,7 +125,7 @@
|
|
|
116
125
|
"eslint-config-gemini-testing": "^2.8.0",
|
|
117
126
|
"eslint-plugin-react": "^7.32.2",
|
|
118
127
|
"fork-ts-checker-webpack-plugin": "^6.5.3",
|
|
119
|
-
"hermione": "^
|
|
128
|
+
"hermione": "^8.0.0-beta.2",
|
|
120
129
|
"hermione-global-hook": "^1.0.1",
|
|
121
130
|
"hermione-headless-chrome": "0.0.2",
|
|
122
131
|
"html-react-parser": "^0.4.0",
|
|
@@ -167,6 +176,7 @@
|
|
|
167
176
|
"stylus": "^0.57.0",
|
|
168
177
|
"stylus-loader": "^3.0.2",
|
|
169
178
|
"ts-node": "^10.9.1",
|
|
179
|
+
"type-fest": "^3.13.1",
|
|
170
180
|
"typescript": "^5.0.4",
|
|
171
181
|
"url-loader": "^1.1.2",
|
|
172
182
|
"web-vitals": "^1.1.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-reporter",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.11.1",
|
|
4
4
|
"description": "Plugin for hermione which is intended to aggregate the results of tests running into html report",
|
|
5
5
|
"files": [
|
|
6
6
|
"build"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@babel/runtime": "^7.22.5",
|
|
61
61
|
"@gemini-testing/sql.js": "^1.0.1",
|
|
62
62
|
"axios": "^0.18.1",
|
|
63
|
-
"better-sqlite3": "^
|
|
63
|
+
"better-sqlite3": "^8.5.0",
|
|
64
64
|
"bluebird": "^3.5.3",
|
|
65
65
|
"body-parser": "^1.18.2",
|
|
66
66
|
"chalk": "^4.1.2",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"inquirer": "^8.2.0",
|
|
76
76
|
"json-stringify-safe": "^5.0.1",
|
|
77
77
|
"lodash": "^4.17.4",
|
|
78
|
-
"looks-same": "^8.1
|
|
78
|
+
"looks-same": "^8.2.1",
|
|
79
79
|
"nested-error-stacks": "^2.1.0",
|
|
80
80
|
"opener": "^1.4.3",
|
|
81
81
|
"ora": "^5.4.1",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"qs": "^6.9.1",
|
|
84
84
|
"signal-exit": "^3.0.2",
|
|
85
85
|
"tmp": "^0.1.0",
|
|
86
|
-
"
|
|
86
|
+
"worker-farm": "^1.7.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@babel/core": "^7.22.5",
|
|
@@ -92,11 +92,20 @@
|
|
|
92
92
|
"@babel/preset-react": "^7.22.5",
|
|
93
93
|
"@babel/preset-typescript": "^7.22.5",
|
|
94
94
|
"@gemini-testing/commander": "^2.15.3",
|
|
95
|
+
"@playwright/test": "^1.37.1",
|
|
95
96
|
"@swc/core": "^1.3.64",
|
|
97
|
+
"@types/better-sqlite3": "^7.6.4",
|
|
96
98
|
"@types/chai": "^4.3.5",
|
|
99
|
+
"@types/debug": "^4.1.8",
|
|
97
100
|
"@types/enzyme": "^3.10.13",
|
|
101
|
+
"@types/fs-extra": "^7.0.0",
|
|
98
102
|
"@types/lodash": "^4.14.195",
|
|
103
|
+
"@types/nested-error-stacks": "^2.1.0",
|
|
99
104
|
"@types/opener": "^1.4.0",
|
|
105
|
+
"@types/proxyquire": "^1.3.28",
|
|
106
|
+
"@types/sinon": "^4.3.3",
|
|
107
|
+
"@types/tmp": "^0.1.0",
|
|
108
|
+
"@types/urijs": "^1.19.19",
|
|
100
109
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
101
110
|
"@typescript-eslint/parser": "^5.60.0",
|
|
102
111
|
"app-module-path": "^2.2.0",
|
|
@@ -116,7 +125,7 @@
|
|
|
116
125
|
"eslint-config-gemini-testing": "^2.8.0",
|
|
117
126
|
"eslint-plugin-react": "^7.32.2",
|
|
118
127
|
"fork-ts-checker-webpack-plugin": "^6.5.3",
|
|
119
|
-
"hermione": "^
|
|
128
|
+
"hermione": "^8.0.0-beta.2",
|
|
120
129
|
"hermione-global-hook": "^1.0.1",
|
|
121
130
|
"hermione-headless-chrome": "0.0.2",
|
|
122
131
|
"html-react-parser": "^0.4.0",
|
|
@@ -167,6 +176,7 @@
|
|
|
167
176
|
"stylus": "^0.57.0",
|
|
168
177
|
"stylus-loader": "^3.0.2",
|
|
169
178
|
"ts-node": "^10.9.1",
|
|
179
|
+
"type-fest": "^3.13.1",
|
|
170
180
|
"typescript": "^5.0.4",
|
|
171
181
|
"url-loader": "^1.1.2",
|
|
172
182
|
"web-vitals": "^1.1.2",
|