Skip to content

Commit f791848

Browse files
committed
fix(qa): keep Playwright independent of AI build
1 parent e33b44f commit f791848

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎extensions/qa-lab/src/suite-launch.runtime.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,7 @@ describe("qa suite runtime launcher", () => {
12061206
},
12071207
});
12081208
expect(runQaFlowSuite).not.toHaveBeenCalled();
1209+
expect(runPluginCommandWithTimeout).not.toHaveBeenCalled();
12091210
expect(runQaTestFileScenarios).toHaveBeenCalledTimes(1);
12101211
const [call] = runQaTestFileScenarios.mock.calls[0] ?? [];
12111212
expect(call).toMatchObject({

‎extensions/qa-lab/src/suite-launch.runtime.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ async function runUnifiedQaSuite(params: {
13341334
};
13351335
// Native children opt out of their destructive global build only after this
13361336
// scheduler has established the shared runtime they consume concurrently.
1337-
if (concurrentTestFileScenariosByKind.size > 0) {
1337+
if (concurrentTestFileScenariosByKind.has("vitest")) {
13381338
await prepareQaSuiteNativeRuntime(repoRoot);
13391339
}
13401340
const concurrentPartitionResults = await runPartitionTasks(concurrentPartitionTasks, concurrency);

0 commit comments

Comments
 (0)