@argos-ci/playwright 6.3.1 → 6.3.3
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/dist/index.cjs +23 -2
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
async function argosAriaSnapshot(...args) {
|
|
2
|
+
const { argosAriaSnapshot } = await import("./index.js");
|
|
3
|
+
return argosAriaSnapshot(...args);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
async function argosScreenshot(...args) {
|
|
2
7
|
const { argosScreenshot } = await import("./index.js");
|
|
3
8
|
return argosScreenshot(...args);
|
|
4
|
-
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function getCSPScriptHash(...args) {
|
|
12
|
+
// Loading ESM using require works in Node.js v22.13.0+
|
|
13
|
+
const { getCSPScriptHash } = require("./index.js");
|
|
14
|
+
return getCSPScriptHash(...args);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function DO_NOT_USE_setMetadataConfig(...args) {
|
|
18
|
+
// Loading ESM using require works in Node.js v22.13.0+
|
|
19
|
+
const { DO_NOT_USE_setMetadataConfig } = require("./index.js");
|
|
20
|
+
return DO_NOT_USE_setMetadataConfig(...args);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.argosAriaSnapshot = argosAriaSnapshot;
|
|
5
24
|
exports.argosScreenshot = argosScreenshot;
|
|
25
|
+
exports.getCSPScriptHash = getCSPScriptHash;
|
|
26
|
+
exports.DO_NOT_USE_setMetadataConfig = DO_NOT_USE_setMetadataConfig;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Page, Frame, Locator, ElementHandle, PageScreenshotOptions, LocatorScreenshotOptions } from '@playwright/test';
|
|
2
2
|
import { StabilizationPluginOptions, ViewportOption } from '@argos-ci/browser';
|
|
3
3
|
import { ScreenshotMetadata } from '@argos-ci/util';
|
|
4
4
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/playwright",
|
|
3
3
|
"description": "Playwright SDK for visual testing with Argos.",
|
|
4
|
-
"version": "6.3.
|
|
4
|
+
"version": "6.3.3",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"node": ">=20.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@argos-ci/browser": "5.
|
|
50
|
+
"@argos-ci/browser": "5.1.0",
|
|
51
51
|
"@argos-ci/core": "4.5.0",
|
|
52
52
|
"@argos-ci/util": "3.2.0",
|
|
53
53
|
"chalk": "^5.6.2",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"lint": "eslint .",
|
|
70
70
|
"test": "vitest src"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "c6f3e951890ba17723c5576380f96bde4d785ab1"
|
|
73
73
|
}
|