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
|
@@ -1,53 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export { title_5 as title };
|
|
43
|
-
let description_5: string;
|
|
44
|
-
export { description_5 as description };
|
|
45
|
-
}
|
|
46
|
-
export namespace ONION_SKIN {
|
|
47
|
-
let id_6: string;
|
|
48
|
-
export { id_6 as id };
|
|
49
|
-
let title_6: string;
|
|
50
|
-
export { title_6 as title };
|
|
51
|
-
let description_6: string;
|
|
52
|
-
export { description_6 as description };
|
|
53
|
-
}
|
|
1
|
+
import { ValueOf } from 'type-fest';
|
|
2
|
+
export declare const DiffModes: {
|
|
3
|
+
readonly THREE_UP: {
|
|
4
|
+
readonly id: "3-up";
|
|
5
|
+
readonly title: "3-up";
|
|
6
|
+
readonly description: "images in column";
|
|
7
|
+
};
|
|
8
|
+
readonly THREE_UP_SCALED: {
|
|
9
|
+
readonly id: "3-up-scaled";
|
|
10
|
+
readonly title: "3-up scaled";
|
|
11
|
+
readonly description: "scaled images in row";
|
|
12
|
+
};
|
|
13
|
+
readonly THREE_UP_SCALED_TO_FIT: {
|
|
14
|
+
readonly id: "3-up-scaled-to-fit";
|
|
15
|
+
readonly title: "3-up scaled to fit";
|
|
16
|
+
readonly description: "scaled to browser height images in row";
|
|
17
|
+
};
|
|
18
|
+
readonly ONLY_DIFF: {
|
|
19
|
+
readonly id: "only-diff";
|
|
20
|
+
readonly title: "Only diff";
|
|
21
|
+
readonly description: "click on image to see area with diff";
|
|
22
|
+
};
|
|
23
|
+
readonly SWITCH: {
|
|
24
|
+
readonly id: "switch";
|
|
25
|
+
readonly title: "Switch";
|
|
26
|
+
readonly description: "click on image to switch";
|
|
27
|
+
};
|
|
28
|
+
readonly SWIPE: {
|
|
29
|
+
readonly id: "swipe";
|
|
30
|
+
readonly title: "Swipe";
|
|
31
|
+
readonly description: "move divider";
|
|
32
|
+
};
|
|
33
|
+
readonly ONION_SKIN: {
|
|
34
|
+
readonly id: "onion-skin";
|
|
35
|
+
readonly title: "Onion skin";
|
|
36
|
+
readonly description: "move slider";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export type DiffModes = typeof DiffModes;
|
|
40
|
+
export type DiffMode = ValueOf<DiffModes>;
|
|
41
|
+
export type DiffModeId = DiffModes[keyof DiffModes]['id'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-modes.js","sourceRoot":"","sources":["../../../lib/constants/diff-modes.
|
|
1
|
+
{"version":3,"file":"diff-modes.js","sourceRoot":"","sources":["../../../lib/constants/diff-modes.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAG;IACrB,QAAQ,EAAE;QACN,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,kBAAkB;KAClC;IACD,eAAe,EAAE;QACb,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,aAAa;QACpB,WAAW,EAAE,sBAAsB;KACtC;IACD,sBAAsB,EAAE;QACpB,EAAE,EAAE,oBAAoB;QACxB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,wCAAwC;KACxD;IACD,SAAS,EAAE;QACP,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,sCAAsC;KACtD;IACD,MAAM,EAAE;QACJ,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,0BAA0B;KAC1C;IACD,KAAK,EAAE;QACH,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,cAAc;KAC9B;IACD,UAAU,EAAE;QACR,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,aAAa;KAC7B;CACK,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './browser';
|
|
2
|
+
export * from './database';
|
|
3
|
+
export * from './defaults';
|
|
4
|
+
export * from './diff-modes';
|
|
5
|
+
export * from './paths';
|
|
6
|
+
export * from './plugin-events';
|
|
7
|
+
export * from './save-formats';
|
|
8
|
+
export * from './test-statuses';
|
|
9
|
+
export * from './view-modes';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./browser"), exports);
|
|
18
|
+
__exportStar(require("./database"), exports);
|
|
19
|
+
__exportStar(require("./defaults"), exports);
|
|
20
|
+
__exportStar(require("./diff-modes"), exports);
|
|
21
|
+
__exportStar(require("./paths"), exports);
|
|
22
|
+
__exportStar(require("./plugin-events"), exports);
|
|
23
|
+
__exportStar(require("./save-formats"), exports);
|
|
24
|
+
__exportStar(require("./test-statuses"), exports);
|
|
25
|
+
__exportStar(require("./view-modes"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export declare const IMAGES_PATH = "images";
|
|
2
|
+
export declare const ERROR_DETAILS_PATH = "error-details";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ERROR_DETAILS_PATH = exports.IMAGES_PATH = void 0;
|
|
4
|
+
exports.IMAGES_PATH = 'images';
|
|
5
|
+
exports.ERROR_DETAILS_PATH = 'error-details';
|
|
6
6
|
//# sourceMappingURL=paths.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../lib/constants/paths.
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../lib/constants/paths.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,QAAQ,CAAC;AACvB,QAAA,kBAAkB,GAAG,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly JS_EXEC: "js exec";
|
|
3
|
+
readonly DBS_LOADED: "dbs loaded";
|
|
4
|
+
readonly DBS_MERGED: "dbs merged";
|
|
5
|
+
readonly PLUGINS_LOADED: "plugins loaded";
|
|
6
|
+
readonly DB_EXTRACTED_ROWS: "db extracted rows";
|
|
7
|
+
readonly FULLY_LOADED: "fully loaded";
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
JS_EXEC: 'js exec',
|
|
5
|
+
DBS_LOADED: 'dbs loaded',
|
|
6
|
+
DBS_MERGED: 'dbs merged',
|
|
7
|
+
PLUGINS_LOADED: 'plugins loaded',
|
|
8
|
+
DB_EXTRACTED_ROWS: 'db extracted rows',
|
|
9
|
+
FULLY_LOADED: 'fully loaded'
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=performance-marks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"performance-marks.js","sourceRoot":"","sources":["../../../lib/constants/performance-marks.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACX,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,YAAY,EAAE,cAAc;CACtB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
DATABASE_CREATED
|
|
3
|
-
TEST_SCREENSHOTS_SAVED
|
|
4
|
-
REPORT_SAVED
|
|
5
|
-
|
|
1
|
+
export declare enum PluginEvents {
|
|
2
|
+
DATABASE_CREATED = "databaseCreated",
|
|
3
|
+
TEST_SCREENSHOTS_SAVED = "testScreenshotsSaved",
|
|
4
|
+
REPORT_SAVED = "reportSaved",
|
|
5
|
+
IMAGES_SAVER_UPDATED = "imagesSaverUpdated"
|
|
6
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PluginEvents = void 0;
|
|
4
|
+
var PluginEvents;
|
|
5
|
+
(function (PluginEvents) {
|
|
6
|
+
PluginEvents["DATABASE_CREATED"] = "databaseCreated";
|
|
7
|
+
PluginEvents["TEST_SCREENSHOTS_SAVED"] = "testScreenshotsSaved";
|
|
8
|
+
PluginEvents["REPORT_SAVED"] = "reportSaved";
|
|
9
|
+
PluginEvents["IMAGES_SAVER_UPDATED"] = "imagesSaverUpdated";
|
|
10
|
+
})(PluginEvents || (exports.PluginEvents = PluginEvents = {}));
|
|
10
11
|
//# sourceMappingURL=plugin-events.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-events.js","sourceRoot":"","sources":["../../../lib/constants/plugin-events.
|
|
1
|
+
{"version":3,"file":"plugin-events.js","sourceRoot":"","sources":["../../../lib/constants/plugin-events.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,oDAAoC,CAAA;IACpC,+DAA+C,CAAA;IAC/C,4CAA4B,CAAA;IAC5B,2DAA2C,CAAA;AAC/C,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SaveFormat = void 0;
|
|
4
|
+
var SaveFormat;
|
|
5
|
+
(function (SaveFormat) {
|
|
6
|
+
SaveFormat["SQLITE"] = "sqlite";
|
|
7
|
+
})(SaveFormat || (exports.SaveFormat = SaveFormat = {}));
|
|
5
8
|
//# sourceMappingURL=save-formats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-formats.js","sourceRoot":"","sources":["../../../lib/constants/save-formats.
|
|
1
|
+
{"version":3,"file":"save-formats.js","sourceRoot":"","sources":["../../../lib/constants/save-formats.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAEX;AAFD,WAAY,UAAU;IAClB,+BAAiB,CAAA;AACrB,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export declare enum TestStatus {
|
|
2
|
+
IDLE = "idle",
|
|
3
|
+
QUEUED = "queued",
|
|
4
|
+
RUNNING = "running",
|
|
5
|
+
SUCCESS = "success",
|
|
6
|
+
FAIL = "fail",
|
|
7
|
+
ERROR = "error",
|
|
8
|
+
SKIPPED = "skipped",
|
|
9
|
+
UPDATED = "updated"
|
|
10
|
+
}
|
|
11
|
+
export declare const IDLE = TestStatus.IDLE;
|
|
12
|
+
export declare const QUEUED = TestStatus.QUEUED;
|
|
13
|
+
export declare const RUNNING = TestStatus.RUNNING;
|
|
14
|
+
export declare const SUCCESS = TestStatus.SUCCESS;
|
|
15
|
+
export declare const FAIL = TestStatus.FAIL;
|
|
16
|
+
export declare const ERROR = TestStatus.ERROR;
|
|
17
|
+
export declare const SKIPPED = TestStatus.SKIPPED;
|
|
18
|
+
export declare const UPDATED = TestStatus.UPDATED;
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UPDATED = exports.SKIPPED = exports.ERROR = exports.FAIL = exports.SUCCESS = exports.RUNNING = exports.QUEUED = exports.IDLE = exports.TestStatus = void 0;
|
|
4
|
+
var TestStatus;
|
|
5
|
+
(function (TestStatus) {
|
|
6
|
+
TestStatus["IDLE"] = "idle";
|
|
7
|
+
TestStatus["QUEUED"] = "queued";
|
|
8
|
+
TestStatus["RUNNING"] = "running";
|
|
9
|
+
TestStatus["SUCCESS"] = "success";
|
|
10
|
+
TestStatus["FAIL"] = "fail";
|
|
11
|
+
TestStatus["ERROR"] = "error";
|
|
12
|
+
TestStatus["SKIPPED"] = "skipped";
|
|
13
|
+
TestStatus["UPDATED"] = "updated";
|
|
14
|
+
})(TestStatus || (exports.TestStatus = TestStatus = {}));
|
|
15
|
+
exports.IDLE = TestStatus.IDLE;
|
|
16
|
+
exports.QUEUED = TestStatus.QUEUED;
|
|
17
|
+
exports.RUNNING = TestStatus.RUNNING;
|
|
18
|
+
exports.SUCCESS = TestStatus.SUCCESS;
|
|
19
|
+
exports.FAIL = TestStatus.FAIL;
|
|
20
|
+
exports.ERROR = TestStatus.ERROR;
|
|
21
|
+
exports.SKIPPED = TestStatus.SKIPPED;
|
|
22
|
+
exports.UPDATED = TestStatus.UPDATED;
|
|
12
23
|
//# sourceMappingURL=test-statuses.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-statuses.js","sourceRoot":"","sources":["../../../lib/constants/test-statuses.
|
|
1
|
+
{"version":3,"file":"test-statuses.js","sourceRoot":"","sources":["../../../lib/constants/test-statuses.ts"],"names":[],"mappings":";;;AAAA,IAAY,UASX;AATD,WAAY,UAAU;IAClB,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACvB,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB;AAEY,QAAA,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;AACvB,QAAA,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;AAC3B,QAAA,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AAC7B,QAAA,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AAC7B,QAAA,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;AACvB,QAAA,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;AACzB,QAAA,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;AAC7B,QAAA,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare enum ViewMode {
|
|
2
|
+
ALL = "all",
|
|
3
|
+
PASSED = "passed",
|
|
4
|
+
FAILED = "failed",
|
|
5
|
+
RETRIED = "retried",
|
|
6
|
+
SKIPPED = "skipped"
|
|
7
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ViewMode = void 0;
|
|
4
|
+
var ViewMode;
|
|
5
|
+
(function (ViewMode) {
|
|
6
|
+
ViewMode["ALL"] = "all";
|
|
7
|
+
ViewMode["PASSED"] = "passed";
|
|
8
|
+
ViewMode["FAILED"] = "failed";
|
|
9
|
+
ViewMode["RETRIED"] = "retried";
|
|
10
|
+
ViewMode["SKIPPED"] = "skipped";
|
|
11
|
+
})(ViewMode || (exports.ViewMode = ViewMode = {}));
|
|
9
12
|
//# sourceMappingURL=view-modes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-modes.js","sourceRoot":"","sources":["../../../lib/constants/view-modes.
|
|
1
|
+
{"version":3,"file":"view-modes.js","sourceRoot":"","sources":["../../../lib/constants/view-modes.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,+BAAmB,CAAA;IACnB,+BAAmB,CAAA;AACvB,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type Hermione from 'hermione';
|
|
2
|
+
import { TestStatus } from './constants';
|
|
3
|
+
import type { ErrorDetails, HtmlReporterApi, ImageInfoFull } from './types';
|
|
4
|
+
interface QueryParams {
|
|
5
|
+
select?: string;
|
|
6
|
+
where?: string;
|
|
7
|
+
orderBy?: string;
|
|
8
|
+
orderDescending?: boolean;
|
|
9
|
+
limit?: number;
|
|
10
|
+
noCache?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface DeleteParams {
|
|
13
|
+
where?: string;
|
|
14
|
+
orderBy?: string;
|
|
15
|
+
orderDescending?: boolean;
|
|
16
|
+
limit?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface PreparedTestResult {
|
|
19
|
+
name: string;
|
|
20
|
+
suiteUrl: string;
|
|
21
|
+
metaInfo: Record<string, unknown>;
|
|
22
|
+
history: string[];
|
|
23
|
+
description: unknown;
|
|
24
|
+
error?: {
|
|
25
|
+
message?: string;
|
|
26
|
+
stack?: string;
|
|
27
|
+
stateName?: string;
|
|
28
|
+
};
|
|
29
|
+
skipReason?: string;
|
|
30
|
+
imagesInfo: ImageInfoFull[];
|
|
31
|
+
screenshot: boolean;
|
|
32
|
+
multipleTabs: boolean;
|
|
33
|
+
status: TestStatus;
|
|
34
|
+
timestamp?: number;
|
|
35
|
+
errorDetails?: ErrorDetails;
|
|
36
|
+
}
|
|
37
|
+
interface ParseTestResultParams {
|
|
38
|
+
suiteName: string;
|
|
39
|
+
suitePath: string[];
|
|
40
|
+
testResult: PreparedTestResult;
|
|
41
|
+
}
|
|
42
|
+
interface ParsedTestResult extends PreparedTestResult {
|
|
43
|
+
suiteName: ParseTestResultParams['suiteName'];
|
|
44
|
+
suitePath: ParseTestResultParams['suitePath'];
|
|
45
|
+
}
|
|
46
|
+
interface SqliteAdapterOptions {
|
|
47
|
+
hermione: Hermione & HtmlReporterApi;
|
|
48
|
+
reportPath: string;
|
|
49
|
+
reuse?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export declare class SqliteAdapter {
|
|
52
|
+
private _hermione;
|
|
53
|
+
private _reportPath;
|
|
54
|
+
private _reuse;
|
|
55
|
+
private _db;
|
|
56
|
+
private _queryCache;
|
|
57
|
+
static create<T extends SqliteAdapter>(this: new (options: SqliteAdapterOptions) => T, options: SqliteAdapterOptions): T;
|
|
58
|
+
constructor({ hermione, reportPath, reuse }: SqliteAdapterOptions);
|
|
59
|
+
init(): Promise<void>;
|
|
60
|
+
close(): void;
|
|
61
|
+
query<T = unknown>(queryParams?: QueryParams, ...queryArgs: string[]): T;
|
|
62
|
+
write(testResult: ParseTestResultParams): void;
|
|
63
|
+
delete(deleteParams?: DeleteParams, ...deleteArgs: string[]): void;
|
|
64
|
+
private _createSentence;
|
|
65
|
+
_parseTestResult({ suitePath, suiteName, testResult }: ParseTestResultParams): ParsedTestResult;
|
|
66
|
+
private _createValuesArray;
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SqliteAdapter = void 0;
|
|
7
|
+
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const better_sqlite3_1 = __importDefault(require("better-sqlite3"));
|
|
9
|
+
const debug_1 = __importDefault(require("debug"));
|
|
10
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
11
|
+
const nested_error_stacks_1 = __importDefault(require("nested-error-stacks"));
|
|
12
|
+
const common_utils_1 = require("./common-utils");
|
|
13
|
+
const database_1 = require("./constants/database");
|
|
14
|
+
const common_1 = require("./db-utils/common");
|
|
15
|
+
const db_not_initialized_error_1 = require("./errors/db-not-initialized-error");
|
|
16
|
+
const debug = (0, debug_1.default)('html-reporter:csv-adapter');
|
|
17
|
+
class SqliteAdapter {
|
|
18
|
+
static create(options) {
|
|
19
|
+
return new this(options);
|
|
20
|
+
}
|
|
21
|
+
constructor({ hermione, reportPath, reuse = false }) {
|
|
22
|
+
this._hermione = hermione;
|
|
23
|
+
this._reportPath = reportPath;
|
|
24
|
+
this._reuse = reuse;
|
|
25
|
+
this._db = null;
|
|
26
|
+
this._queryCache = new Map();
|
|
27
|
+
}
|
|
28
|
+
async init() {
|
|
29
|
+
const dbPath = path_1.default.resolve(this._reportPath, database_1.LOCAL_DATABASE_NAME);
|
|
30
|
+
const dbUrlsJsonPath = path_1.default.resolve(this._reportPath, database_1.DATABASE_URLS_JSON_NAME);
|
|
31
|
+
try {
|
|
32
|
+
if (!this._reuse) {
|
|
33
|
+
await Promise.all([
|
|
34
|
+
fs_extra_1.default.remove(dbPath),
|
|
35
|
+
fs_extra_1.default.remove(dbUrlsJsonPath)
|
|
36
|
+
]);
|
|
37
|
+
}
|
|
38
|
+
await fs_extra_1.default.ensureDir(this._reportPath);
|
|
39
|
+
this._db = new better_sqlite3_1.default(dbPath);
|
|
40
|
+
debug('db connection opened');
|
|
41
|
+
(0, common_1.createTablesQuery)().forEach((query) => this._db?.prepare(query).run());
|
|
42
|
+
this._hermione.htmlReporter.emit(this._hermione.htmlReporter.events.DATABASE_CREATED, this._db);
|
|
43
|
+
}
|
|
44
|
+
catch (err) { // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
45
|
+
throw new nested_error_stacks_1.default(`Error creating database at "${dbPath}"`, err);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
close() {
|
|
49
|
+
if (!this._db) {
|
|
50
|
+
throw new db_not_initialized_error_1.DbNotInitializedError();
|
|
51
|
+
}
|
|
52
|
+
this._db.prepare('VACUUM').run();
|
|
53
|
+
debug('db connection closed');
|
|
54
|
+
this._db.close();
|
|
55
|
+
}
|
|
56
|
+
query(queryParams = {}, ...queryArgs) {
|
|
57
|
+
if (!this._db) {
|
|
58
|
+
throw new db_not_initialized_error_1.DbNotInitializedError();
|
|
59
|
+
}
|
|
60
|
+
const { select, where, orderBy, orderDescending, limit, noCache = false } = queryParams;
|
|
61
|
+
const cacheKey = (!noCache && (0, common_utils_1.getShortMD5)(`${select}#${where}#${orderBy}${orderDescending}${queryArgs.join('#')}`));
|
|
62
|
+
if (!noCache && this._queryCache.has(cacheKey)) {
|
|
63
|
+
return this._queryCache.get(cacheKey);
|
|
64
|
+
}
|
|
65
|
+
const sentence = `SELECT ${select || '*'} FROM ${database_1.DB_SUITES_TABLE_NAME}`
|
|
66
|
+
+ this._createSentence({ where, orderBy, orderDescending, limit });
|
|
67
|
+
const result = this._db.prepare(sentence).get(...queryArgs);
|
|
68
|
+
if (!noCache) {
|
|
69
|
+
this._queryCache.set(cacheKey, result);
|
|
70
|
+
}
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
write(testResult) {
|
|
74
|
+
if (!this._db) {
|
|
75
|
+
throw new db_not_initialized_error_1.DbNotInitializedError();
|
|
76
|
+
}
|
|
77
|
+
const testResultObj = this._parseTestResult(testResult);
|
|
78
|
+
const values = this._createValuesArray(testResultObj);
|
|
79
|
+
//const csvValues = this._createCsvArray(testResultObj);
|
|
80
|
+
const placeholders = values.map(() => '?').join(', ');
|
|
81
|
+
this._db.prepare(`INSERT INTO ${database_1.DB_SUITES_TABLE_NAME} VALUES (${placeholders})`).run(...values);
|
|
82
|
+
}
|
|
83
|
+
delete(deleteParams = {}, ...deleteArgs) {
|
|
84
|
+
if (!this._db) {
|
|
85
|
+
throw new db_not_initialized_error_1.DbNotInitializedError();
|
|
86
|
+
}
|
|
87
|
+
const sentence = `DELETE FROM ${database_1.DB_SUITES_TABLE_NAME}`
|
|
88
|
+
+ this._createSentence(deleteParams);
|
|
89
|
+
this._db.prepare(sentence).run(...deleteArgs);
|
|
90
|
+
}
|
|
91
|
+
_createSentence(params) {
|
|
92
|
+
let sentence = '';
|
|
93
|
+
if (params.where) {
|
|
94
|
+
sentence += ` WHERE ${params.where}`;
|
|
95
|
+
}
|
|
96
|
+
if (params.orderBy) {
|
|
97
|
+
sentence += ` ORDER BY ${params.orderBy} ${params.orderDescending ? 'DESC' : 'ASC'}`;
|
|
98
|
+
}
|
|
99
|
+
if (params.limit) {
|
|
100
|
+
sentence += ` LIMIT ${params.limit}`;
|
|
101
|
+
}
|
|
102
|
+
return sentence;
|
|
103
|
+
}
|
|
104
|
+
_parseTestResult({ suitePath, suiteName, testResult }) {
|
|
105
|
+
const { name, suiteUrl, metaInfo, history, description, error, skipReason, imagesInfo, screenshot, multipleTabs, status, timestamp = Date.now() } = testResult;
|
|
106
|
+
return {
|
|
107
|
+
suitePath,
|
|
108
|
+
suiteName,
|
|
109
|
+
name,
|
|
110
|
+
suiteUrl,
|
|
111
|
+
metaInfo,
|
|
112
|
+
history,
|
|
113
|
+
description,
|
|
114
|
+
error,
|
|
115
|
+
skipReason,
|
|
116
|
+
imagesInfo,
|
|
117
|
+
screenshot,
|
|
118
|
+
multipleTabs,
|
|
119
|
+
status,
|
|
120
|
+
timestamp
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
/*private _createCsvArray(testResult: PreparedTestResult): string[] {
|
|
124
|
+
return SUITES_TABLE_COLUMNS.reduce<string[]>((acc, {name}) => {
|
|
125
|
+
const value = testResult[name as keyof PreparedTestResult];
|
|
126
|
+
|
|
127
|
+
acc.push(value === undefined ? 'null' : JSON.stringify(value));
|
|
128
|
+
return acc;
|
|
129
|
+
}, []);
|
|
130
|
+
}*/
|
|
131
|
+
_createValuesArray(testResult) {
|
|
132
|
+
return database_1.SUITES_TABLE_COLUMNS.reduce((acc, { name }) => {
|
|
133
|
+
const value = testResult[name];
|
|
134
|
+
if (value === undefined || value === null) {
|
|
135
|
+
acc.push(null);
|
|
136
|
+
return acc;
|
|
137
|
+
}
|
|
138
|
+
switch (value.constructor) {
|
|
139
|
+
case Array:
|
|
140
|
+
case Object:
|
|
141
|
+
acc.push(JSON.stringify(value));
|
|
142
|
+
break;
|
|
143
|
+
case Boolean:
|
|
144
|
+
acc.push(value ? 1 : 0);
|
|
145
|
+
break;
|
|
146
|
+
default:
|
|
147
|
+
acc.push(value);
|
|
148
|
+
}
|
|
149
|
+
return acc;
|
|
150
|
+
}, []);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.SqliteAdapter = SqliteAdapter;
|
|
154
|
+
//# sourceMappingURL=csv-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csv-adapter.js","sourceRoot":"","sources":["../../lib/csv-adapter.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,oEAAsC;AACtC,kDAA8B;AAE9B,wDAA0B;AAE1B,8EAA8C;AAE9C,iDAA2C;AAE3C,mDAA8H;AAC9H,8CAAoD;AACpD,gFAAwE;AAGxE,MAAM,KAAK,GAAG,IAAA,eAAS,EAAC,2BAA2B,CAAC,CAAC;AAmDrD,MAAa,aAAa;IAOtB,MAAM,CAAC,MAAM,CAA0E,OAA6B;QAChH,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED,YAAY,EAAC,QAAQ,EAAE,UAAU,EAAE,KAAK,GAAG,KAAK,EAAuB;QACnE,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;QAChB,IAAI,CAAC,WAAW,GAAG,IAAI,GAAG,EAAE,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,IAAI;QACN,MAAM,MAAM,GAAG,cAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,8BAAmB,CAAC,CAAC;QACnE,MAAM,cAAc,GAAG,cAAI,CAA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