@dionlarson/playwright-orchestrator-core 1.3.4 → 1.3.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.
@@ -129,13 +129,22 @@ export class TestRunner {
129
129
  async createTempConfig(file) {
130
130
  if (!file)
131
131
  return;
132
- // Modify config: remove webServer, add our reporters while preserving existing ones
132
+ // Modify config: remove webServer, clear project dependencies, add our reporters
133
133
  const content = `
134
134
  import config from '${path.resolve(file)}';
135
135
 
136
136
  // Remove webServer - not supported in orchestrator (server should already be running)
137
137
  delete config.webServer;
138
138
 
139
+ // Clear project dependencies - setup projects should be run separately before orchestrator
140
+ // Each orchestrator test runs in a fresh playwright process, and we don't want
141
+ // setup projects re-running for every test
142
+ if (config.projects) {
143
+ for (const project of config.projects) {
144
+ project.dependencies = [];
145
+ }
146
+ }
147
+
139
148
  // Add our reporters while preserving existing reporters from config
140
149
  const existingReporters = Array.isArray(config.reporter) ? config.reporter :
141
150
  config.reporter ? [[config.reporter]] : [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dionlarson/playwright-orchestrator-core",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Core lib and cli for Playwright test orchestration",
5
5
  "keywords": [
6
6
  "playwright",