fix(playwright.config): update web server configuration to use URL

- Changed the web server configuration to specify the URL as 'http://localhost:3000' for improved clarity in local development.
</message>

<message>feat(ci-pipeline): add artifact upload and download steps in CI workflow

- Introduced steps to upload the build output as an artifact after the build job.
- Added a step to download the build output artifact before running Playwright tests, ensuring the tests have access to the latest build.
This commit is contained in:
taroj1205 2025-05-16 13:00:14 +12:00
parent 024a8a4574
commit 24edc39847
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7
2 changed files with 12 additions and 3 deletions

View file

@ -66,7 +66,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
command: process.env.CI ? 'npm run start' : 'npm run dev',
port: 3000,
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});