@dionlarson/playwright-orchestrator-core 1.3.3 → 1.3.4

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.
@@ -119,7 +119,6 @@ export class TestRunner {
119
119
  buildParams(test, config, testHash) {
120
120
  const args = [...config.args];
121
121
  args.push('--workers', '1');
122
- args.push('--reporter', 'list,blob,@dionlarson/playwright-orchestrator-core/test-result-reporter');
123
122
  args.push('--project', `"${test.project}"`);
124
123
  args.push('--output', `"${this.outputFolder}/${testHash}"`);
125
124
  if (config.configFile) {
@@ -130,10 +129,22 @@ export class TestRunner {
130
129
  async createTempConfig(file) {
131
130
  if (!file)
132
131
  return;
133
- // Remove webServer from the config. Not supported in the orchestrator
132
+ // Modify config: remove webServer, add our reporters while preserving existing ones
134
133
  const content = `
135
134
  import config from '${path.resolve(file)}';
135
+
136
+ // Remove webServer - not supported in orchestrator (server should already be running)
136
137
  delete config.webServer;
138
+
139
+ // Add our reporters while preserving existing reporters from config
140
+ const existingReporters = Array.isArray(config.reporter) ? config.reporter :
141
+ config.reporter ? [[config.reporter]] : [];
142
+ config.reporter = [
143
+ ...existingReporters,
144
+ ['blob'],
145
+ ['@dionlarson/playwright-orchestrator-core/test-result-reporter'],
146
+ ];
147
+
137
148
  export default config;`;
138
149
  const tempFile = `.playwright-${uuid.v7()}.config.tmp.ts`;
139
150
  await writeFile(tempFile, content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dionlarson/playwright-orchestrator-core",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Core lib and cli for Playwright test orchestration",
5
5
  "keywords": [
6
6
  "playwright",