html-reporter 11.2.0 → 11.3.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/README.md +2 -2
- package/build/lib/bundle/index.js +220 -194
- package/build/lib/constants/diff-modes.d.ts +47 -0
- package/build/lib/constants/diff-modes.js +8 -1
- package/build/lib/constants/diff-modes.js.map +1 -1
- package/build/lib/constants/index.d.ts +1 -0
- package/build/lib/constants/index.js +1 -0
- package/build/lib/constants/index.js.map +1 -1
- package/build/lib/constants/local-storage.d.ts +2 -0
- package/build/lib/constants/local-storage.js +3 -1
- package/build/lib/constants/local-storage.js.map +1 -1
- package/build/lib/constants/two-up-modes.d.ts +4 -0
- package/build/lib/constants/two-up-modes.js +9 -0
- package/build/lib/constants/two-up-modes.js.map +1 -0
- package/build/lib/static/23.min.js +1 -1
- package/build/lib/static/526.min.css +1 -0
- package/build/lib/static/526.min.js +1 -0
- package/build/lib/static/698.min.js +1 -0
- package/build/lib/static/794.min.js +1 -0
- package/build/lib/static/gui.html +1 -1
- package/build/lib/static/gui.min.js +1 -1
- package/build/lib/static/index.html +1 -1
- package/build/lib/static/new-ui-gui.html +1 -1
- package/build/lib/static/new-ui-report.html +1 -1
- package/build/lib/static/newGui.min.js +1 -1
- package/build/lib/static/newReport.min.js +1 -1
- package/build/lib/static/report.min.js +1 -1
- package/build/lib/static/search-worker.min.js +1 -1
- package/build/package.json +7 -3
- package/package.json +7 -3
- package/plugins-sdk/build/lib/static/new-ui/constants/plugins.js +5 -2
- package/plugins-sdk/build/lib/static/new-ui/constants/plugins.js.map +1 -1
- package/plugins-sdk/build/plugins-sdk/index.js +5 -1
- package/plugins-sdk/build/plugins-sdk/index.js.map +1 -1
- package/plugins-sdk/build-ui/lib/constants/diff-modes.d.ts +47 -0
- package/plugins-sdk/build-ui/lib/constants/index.d.ts +1 -0
- package/plugins-sdk/build-ui/lib/constants/local-storage.d.ts +2 -0
- package/plugins-sdk/build-ui/lib/constants/two-up-modes.d.ts +4 -0
- package/plugins-sdk/build-ui/lib/static/new-ui/types/store.d.ts +4 -1
- package/build/lib/static/203.min.js +0 -1
- package/build/lib/static/373.min.js +0 -1
- package/build/lib/static/864.min.css +0 -1
- package/build/lib/static/864.min.js +0 -1
- /package/build/lib/static/{373.min.css → 698.min.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e,t,r={54077:(e,t)=>{t.SA={RESULT:"result",META:"meta"},t.wK="error",t.wK},
|
|
1
|
+
(()=>{var e,t,r={54077:(e,t)=>{t.SA={RESULT:"result",META:"meta"},t.wK="error",t.wK},33701:(e,t,r)=>{"use strict";var i=r(56666),n=r(89325),a=(r(82841),r(76635)),o=(r(5634),r(883),"INT"),s="TEXT",c=([{name:"suitePath",type:s},{name:"suiteName",type:s},{name:"name",type:s},{name:"suiteUrl",type:s},{name:"metaInfo",type:s},{name:"history",type:s},{name:"description",type:s},{name:"error",type:s},{name:"skipReason",type:s},{name:"imagesInfo",type:s},{name:"screenshot",type:o},{name:"multipleTabs",type:o},{name:"status",type:s},{name:"timestamp",type:o},{name:"duration",type:o},{name:"attachments",type:s}].reduce((function(e,t,r){return e[t.name]=r,e}),{}),{THREE_UP:{id:"3-up",title:"List",description:"List. Show images one after another in vertical layout."},THREE_UP_SCALED:{id:"3-up-scaled",title:"SbS",description:"Side by Side. Show images in one row."},THREE_UP_SCALED_TO_FIT:{id:"3-up-scaled-to-fit",title:"SbS (fit screen)",description:"Side by Side. Show images in one row and scale them down if needed to fit the screen."},ONLY_DIFF:{id:"only-diff",title:"Only Diff",description:"Only Diff. Show only diff image, click to highlight diff areas."},SWITCH:{id:"switch",title:"Switch",description:"Switch. Click to switch between expected and actual images."},SWIPE:{id:"swipe",title:"Swipe",description:"Swipe. Move the divider to compare expected and actual images."},ONION_SKIN:{id:"onion-skin",title:"Onion skin",description:"Onion Skin. Change the image opacity to compare expected and actual images."},TWO_UP_INTERACTIVE:{id:"2-up-interactive",title:"2-up Interactive",description:"2-up Interactive. Compare expected and actual images side by side with synchronized pan and zoom."}}),p=((0,a.pick)(c,["THREE_UP","THREE_UP_SCALED","THREE_UP_SCALED_TO_FIT","ONLY_DIFF","SWITCH","SWIPE","ONION_SKIN"]),function(e){return e.ALL="all",e.PASSED="passed",e.FAILED="failed",e.RETRIED="retried",e.SKIPPED="skipped",e.STAGED="staged",e.COMMITED="commited",e}({})),l=function(e){return e.SQLITE="sqlite",e}({}),d=(p.ALL,c.THREE_UP.id,l.SQLITE,r(54077)),u=function(e){return e.IDLE="idle",e.QUEUED="queued",e.RUNNING="running",e.SUCCESS="success",e.FAIL="fail",e.ERROR="error",e.SKIPPED="skipped",e.UPDATED="updated",e.STAGED="staged",e.COMMITED="commited",e.RETRY="retry",e.FAIL_ERROR="fail_error",e}({});u.IDLE,u.QUEUED,u.RUNNING,u.SUCCESS,u.FAIL,u.ERROR,u.SKIPPED,u.UPDATED,u.FAIL_ERROR,u.STAGED,u.COMMITED;(0,a.pick)(console,["log","warn","error"]);var f,m;Object.values(d.SA);function h(e){if(!e)return"";for(var t,r,i="`qwertyuiop[]\\asdfghjkl;'zxcvbnm,.~QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?",n="ёйцукенгшщзхъ\\фывапролджэячсмитьбюЁЙЦУКЕНГШЩЗХЪ|ФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,",a=!1,o=0;o<e.length;o++){var s=e[o];if(i.includes(s)){t=i,r=n,a=!0;break}if(n.includes(s)){t=n,r=i,a=!0;break}}if(!a)return e;for(var c="",p=0;p<e.length;p++){var l=e[p],d=t.indexOf(l);c+=d>=0?r[d]:l}return c}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}self.onmessage=function(e){switch(e.data.type){case"init":r=e.data.data,i=r.map((function(e){return{title:e}})),a={keys:["title"],threshold:.1,findAllMatches:!0,ignoreLocation:!0,includeScore:!1,distance:100},f=new n.Z(i,E(E({},a),{},{isCaseSensitive:!1})),m=new n.Z(i,E(E({},a),{},{isCaseSensitive:!0})),self.postMessage(!0);break;case"search":var t=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!f||!m||!e)return[];var r={$or:[{title:e},{title:h(e)}]};return t?m.search(r).map((function(e){return e.item.title})):f.search(r).map((function(e){return e.item.title}))}(e.data.data.text,e.data.data.matchCase);self.postMessage(t)}var r,i,a}},83397:()=>{},33196:()=>{},38087:()=>{},27464:()=>{},39415:()=>{},30633:()=>{},20395:()=>{},30488:()=>{},87374:()=>{},29285:()=>{},6024:()=>{},15862:()=>{},57267:()=>{},59255:()=>{}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={id:e,loaded:!1,exports:{}};return r[e].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}n.m=r,n.x=()=>{var e=n.O(void 0,[947,899,648],(()=>n(33701)));return e=n.O(e)},e=[],n.O=(t,r,i,a)=>{if(!r){var o=1/0;for(l=0;l<e.length;l++){for(var[r,i,a]=e[l],s=!0,c=0;c<r.length;c++)(!1&a||o>=a)&&Object.keys(n.O).every((e=>n.O[e](r[c])))?r.splice(c--,1):(s=!1,a<o&&(o=a));if(s){e.splice(l--,1);var p=i();void 0!==p&&(t=p)}}return t}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[r,i,a]},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>e+".min.js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var i=r.length-1;i>-1&&!e;)e=r[i--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={938:1};n.f.i=(t,r)=>{e[t]||importScripts(n.p+n.u(t))};var t=self.webpackChunk=self.webpackChunk||[],r=t.push.bind(t);t.push=t=>{var[i,a,o]=t;for(var s in a)n.o(a,s)&&(n.m[s]=a[s]);for(o&&o(n);i.length;)e[i.pop()]=1;r(t)}})(),t=n.x,n.x=()=>Promise.all([947,899,648].map(n.e,n)).then(t);n.x()})();
|
package/build/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-reporter",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.",
|
|
5
5
|
"files": [
|
|
6
6
|
"build",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"e2e:generate-fixtures": "npm run --workspace=test/func/fixtures generate",
|
|
43
43
|
"e2e:test": "npm run --workspace=test/func/tests test",
|
|
44
44
|
"e2e": "npm run e2e:build-packages && npm run e2e:generate-fixtures ; npm run e2e:test",
|
|
45
|
+
"component-tests": "npm run --workspace=test/component test",
|
|
45
46
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
46
47
|
"test": "npm run lint && npm run test-unit && npm run test-check-types",
|
|
47
48
|
"test-check-types": "tsc --project test/unit/lib/static/tsconfig.json && tsc --project test/tsconfig.json",
|
|
@@ -61,7 +62,8 @@
|
|
|
61
62
|
"workspaces": [
|
|
62
63
|
"test/func/fixtures/*",
|
|
63
64
|
"test/func/packages/*",
|
|
64
|
-
"test/func/tests"
|
|
65
|
+
"test/func/tests",
|
|
66
|
+
"test/component"
|
|
65
67
|
],
|
|
66
68
|
"repository": {
|
|
67
69
|
"type": "git",
|
|
@@ -160,6 +162,7 @@
|
|
|
160
162
|
"@tanstack/react-virtual": "^3.8.3",
|
|
161
163
|
"@testing-library/react": "^16.0.0",
|
|
162
164
|
"@testing-library/user-event": "^14.5.2",
|
|
165
|
+
"@testplane/testing-library": "^1.0.2",
|
|
163
166
|
"@types/babel__core": "^7.20.5",
|
|
164
167
|
"@types/better-sqlite3": "^7.6.4",
|
|
165
168
|
"@types/bluebird": "^3.5.3",
|
|
@@ -273,10 +276,11 @@
|
|
|
273
276
|
"stylus": "^0.57.0",
|
|
274
277
|
"stylus-loader": "^7.1.3",
|
|
275
278
|
"terser-webpack-plugin": "^5.3.9",
|
|
276
|
-
"testplane": "^8.
|
|
279
|
+
"testplane": "^8.31.7",
|
|
277
280
|
"tree-kill": "^1.2.2",
|
|
278
281
|
"ts-node": "^10.9.1",
|
|
279
282
|
"ts-patch": "^3.3.0",
|
|
283
|
+
"tsconfig-paths": "^4.2.0",
|
|
280
284
|
"type-fest": "^3.13.1",
|
|
281
285
|
"typescript": "^5.0.4",
|
|
282
286
|
"typescript-transform-paths": "^3.5.5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "html-reporter",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.0",
|
|
4
4
|
"description": "Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.",
|
|
5
5
|
"files": [
|
|
6
6
|
"build",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"e2e:generate-fixtures": "npm run --workspace=test/func/fixtures generate",
|
|
43
43
|
"e2e:test": "npm run --workspace=test/func/tests test",
|
|
44
44
|
"e2e": "npm run e2e:build-packages && npm run e2e:generate-fixtures ; npm run e2e:test",
|
|
45
|
+
"component-tests": "npm run --workspace=test/component test",
|
|
45
46
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
46
47
|
"test": "npm run lint && npm run test-unit && npm run test-check-types",
|
|
47
48
|
"test-check-types": "tsc --project test/unit/lib/static/tsconfig.json && tsc --project test/tsconfig.json",
|
|
@@ -61,7 +62,8 @@
|
|
|
61
62
|
"workspaces": [
|
|
62
63
|
"test/func/fixtures/*",
|
|
63
64
|
"test/func/packages/*",
|
|
64
|
-
"test/func/tests"
|
|
65
|
+
"test/func/tests",
|
|
66
|
+
"test/component"
|
|
65
67
|
],
|
|
66
68
|
"repository": {
|
|
67
69
|
"type": "git",
|
|
@@ -160,6 +162,7 @@
|
|
|
160
162
|
"@tanstack/react-virtual": "^3.8.3",
|
|
161
163
|
"@testing-library/react": "^16.0.0",
|
|
162
164
|
"@testing-library/user-event": "^14.5.2",
|
|
165
|
+
"@testplane/testing-library": "^1.0.2",
|
|
163
166
|
"@types/babel__core": "^7.20.5",
|
|
164
167
|
"@types/better-sqlite3": "^7.6.4",
|
|
165
168
|
"@types/bluebird": "^3.5.3",
|
|
@@ -273,10 +276,11 @@
|
|
|
273
276
|
"stylus": "^0.57.0",
|
|
274
277
|
"stylus-loader": "^7.1.3",
|
|
275
278
|
"terser-webpack-plugin": "^5.3.9",
|
|
276
|
-
"testplane": "^8.
|
|
279
|
+
"testplane": "^8.31.7",
|
|
277
280
|
"tree-kill": "^1.2.2",
|
|
278
281
|
"ts-node": "^10.9.1",
|
|
279
282
|
"ts-patch": "^3.3.0",
|
|
283
|
+
"tsconfig-paths": "^4.2.0",
|
|
280
284
|
"type-fest": "^3.13.1",
|
|
281
285
|
"typescript": "^5.0.4",
|
|
282
286
|
"typescript-transform-paths": "^3.5.5",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtensionPointName = void 0;
|
|
4
|
+
var ExtensionPointName;
|
|
2
5
|
(function (ExtensionPointName) {
|
|
3
6
|
ExtensionPointName["SettingsPanel"] = "settings-panel";
|
|
4
|
-
})(ExtensionPointName || (ExtensionPointName = {}));
|
|
7
|
+
})(ExtensionPointName || (exports.ExtensionPointName = ExtensionPointName = {}));
|
|
5
8
|
//# sourceMappingURL=plugins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../../../lib/static/new-ui/constants/plugins.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../../../../lib/static/new-ui/constants/plugins.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC1B,sDAAgC,CAAA;AACpC,CAAC,EAFW,kBAAkB,kCAAlB,kBAAkB,QAE7B"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtensionPointName = void 0;
|
|
4
|
+
var plugins_1 = require("../lib/static/new-ui/constants/plugins");
|
|
5
|
+
Object.defineProperty(exports, "ExtensionPointName", { enumerable: true, get: function () { return plugins_1.ExtensionPointName; } });
|
|
2
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;AAAA,kEAA0E;AAAlE,6GAAA,kBAAkB,OAAA"}
|
|
@@ -35,7 +35,54 @@ export declare const DiffModes: {
|
|
|
35
35
|
readonly title: "Onion skin";
|
|
36
36
|
readonly description: "Onion Skin. Change the image opacity to compare expected and actual images.";
|
|
37
37
|
};
|
|
38
|
+
readonly TWO_UP_INTERACTIVE: {
|
|
39
|
+
readonly id: "2-up-interactive";
|
|
40
|
+
readonly title: "2-up Interactive";
|
|
41
|
+
readonly description: "2-up Interactive. Compare expected and actual images side by side with synchronized pan and zoom.";
|
|
42
|
+
};
|
|
38
43
|
};
|
|
44
|
+
export declare const ClassicDiffModes: Pick<{
|
|
45
|
+
readonly THREE_UP: {
|
|
46
|
+
readonly id: "3-up";
|
|
47
|
+
readonly title: "List";
|
|
48
|
+
readonly description: "List. Show images one after another in vertical layout.";
|
|
49
|
+
};
|
|
50
|
+
readonly THREE_UP_SCALED: {
|
|
51
|
+
readonly id: "3-up-scaled";
|
|
52
|
+
readonly title: "SbS";
|
|
53
|
+
readonly description: "Side by Side. Show images in one row.";
|
|
54
|
+
};
|
|
55
|
+
readonly THREE_UP_SCALED_TO_FIT: {
|
|
56
|
+
readonly id: "3-up-scaled-to-fit";
|
|
57
|
+
readonly title: "SbS (fit screen)";
|
|
58
|
+
readonly description: "Side by Side. Show images in one row and scale them down if needed to fit the screen.";
|
|
59
|
+
};
|
|
60
|
+
readonly ONLY_DIFF: {
|
|
61
|
+
readonly id: "only-diff";
|
|
62
|
+
readonly title: "Only Diff";
|
|
63
|
+
readonly description: "Only Diff. Show only diff image, click to highlight diff areas.";
|
|
64
|
+
};
|
|
65
|
+
readonly SWITCH: {
|
|
66
|
+
readonly id: "switch";
|
|
67
|
+
readonly title: "Switch";
|
|
68
|
+
readonly description: "Switch. Click to switch between expected and actual images.";
|
|
69
|
+
};
|
|
70
|
+
readonly SWIPE: {
|
|
71
|
+
readonly id: "swipe";
|
|
72
|
+
readonly title: "Swipe";
|
|
73
|
+
readonly description: "Swipe. Move the divider to compare expected and actual images.";
|
|
74
|
+
};
|
|
75
|
+
readonly ONION_SKIN: {
|
|
76
|
+
readonly id: "onion-skin";
|
|
77
|
+
readonly title: "Onion skin";
|
|
78
|
+
readonly description: "Onion Skin. Change the image opacity to compare expected and actual images.";
|
|
79
|
+
};
|
|
80
|
+
readonly TWO_UP_INTERACTIVE: {
|
|
81
|
+
readonly id: "2-up-interactive";
|
|
82
|
+
readonly title: "2-up Interactive";
|
|
83
|
+
readonly description: "2-up Interactive. Compare expected and actual images side by side with synchronized pan and zoom.";
|
|
84
|
+
};
|
|
85
|
+
}, "THREE_UP" | "THREE_UP_SCALED" | "THREE_UP_SCALED_TO_FIT" | "ONLY_DIFF" | "SWITCH" | "SWIPE" | "ONION_SKIN">;
|
|
39
86
|
export type DiffModes = typeof DiffModes;
|
|
40
87
|
export type DiffMode = ValueOf<DiffModes>;
|
|
41
88
|
export type DiffModeId = DiffModes[keyof DiffModes]['id'];
|
|
@@ -3,6 +3,8 @@ export declare enum LocalStorageKey {
|
|
|
3
3
|
TimeTravelUseRecommendedSettings = "time-travel-use-recommended-settings"
|
|
4
4
|
}
|
|
5
5
|
export declare const TIME_TRAVEL_PLAYER_VISIBILITY_KEY = "time-travel-player-visibility";
|
|
6
|
+
export declare const TWO_UP_DIFF_VISIBILITY_KEY = "2up-diff-visibility";
|
|
7
|
+
export declare const TWO_UP_FIT_MODE_KEY = "2up-fit-mode";
|
|
6
8
|
export declare enum UiMode {
|
|
7
9
|
Old = "old",
|
|
8
10
|
New = "new"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CoordBounds } from 'looks-same';
|
|
2
|
-
import { BrowserFeature, DiffModeId, Feature, TestStatus, ViewMode } from "../../../constants";
|
|
2
|
+
import { BrowserFeature, DiffModeId, Feature, TestStatus, ViewMode, TwoUpFitMode } from "../../../constants";
|
|
3
3
|
import { Attachment, BrowserItem, ImageFile, RefImageFile, StoreReporterConfig, TestError, TestStepCompressed } from "../../../types";
|
|
4
4
|
import { HtmlReporterValues } from "../../../plugin-api";
|
|
5
5
|
import { Point } from "./index";
|
|
@@ -233,6 +233,7 @@ export interface State {
|
|
|
233
233
|
useMatchCaseFilter: boolean;
|
|
234
234
|
viewMode: ViewMode;
|
|
235
235
|
filteredBrowsers: BrowserItem[];
|
|
236
|
+
diffMode: DiffModeId;
|
|
236
237
|
};
|
|
237
238
|
loading: {
|
|
238
239
|
/** @note Determines whether the loading bar is visible */
|
|
@@ -277,6 +278,8 @@ export interface State {
|
|
|
277
278
|
[Page.visualChecksPage]: {
|
|
278
279
|
sectionSizes: number[];
|
|
279
280
|
backupSectionSizes: number[];
|
|
281
|
+
is2UpDiffVisible: boolean;
|
|
282
|
+
twoUpFitMode: TwoUpFitMode;
|
|
280
283
|
};
|
|
281
284
|
staticImageAccepterToolbar: {
|
|
282
285
|
offset: Point;
|