@argos-ci/playwright 1.5.0 → 1.5.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.
- package/dist/reporter.d.ts +2 -1
- package/dist/reporter.mjs +1 -1
- package/package.json +2 -2
package/dist/reporter.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { FullConfig, FullResult, Reporter, Suite, TestCase, TestResult } from "@
|
|
|
3
3
|
import { UploadParameters } from "@argos-ci/core";
|
|
4
4
|
type ArgosReporterOptions = Omit<UploadParameters, "files" | "root"> & {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Upload the report to Argos.
|
|
7
|
+
* @default true
|
|
7
8
|
*/
|
|
8
9
|
uploadToArgos?: boolean;
|
|
9
10
|
};
|
package/dist/reporter.mjs
CHANGED
|
@@ -130,7 +130,7 @@ class ArgosReporter {
|
|
|
130
130
|
uploadToArgos;
|
|
131
131
|
constructor(config){
|
|
132
132
|
this.config = config;
|
|
133
|
-
this.uploadToArgos = config.uploadToArgos ??
|
|
133
|
+
this.uploadToArgos = config.uploadToArgos ?? true;
|
|
134
134
|
}
|
|
135
135
|
async writeFile(path, body) {
|
|
136
136
|
const dir = dirname(path);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/playwright",
|
|
3
3
|
"description": "Visual testing solution to avoid visual regression. Playwright commands and utilities for Argos visual testing.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"test": "pnpm exec playwright test",
|
|
60
60
|
"e2e": "pnpm run test"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "16f49a10ccee860be47a2c1c13c3dc738e3a2f9e"
|
|
63
63
|
}
|