Skip to content

Commit 4591106

Browse files
committed
Dummy: Dummy
1 parent 9594ce2 commit 4591106

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
- name: Run Playwright tests
3535
id: test-ui
3636
run: |
37-
cd tests && npx playwright test | tee output.log
37+
cd ../exampleSite && sed -i.bkp 's/disable_coveo = .*/disable_coveo = false/' hugo.toml && hugo mod get && hugo --gc --config hugo.toml,hugo.test.toml && hugo serve --port 1313 --config hugo.toml,hugo.test.toml
38+
cd ..tests && npx playwright test | tee output.log
3839
if grep -q "failed" output.log; then
3940
echo "Playwright tests failed. Please view the Playwright report to see full error."
4041
exit 1

tests/playwright.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default defineConfig({
3333
},
3434
],
3535
webServer: {
36-
command: `cd ../exampleSite && sed -i.bkp 's/disable_coveo = .*/disable_coveo = false/' hugo.toml && hugo mod get && hugo --gc --config hugo.toml,hugo.test.toml && hugo serve --port ${PORT} --config hugo.toml,hugo.test.toml`,
3736
url: `${BASE_URL}:${PORT}`,
3837
stdout: 'ignore',
3938
reuseExistingServer: !process.env.CI,

0 commit comments

Comments
 (0)