@argos-ci/playwright 7.4.2 → 7.4.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.d.mts +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -132,11 +132,11 @@ type ArgosScreenshotOptions = {
|
|
|
132
132
|
stabilize?: boolean | StabilizationPluginOptions;
|
|
133
133
|
/**
|
|
134
134
|
* Run a function before taking the screenshot.
|
|
135
|
-
* When using viewports, this function will run before taking
|
|
135
|
+
* When using viewports, this function will run before taking screenshots on each viewport.
|
|
136
136
|
*/
|
|
137
137
|
beforeScreenshot?: (api: {
|
|
138
138
|
/**
|
|
139
|
-
* Run Argos stabilization
|
|
139
|
+
* Run Argos stabilization algorithm.
|
|
140
140
|
* Accepts an object to customize the stabilization.
|
|
141
141
|
* Note that this function is independent of the `stabilize` option.
|
|
142
142
|
*/
|
|
@@ -144,12 +144,12 @@ type ArgosScreenshotOptions = {
|
|
|
144
144
|
}) => Promise<void> | void;
|
|
145
145
|
/**
|
|
146
146
|
* Run a function after taking the screenshot.
|
|
147
|
-
* When using viewports, this function will run after taking
|
|
147
|
+
* When using viewports, this function will run after taking screenshots on each viewport.
|
|
148
148
|
*/
|
|
149
149
|
afterScreenshot?: () => Promise<void> | void;
|
|
150
150
|
} & LocatorOptions & ScreenshotOptions<LocatorScreenshotOptions> & ScreenshotOptions<PageScreenshotOptions>;
|
|
151
151
|
/**
|
|
152
|
-
* Stabilize the UI and
|
|
152
|
+
* Stabilize the UI and take a screenshot of the application under test.
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
155
|
* argosScreenshot(page, "my-screenshot")
|
package/dist/index.mjs
CHANGED
|
@@ -418,7 +418,7 @@ function getStabilizationContext$1(options) {
|
|
|
418
418
|
//#region src/screenshot.ts
|
|
419
419
|
const DEFAULT_SCREENSHOT_ROOT = "./screenshots";
|
|
420
420
|
/**
|
|
421
|
-
* Stabilize the UI and
|
|
421
|
+
* Stabilize the UI and take a screenshot of the application under test.
|
|
422
422
|
*
|
|
423
423
|
* @example
|
|
424
424
|
* argosScreenshot(page, "my-screenshot")
|
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": "7.4.
|
|
4
|
+
"version": "7.4.3",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"lint": "eslint .",
|
|
70
70
|
"test": "vitest src"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "fd20b0af878b8186d6950c2e9c4ab381ca3fcaa1"
|
|
73
73
|
}
|