commit bc3a849bd62ab0f2704c3536ef33eea2b19cac9a
parent 7c434df5a24fbdd3fe06bf1eb086b34649762ad7
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 5 Feb 2022 19:39:03 +0100
Try starting the webserver on the outside of playwright instead
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
@@ -50,7 +50,7 @@ jobs:
- name: Install Playwright
run: npx playwright install --with-deps && npx playwright install msedge
- name: Run Playwright tests
- run: node --version && npx playwright --version && npx playwright test
+ run: (node --version && npx playwright --version) && npm run dev-tests & npx playwright test
- uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2
if: always()
with:
diff --git a/playwright.config.ts b/playwright.config.ts
@@ -104,11 +104,11 @@ const config: PlaywrightTestConfig = {
/* Folder for test artifacts such as screenshots, videos, traces, etc. */
outputDir: 'test-results/',
- /* Run your local dev server before starting the tests */
+ /* Run your local dev server before starting the tests
webServer: {
command: 'npm run dev-tests',
port: 3000,
reuseExistingServer: !process.env.CI,
- },
+ },*/
};
export default config;