@dionlarson/playwright-orchestrator-core 1.6.6 → 1.6.7

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.
@@ -11,6 +11,7 @@ export declare class TestRunner {
11
11
  private readonly adapter;
12
12
  private readonly runId;
13
13
  private readonly outputFolder;
14
+ private readonly testResultsFolder;
14
15
  private readonly reporter;
15
16
  private setupManager?;
16
17
  private hasFailures;
@@ -23,6 +23,7 @@ export class TestRunner {
23
23
  adapter;
24
24
  runId;
25
25
  outputFolder;
26
+ testResultsFolder = 'test-results';
26
27
  reporter = new TestExecutionReporter();
27
28
  setupManager;
28
29
  hasFailures = false;
@@ -101,6 +102,7 @@ export class TestRunner {
101
102
  }
102
103
  async removePreviousReports() {
103
104
  await rm(`./${this.outputFolder}`, { recursive: true, force: true });
105
+ await rm(`./${this.testResultsFolder}`, { recursive: true, force: true });
104
106
  await mkdir(`./${this.outputFolder}`, { recursive: true });
105
107
  }
106
108
  async runTest(test, config) {
@@ -153,7 +155,7 @@ export class TestRunner {
153
155
  const args = [...config.args];
154
156
  args.push('--workers', '1');
155
157
  args.push('--project', `"${test.project}"`);
156
- args.push('--output', `"${this.outputFolder}/${testHash}"`);
158
+ args.push('--output', `"${this.testResultsFolder}/${testHash}"`);
157
159
  if (config.configFile) {
158
160
  args.push('--config', `"${config.configFile}"`);
159
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dionlarson/playwright-orchestrator-core",
3
- "version": "1.6.6",
3
+ "version": "1.6.7",
4
4
  "description": "Core lib and cli for Playwright test orchestration",
5
5
  "keywords": [
6
6
  "playwright",