From 65bfabe5065fab2dc5b01b9f2645612b665782fc Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Wed, 11 Nov 2026 17:47:46 -0500 Subject: [PATCH] chore(test): run the e2e tests against the production build in ci --- playwright.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index aa238a2..e107810 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -19,7 +19,9 @@ export default defineConfig({ }, ], webServer: { - command: 'npm start -- --port 4311', + // CI tests the production build, which is what gets deployed, so build-tool + // updates are checked at runtime and not only by `npm run build` succeeding. + command: process.env.CI ? 'npm start -- --port 4311 --configuration=production' : 'npm start -- --port 4311', url: baseURL, reuseExistingServer: !process.env.CI, timeout: 120_000,