@alternative-path/testlens-playwright-reporter 0.4.1 → 0.4.2

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/index.ts +2 -2
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -1211,8 +1211,8 @@ class TestLensReporter {
1211
1211
  maxContentLength: Infinity,
1212
1212
  maxBodyLength: Infinity,
1213
1213
  timeout: Math.max(600000, Math.ceil(fileSize / (1024 * 1024)) * 10000), // 10s per MB, min 10 minutes - increased for large trace files
1214
- // Don't use custom HTTPS agent for S3 uploads
1215
- httpsAgent: undefined
1214
+ // Use the same HTTPS agent with CA certificates for S3 uploads
1215
+ httpsAgent: this.axiosInstance.defaults.httpsAgent
1216
1216
  });
1217
1217
  if (uploadResponse.status !== 200) {
1218
1218
  throw new Error(`S3 upload failed with status ${uploadResponse.status}`);
package/index.ts CHANGED
@@ -1504,8 +1504,8 @@ export class TestLensReporter implements Reporter {
1504
1504
  maxContentLength: Infinity,
1505
1505
  maxBodyLength: Infinity,
1506
1506
  timeout: Math.max(600000, Math.ceil(fileSize / (1024 * 1024)) * 10000), // 10s per MB, min 10 minutes - increased for large trace files
1507
- // Don't use custom HTTPS agent for S3 uploads
1508
- httpsAgent: undefined
1507
+ // Use the same HTTPS agent with CA certificates for S3 uploads
1508
+ httpsAgent: (this.axiosInstance.defaults as any).httpsAgent
1509
1509
  });
1510
1510
 
1511
1511
  if (uploadResponse.status !== 200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alternative-path/testlens-playwright-reporter",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Universal Playwright reporter for TestLens - works with both TypeScript and JavaScript projects",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",