1
0
forked from baron/baron-sso

fix(userfront-e2e): fix widespread test failures in non-Chromium browsers

- Add COOP/COEP headers to serve script for Flutter WASM compatibility (SharedArrayBuffer)
- Update CI workflow to install all Playwright browsers for userfront-e2e
- Fix command reporting consistency in adminfront test script
This commit is contained in:
2026-05-27 13:42:50 +09:00
parent d25b5bc61d
commit c7053c2c51
3 changed files with 11 additions and 5 deletions

View File

@@ -423,7 +423,7 @@ jobs:
run: |
set +e
cd userfront-e2e
npx playwright install --with-deps chromium 2>&1 | tee ../reports/userfront-e2e-provision.log
npx playwright install --with-deps 2>&1 | tee ../reports/userfront-e2e-provision.log
provision_exit_code=${PIPESTATUS[0]}
cd ..
set -e
@@ -438,7 +438,7 @@ jobs:
echo "- Exit Code: \`$provision_exit_code\`"
echo
echo "## Command"
echo "\`cd userfront-e2e && npx playwright install --with-deps chromium\`"
echo "\`cd userfront-e2e && npx playwright install --with-deps\`"
echo
echo "## Provision Log Tail (last 200 lines)"
echo '```text'
@@ -470,7 +470,7 @@ jobs:
echo "1. \`cd userfront-e2e\`"
echo "2. \`npm ci\`"
echo "3. \`cd ../userfront && flutter build web --wasm --release\`"
echo "4. \`cd ../userfront-e2e && npx playwright install --with-deps chromium\`"
echo "4. \`cd ../userfront-e2e && npx playwright install --with-deps\`"
echo "5. \`npm test\`"
echo
echo "## Log Tail (last 200 lines)"