@applitools/eyes-playwright 1.40.7 → 1.41.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/dist/fixture/report-plugin/core/log.js +44 -0
  3. package/dist/fixture/report-plugin/core/types.js +5 -0
  4. package/dist/fixture/report-plugin/data/dataParser.js +126 -0
  5. package/dist/fixture/report-plugin/data/uiUtils.js +10 -0
  6. package/dist/fixture/report-plugin/data/urlManager.js +53 -0
  7. package/dist/fixture/report-plugin/handlers/domChangesHandler.js +58 -0
  8. package/dist/fixture/report-plugin/handlers/statusUpdateHandler.js +52 -0
  9. package/dist/fixture/report-plugin/handlers/urlChangeHandler.js +52 -0
  10. package/dist/fixture/report-plugin/management/playwrightStatusUpdater.js +73 -0
  11. package/dist/fixture/report-plugin/management/pollingManager.js +235 -0
  12. package/dist/fixture/report-plugin/management/reportDataManager.js +32 -0
  13. package/dist/fixture/report-plugin/management/statusUtils.js +102 -0
  14. package/dist/fixture/report-plugin/reportRenderer.js +107 -0
  15. package/dist/fixture/report-plugin/state/navigationState.js +24 -0
  16. package/dist/fixture/report-plugin/ui/eyesResultsBatchLinkUI.js +51 -0
  17. package/dist/fixture/report-plugin/ui/filterManager.js +60 -0
  18. package/dist/fixture/report-plugin/ui/mockIframeRenderer.js +173 -0
  19. package/dist/fixture/report-plugin/ui/navigationUI.js +98 -0
  20. package/dist/fixture/report-plugin/ui/testDetailUI.js +269 -0
  21. package/dist/fixture/report-plugin/ui/testListUI.js +43 -0
  22. package/dist/fixture/report-plugin/utils/scrollPreserver.js +33 -0
  23. package/dist/fixture/reportRenderer.js +1 -834
  24. package/dist/fixture/reportRenderer.js.map +1 -0
  25. package/package.json +9 -8
  26. package/dist/fixture/build/rollup.config.js +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-playwright",
3
- "version": "1.40.7",
3
+ "version": "1.41.1",
4
4
  "description": "Applitools Eyes SDK for Playwright",
5
5
  "keywords": [
6
6
  "eyes-playwright",
@@ -48,7 +48,7 @@
48
48
  "build:ts": "run build:ts:sdk && run build:ts:fixture",
49
49
  "build:ts:sdk": "run --top-level tspc --project ./tsconfig.build.json",
50
50
  "build:ts:fixture": "run --top-level tspc --project ./tsconfig.fixture.json",
51
- "build:report": "rollup --config src/fixture/build/rollup.config.ts --configPlugin typescript && cp src/fixture/reporterStyle.css dist/fixture && cp -R src/fixture/images dist/fixture",
51
+ "build:report": "rollup --config src/fixture/build/rollup.config.mjs && cp src/fixture/reporterStyle.css dist/fixture && cp -R src/fixture/images dist/fixture",
52
52
  "build:cli": "cp -R src/fixture/example dist/fixture",
53
53
  "generate:tests": "NODE_OPTIONS='--experimental-import-meta-resolve --experimental-loader=@applitools/generic/dist/code-loader.js' generic ./test/generic/config.mjs",
54
54
  "test": "APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE=\"./logs/$(uuidgen).log\" APPLITOOLS_BATCH_NAME='JS Tests: eyes-playwright' APPLITOOLS_BATCH_ID=$(uuidgen) run --top-level mocha './test/*.spec.{js,ts}' --exit",
@@ -59,10 +59,10 @@
59
59
  "up:framework": "echo \"$(jq '.devDependencies.playwright = $ENV.APPLITOOLS_FRAMEWORK_VERSION' ./package.json)\" > ./package.json"
60
60
  },
61
61
  "dependencies": {
62
- "@applitools/eyes": "1.36.13",
63
- "@applitools/req": "1.8.4",
64
- "@applitools/spec-driver-playwright": "1.7.6",
65
- "@applitools/utils": "1.12.0",
62
+ "@applitools/eyes": "1.36.15",
63
+ "@applitools/req": "1.8.5",
64
+ "@applitools/spec-driver-playwright": "1.7.7",
65
+ "@applitools/utils": "1.13.0",
66
66
  "@inquirer/prompts": "7.0.1",
67
67
  "chalk": "4.1.2",
68
68
  "yargs": "17.7.2"
@@ -72,14 +72,15 @@
72
72
  "@applitools/bongo": "^5.10.0",
73
73
  "@applitools/generic": "^3.9.2",
74
74
  "@applitools/test-utils": "^1.5.17",
75
- "@playwright/test": "1.47.0",
75
+ "@playwright/test": "1.54.2",
76
76
  "@rollup/plugin-commonjs": "^28.0.0",
77
77
  "@rollup/plugin-node-resolve": "^15.3.0",
78
+ "@rollup/plugin-terser": "^0.4.4",
78
79
  "@rollup/plugin-typescript": "^12.1.0",
79
80
  "@types/node": "^12.20.55",
80
81
  "jszip": "^3.10.1",
81
82
  "nock": "^13.3.2",
82
- "playwright": "1.49.0",
83
+ "playwright": "1.54.2",
83
84
  "rollup": "^4.1.4"
84
85
  },
85
86
  "peerDependencies": {
@@ -1,16 +0,0 @@
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
- const plugin_node_resolve_1 = __importDefault(require("@rollup/plugin-node-resolve"));
7
- const plugin_commonjs_1 = __importDefault(require("@rollup/plugin-commonjs"));
8
- const config = {
9
- input: 'src/fixture/reportRenderer.js',
10
- output: {
11
- dir: 'dist/fixture',
12
- format: 'cjs',
13
- },
14
- plugins: [(0, plugin_node_resolve_1.default)({ browser: true }), (0, plugin_commonjs_1.default)()],
15
- };
16
- exports.default = config;