@empiricalrun/playwright-utils 0.18.14 → 0.18.15

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.18.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 0ddaabc: fix: gate test case run events put on env variable
8
+ - Updated dependencies [eb46866]
9
+ - @empiricalrun/test-gen@0.38.41
10
+
3
11
  ## 0.18.14
4
12
 
5
13
  ### Patch Changes
@@ -133,7 +133,7 @@ class HtmlReporter {
133
133
  });
134
134
  Promise.all(attachmentPromises)
135
135
  .then((uploadedAttachments) => {
136
- if (!uploadedAttachments) {
136
+ if (!uploadedAttachments || !process.env.TEST_RUN_GITHUB_ACTION_ID) {
137
137
  return;
138
138
  }
139
139
  logger_1.logger.info(`All attachments processed, test data sent for test: ${test.title}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/playwright-utils",
3
- "version": "0.18.14",
3
+ "version": "0.18.15",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -43,9 +43,9 @@
43
43
  "playwright-extra": "^4.3.6",
44
44
  "puppeteer-extra-plugin-recaptcha": "^3.6.8",
45
45
  "rimraf": "^6.0.1",
46
- "@empiricalrun/test-gen": "^0.38.40",
47
- "@empiricalrun/r2-uploader": "^0.3.7",
48
- "@empiricalrun/llm": "^0.9.28"
46
+ "@empiricalrun/test-gen": "^0.38.41",
47
+ "@empiricalrun/llm": "^0.9.28",
48
+ "@empiricalrun/r2-uploader": "^0.3.7"
49
49
  },
50
50
  "scripts": {
51
51
  "dev": "tsc --build --watch",