html-reporter 9.10.2 → 9.11.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/build/hermione.js +2 -2
- 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 +9 -8
- package/build/lib/common-utils.js +11 -11
- 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/plugin-events.d.ts +5 -5
- package/build/lib/constants/plugin-events.js +9 -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/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 +6 -16
- package/build/lib/db-utils/server.js +73 -44
- 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/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/report-subscriber.js +2 -2
- package/build/lib/gui/tool-runner/report-subscriber.js.map +1 -1
- 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 +20 -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 +7 -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 +1 -1
- package/build/lib/report-builder/gui.js.map +1 -1
- package/build/lib/report-builder/static.d.ts +31 -28
- package/build/lib/report-builder/static.js +47 -42
- 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 +4 -4
- package/build/lib/reporter-helpers.js.map +1 -1
- package/build/lib/server-utils.d.ts +57 -40
- package/build/lib/server-utils.js +100 -102
- package/build/lib/server-utils.js.map +1 -1
- package/build/lib/sqlite-adapter.d.ts +66 -76
- package/build/lib/sqlite-adapter.js +59 -58
- 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/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/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.d.ts +75 -109
- package/build/lib/test-adapter.js +105 -69
- 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 +195 -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 +11 -4
- package/package.json +11 -4
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import type { LooksSameOptions, CoordBounds } from 'looks-same';
|
|
2
|
+
import type { default as Hermione } from 'hermione';
|
|
3
|
+
import { DiffModeId, SaveFormat, TestStatus, ViewMode } from './constants';
|
|
4
|
+
import type { HtmlReporter } from './plugin-api';
|
|
5
|
+
declare module 'tmp' {
|
|
6
|
+
const tmpdir: string;
|
|
7
|
+
}
|
|
8
|
+
interface ConfigurableTestObject {
|
|
9
|
+
browserId: string;
|
|
10
|
+
browserVersion?: string;
|
|
11
|
+
id: string;
|
|
12
|
+
file: string;
|
|
13
|
+
skipReason: string;
|
|
14
|
+
}
|
|
15
|
+
export interface Suite extends ConfigurableTestObject {
|
|
16
|
+
readonly root: boolean;
|
|
17
|
+
readonly title: string;
|
|
18
|
+
parent: Suite | null;
|
|
19
|
+
}
|
|
20
|
+
export interface ImagesSaver {
|
|
21
|
+
saveImg: (localFilePath: string, options: {
|
|
22
|
+
destPath: string;
|
|
23
|
+
reportDir: string;
|
|
24
|
+
}) => string | Promise<string>;
|
|
25
|
+
}
|
|
26
|
+
export interface ReportsSaver {
|
|
27
|
+
saveReportData: (localDbPath: string, options: {
|
|
28
|
+
destPath: string;
|
|
29
|
+
reportDir: string;
|
|
30
|
+
}) => string | Promise<string>;
|
|
31
|
+
}
|
|
32
|
+
export interface ErrorDetails {
|
|
33
|
+
title: string;
|
|
34
|
+
data?: unknown;
|
|
35
|
+
filePath: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ImageSize {
|
|
38
|
+
width: number;
|
|
39
|
+
height: number;
|
|
40
|
+
}
|
|
41
|
+
export interface ImageData {
|
|
42
|
+
path: string;
|
|
43
|
+
size: ImageSize;
|
|
44
|
+
}
|
|
45
|
+
export interface ImageBase64 {
|
|
46
|
+
base64: string;
|
|
47
|
+
size: ImageSize;
|
|
48
|
+
}
|
|
49
|
+
export interface DiffOptions extends LooksSameOptions {
|
|
50
|
+
current: string;
|
|
51
|
+
reference: string;
|
|
52
|
+
diffColor: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ImageInfoFail {
|
|
55
|
+
status: TestStatus.FAIL;
|
|
56
|
+
stateName: string;
|
|
57
|
+
refImg?: ImageData;
|
|
58
|
+
diffClusters?: CoordBounds[];
|
|
59
|
+
expectedImg: ImageData;
|
|
60
|
+
actualImg: ImageData;
|
|
61
|
+
diffImg: ImageData;
|
|
62
|
+
}
|
|
63
|
+
export interface ImageInfoSuccess {
|
|
64
|
+
status: TestStatus.SUCCESS | TestStatus.UPDATED;
|
|
65
|
+
stateName: string;
|
|
66
|
+
refImg?: ImageData;
|
|
67
|
+
diffClusters?: CoordBounds[];
|
|
68
|
+
expectedImg: 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 interface ImageDiffError {
|
|
84
|
+
stateName: string;
|
|
85
|
+
diffOpts: DiffOptions;
|
|
86
|
+
currImg: ImageData;
|
|
87
|
+
refImg: ImageData;
|
|
88
|
+
diffClusters: CoordBounds[];
|
|
89
|
+
diffBuffer?: ArrayBuffer;
|
|
90
|
+
}
|
|
91
|
+
export type AssertViewResult = ImageDiffError;
|
|
92
|
+
export interface TestResult extends ConfigurableTestObject {
|
|
93
|
+
assertViewResults: AssertViewResult[];
|
|
94
|
+
description?: string;
|
|
95
|
+
err?: {
|
|
96
|
+
message: string;
|
|
97
|
+
stack: string;
|
|
98
|
+
stateName?: string;
|
|
99
|
+
details: ErrorDetails;
|
|
100
|
+
};
|
|
101
|
+
fullTitle(): string;
|
|
102
|
+
title: string;
|
|
103
|
+
meta: Record<string, unknown>;
|
|
104
|
+
sessionId: string;
|
|
105
|
+
timestamp: number;
|
|
106
|
+
imagesInfo: ImageInfoFull[];
|
|
107
|
+
origAttempt?: number;
|
|
108
|
+
history: unknown;
|
|
109
|
+
parent: Suite;
|
|
110
|
+
}
|
|
111
|
+
export interface LabeledSuitesRow {
|
|
112
|
+
imagesInfo: string;
|
|
113
|
+
timestamp: number;
|
|
114
|
+
}
|
|
115
|
+
export type RawSuitesRow = LabeledSuitesRow[keyof LabeledSuitesRow][];
|
|
116
|
+
export interface ParsedSuitesRow {
|
|
117
|
+
description: string | null;
|
|
118
|
+
error: {
|
|
119
|
+
message: string;
|
|
120
|
+
stack: string;
|
|
121
|
+
};
|
|
122
|
+
history: unknown;
|
|
123
|
+
imagesInfo: ImageInfoFull[];
|
|
124
|
+
metaInfo: {
|
|
125
|
+
browserVersion?: string;
|
|
126
|
+
[key: string]: unknown;
|
|
127
|
+
};
|
|
128
|
+
multipleTabs: boolean;
|
|
129
|
+
name: string;
|
|
130
|
+
screenshot: boolean;
|
|
131
|
+
skipReason: string;
|
|
132
|
+
status: TestStatus;
|
|
133
|
+
suiteUrl: string;
|
|
134
|
+
}
|
|
135
|
+
export interface Attempt {
|
|
136
|
+
attempt: number;
|
|
137
|
+
}
|
|
138
|
+
export interface HtmlReporterApi {
|
|
139
|
+
htmlReporter: HtmlReporter;
|
|
140
|
+
}
|
|
141
|
+
export interface ErrorPattern {
|
|
142
|
+
name: string;
|
|
143
|
+
pattern: string;
|
|
144
|
+
}
|
|
145
|
+
export interface PluginDescription {
|
|
146
|
+
name: string;
|
|
147
|
+
component: string;
|
|
148
|
+
point?: string;
|
|
149
|
+
position?: 'after' | 'before' | 'wrap';
|
|
150
|
+
config?: Record<string, unknown>;
|
|
151
|
+
}
|
|
152
|
+
export interface CustomGuiItem {
|
|
153
|
+
type: string;
|
|
154
|
+
controls: {
|
|
155
|
+
label: string;
|
|
156
|
+
value: string;
|
|
157
|
+
}[];
|
|
158
|
+
initialize?: (data: {
|
|
159
|
+
hermione: Hermione;
|
|
160
|
+
ctx: object;
|
|
161
|
+
}) => void | Promise<void>;
|
|
162
|
+
action: (data: {
|
|
163
|
+
hermione: Hermione;
|
|
164
|
+
ctx: object;
|
|
165
|
+
control: object;
|
|
166
|
+
}) => void | Promise<void>;
|
|
167
|
+
}
|
|
168
|
+
export interface ReporterConfig {
|
|
169
|
+
baseHost: string;
|
|
170
|
+
commandsWithShortHistory: string[];
|
|
171
|
+
customGui: Record<string, CustomGuiItem[]>;
|
|
172
|
+
customScripts: (() => void)[];
|
|
173
|
+
defaultView: ViewMode;
|
|
174
|
+
diffMode: DiffModeId;
|
|
175
|
+
enabled: boolean;
|
|
176
|
+
errorPatterns: ErrorPattern[];
|
|
177
|
+
lazyLoadOffset: number | null;
|
|
178
|
+
metaInfoBaseUrls: Record<string, string>;
|
|
179
|
+
path: string;
|
|
180
|
+
plugins: PluginDescription[];
|
|
181
|
+
pluginsEnabled: boolean;
|
|
182
|
+
saveErrorDetails: boolean;
|
|
183
|
+
saveFormat: SaveFormat;
|
|
184
|
+
yandexMetrika: {
|
|
185
|
+
counterNumber: null | number;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
export type ReporterOptions = Omit<ReporterConfig, 'errorPatterns'> & {
|
|
189
|
+
errorPatterns: (string | ErrorPattern)[];
|
|
190
|
+
};
|
|
191
|
+
export interface DbUrlsJsonData {
|
|
192
|
+
dbUrls: string[];
|
|
193
|
+
jsonUrls: string[];
|
|
194
|
+
}
|
|
195
|
+
export {};
|
|
@@ -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
|
+
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 '../types';
|
|
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.0",
|
|
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",
|
|
@@ -93,10 +93,16 @@
|
|
|
93
93
|
"@babel/preset-typescript": "^7.22.5",
|
|
94
94
|
"@gemini-testing/commander": "^2.15.3",
|
|
95
95
|
"@swc/core": "^1.3.64",
|
|
96
|
+
"@types/better-sqlite3": "^7.6.4",
|
|
96
97
|
"@types/chai": "^4.3.5",
|
|
98
|
+
"@types/debug": "^4.1.8",
|
|
97
99
|
"@types/enzyme": "^3.10.13",
|
|
100
|
+
"@types/fs-extra": "^7.0.0",
|
|
98
101
|
"@types/lodash": "^4.14.195",
|
|
102
|
+
"@types/nested-error-stacks": "^2.1.0",
|
|
99
103
|
"@types/opener": "^1.4.0",
|
|
104
|
+
"@types/tmp": "^0.1.0",
|
|
105
|
+
"@types/urijs": "^1.19.19",
|
|
100
106
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
101
107
|
"@typescript-eslint/parser": "^5.60.0",
|
|
102
108
|
"app-module-path": "^2.2.0",
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
"eslint-config-gemini-testing": "^2.8.0",
|
|
117
123
|
"eslint-plugin-react": "^7.32.2",
|
|
118
124
|
"fork-ts-checker-webpack-plugin": "^6.5.3",
|
|
119
|
-
"hermione": "^
|
|
125
|
+
"hermione": "^8.0.0-beta.1",
|
|
120
126
|
"hermione-global-hook": "^1.0.1",
|
|
121
127
|
"hermione-headless-chrome": "0.0.2",
|
|
122
128
|
"html-react-parser": "^0.4.0",
|
|
@@ -167,6 +173,7 @@
|
|
|
167
173
|
"stylus": "^0.57.0",
|
|
168
174
|
"stylus-loader": "^3.0.2",
|
|
169
175
|
"ts-node": "^10.9.1",
|
|
176
|
+
"type-fest": "^3.13.1",
|
|
170
177
|
"typescript": "^5.0.4",
|
|
171
178
|
"url-loader": "^1.1.2",
|
|
172
179
|
"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.0",
|
|
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",
|
|
@@ -93,10 +93,16 @@
|
|
|
93
93
|
"@babel/preset-typescript": "^7.22.5",
|
|
94
94
|
"@gemini-testing/commander": "^2.15.3",
|
|
95
95
|
"@swc/core": "^1.3.64",
|
|
96
|
+
"@types/better-sqlite3": "^7.6.4",
|
|
96
97
|
"@types/chai": "^4.3.5",
|
|
98
|
+
"@types/debug": "^4.1.8",
|
|
97
99
|
"@types/enzyme": "^3.10.13",
|
|
100
|
+
"@types/fs-extra": "^7.0.0",
|
|
98
101
|
"@types/lodash": "^4.14.195",
|
|
102
|
+
"@types/nested-error-stacks": "^2.1.0",
|
|
99
103
|
"@types/opener": "^1.4.0",
|
|
104
|
+
"@types/tmp": "^0.1.0",
|
|
105
|
+
"@types/urijs": "^1.19.19",
|
|
100
106
|
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
101
107
|
"@typescript-eslint/parser": "^5.60.0",
|
|
102
108
|
"app-module-path": "^2.2.0",
|
|
@@ -116,7 +122,7 @@
|
|
|
116
122
|
"eslint-config-gemini-testing": "^2.8.0",
|
|
117
123
|
"eslint-plugin-react": "^7.32.2",
|
|
118
124
|
"fork-ts-checker-webpack-plugin": "^6.5.3",
|
|
119
|
-
"hermione": "^
|
|
125
|
+
"hermione": "^8.0.0-beta.1",
|
|
120
126
|
"hermione-global-hook": "^1.0.1",
|
|
121
127
|
"hermione-headless-chrome": "0.0.2",
|
|
122
128
|
"html-react-parser": "^0.4.0",
|
|
@@ -167,6 +173,7 @@
|
|
|
167
173
|
"stylus": "^0.57.0",
|
|
168
174
|
"stylus-loader": "^3.0.2",
|
|
169
175
|
"ts-node": "^10.9.1",
|
|
176
|
+
"type-fest": "^3.13.1",
|
|
170
177
|
"typescript": "^5.0.4",
|
|
171
178
|
"url-loader": "^1.1.2",
|
|
172
179
|
"web-vitals": "^1.1.2",
|