@argos-ci/playwright 7.6.0 → 7.7.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 +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/reporter.d.mts +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
|
-
<p align="center"><strong>The open source visual testing platform for AI
|
|
10
|
+
<p align="center"><strong>The open source visual testing platform for teams and AI agents.</strong></p>
|
|
11
11
|
|
|
12
12
|
# Official Argos Playwright integration
|
|
13
13
|
|
package/dist/index.d.mts
CHANGED
|
@@ -48,7 +48,7 @@ type ArgosSnapshotOptions = {
|
|
|
48
48
|
* argosAriaSnapshot(page, "my-screenshot")
|
|
49
49
|
* @see https://playwright.dev/docs/aria-snapshots
|
|
50
50
|
*/
|
|
51
|
-
declare function argosAriaSnapshot(
|
|
51
|
+
export declare function argosAriaSnapshot(
|
|
52
52
|
/**
|
|
53
53
|
* Playwright `page` or `frame` object.
|
|
54
54
|
*/
|
|
@@ -155,7 +155,7 @@ type ArgosScreenshotOptions = {
|
|
|
155
155
|
* argosScreenshot(page, "my-screenshot")
|
|
156
156
|
* @see https://argos-ci.com/docs/reference/playwright
|
|
157
157
|
*/
|
|
158
|
-
declare function argosScreenshot(
|
|
158
|
+
export declare function argosScreenshot(
|
|
159
159
|
/**
|
|
160
160
|
* Playwright `page` or `frame` object.
|
|
161
161
|
*/
|
|
@@ -173,7 +173,7 @@ options?: ArgosScreenshotOptions): Promise<ArgosAttachment[]>;
|
|
|
173
173
|
/**
|
|
174
174
|
* Get the CSP script hash.
|
|
175
175
|
*/
|
|
176
|
-
declare function getCSPScriptHash(): string;
|
|
176
|
+
export declare function getCSPScriptHash(): string;
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/metadata.d.ts
|
|
179
179
|
type MetadataConfig = {
|
|
@@ -195,4 +195,4 @@ type MetadataConfig = {
|
|
|
195
195
|
*/
|
|
196
196
|
declare function setMetadataConfig(metadata: MetadataConfig): void;
|
|
197
197
|
//#endregion
|
|
198
|
-
export { type ArgosAttachment, type ArgosScreenshotOptions, type ArgosSnapshotOptions, setMetadataConfig as DO_NOT_USE_setMetadataConfig, type MetadataConfig
|
|
198
|
+
export { type ArgosAttachment, type ArgosScreenshotOptions, type ArgosSnapshotOptions, setMetadataConfig as DO_NOT_USE_setMetadataConfig, type MetadataConfig };
|
package/dist/reporter.d.mts
CHANGED
|
@@ -2231,7 +2231,7 @@ type DynamicBuildName<T extends readonly string[]> = {
|
|
|
2231
2231
|
*/
|
|
2232
2232
|
get: (test: TestCase) => T[number];
|
|
2233
2233
|
};
|
|
2234
|
-
type ArgosReporterOptions<T extends string[] = string[]> = Omit<UploadParameters, "files" | "root" | "buildName" | "metadata"> & {
|
|
2234
|
+
export type ArgosReporterOptions<T extends string[] = string[]> = Omit<UploadParameters, "files" | "root" | "buildName" | "metadata"> & {
|
|
2235
2235
|
/**
|
|
2236
2236
|
* Upload the report to Argos.
|
|
2237
2237
|
* @default true
|
|
@@ -2248,7 +2248,7 @@ type ArgosReporterOptions<T extends string[] = string[]> = Omit<UploadParameters
|
|
|
2248
2248
|
*/
|
|
2249
2249
|
buildName?: string | DynamicBuildName<T> | null;
|
|
2250
2250
|
};
|
|
2251
|
-
declare function createArgosReporterOptions<T extends string[]>(options: ArgosReporterOptions<T>): ArgosReporterOptions<T>;
|
|
2251
|
+
export declare function createArgosReporterOptions<T extends string[]>(options: ArgosReporterOptions<T>): ArgosReporterOptions<T>;
|
|
2252
2252
|
declare class ArgosReporter implements Reporter {
|
|
2253
2253
|
rootUploadDirectoryPromise: null | Promise<string>;
|
|
2254
2254
|
uploadDirectoryPromises: Map<string, Promise<string>>;
|
|
@@ -2280,4 +2280,4 @@ declare class ArgosReporter implements Reporter {
|
|
|
2280
2280
|
printsToStdio(): boolean;
|
|
2281
2281
|
}
|
|
2282
2282
|
//#endregion
|
|
2283
|
-
export {
|
|
2283
|
+
export { ArgosReporter as default };
|
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
|
+
"version": "7.7.0",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"node": ">=22.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@argos-ci/browser": "6.
|
|
51
|
-
"@argos-ci/core": "6.8.
|
|
52
|
-
"@argos-ci/util": "4.2.
|
|
53
|
-
"chalk": "^6.0.
|
|
50
|
+
"@argos-ci/browser": "6.5.0",
|
|
51
|
+
"@argos-ci/core": "6.8.6",
|
|
52
|
+
"@argos-ci/util": "4.2.1",
|
|
53
|
+
"chalk": "^6.0.1",
|
|
54
54
|
"debug": "^4.4.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"lint": "eslint .",
|
|
70
70
|
"test": "vitest src"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "4f0edc08d8549534dd3a682bbe034ebcb604bddf"
|
|
73
73
|
}
|