@empiricalrun/playwright-utils 0.7.3 → 0.7.5
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/CHANGELOG.md +12 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -3
- package/dist/reporter/upload.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @empiricalrun/playwright-utils
|
|
2
2
|
|
|
3
|
+
## 0.7.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 175e60d: fix: execution order of playwright reporter
|
|
8
|
+
|
|
9
|
+
## 0.7.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7f2e9c3: fix: fix error handling in uploads
|
|
14
|
+
|
|
3
15
|
## 0.7.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,eAAO,MAAM,UAAU,EAAE,oBAwBxB,CAAC"}
|
package/dist/config.js
CHANGED
|
@@ -9,10 +9,9 @@ exports.baseConfig = {
|
|
|
9
9
|
retries: "true" ? 2 : 0,
|
|
10
10
|
workers: undefined,
|
|
11
11
|
reporter: [
|
|
12
|
-
["./node_modules/@empiricalrun/playwright-utils/dist/reporter/custom.js"],
|
|
13
|
-
["json", { outputFile: "playwright-report/summary.json" }],
|
|
14
12
|
["list"], // For real-time reporting on CI terminal (vs. the default "dot" reporter)
|
|
15
|
-
|
|
13
|
+
["json", { outputFile: "playwright-report/summary.json" }],
|
|
14
|
+
["./node_modules/@empiricalrun/playwright-utils/dist/reporter/custom.js"],
|
|
16
15
|
],
|
|
17
16
|
use: {
|
|
18
17
|
trace: "on",
|
package/dist/reporter/upload.js
CHANGED
|
@@ -114,10 +114,10 @@ const run = async (config) => {
|
|
|
114
114
|
catch (err) {
|
|
115
115
|
const error = err;
|
|
116
116
|
if (error["$metadata"]) {
|
|
117
|
-
if (error.$metadata.httpStatusCode !== 412)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
if (error.$metadata.httpStatusCode !== 412) {
|
|
118
|
+
console.log(`R2 Error - ${file} ${config.sourceDir} ${config.destinationDir} \nError: ${error}`);
|
|
119
|
+
throw error;
|
|
120
|
+
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
return;
|