Skip to content

Commit 523a266

Browse files
committed
Revert Playwright config to original conditional command setup
The unconditional command change was causing test failures because the directory move operation was being executed in CI environment. Restoring the original behavior where the move only happens in CI mode. https://claude.ai/code/session_01BRnViGPGv2XXH7kaE3EDCZ
1 parent 1da7d97 commit 523a266

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/components/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ export default defineConfig({
3838
url: TEST_URL,
3939
reuseExistingServer: false,
4040
/* The builtin Stencil server sometimes fails to serve some assets which leads to intermittent test failures. Use a more stable server (without watcher) for CI: */
41-
command: `stencil build --dev && mv dist/kolibri dist/build && npx serve dist -p ${TEST_PORT} -L`,
41+
...(process.env.CI ? { command: `stencil build --dev && mv dist/kolibri dist/build && npx serve dist -p ${TEST_PORT} -L` } : {}),
4242
},
4343
});

0 commit comments

Comments
 (0)