Skip to content

fix: use HTTPS in Playwright webServer config#240

Merged
brendanjryan merged 4 commits intomainfrom
fix/playwright-https-webserver
Apr 7, 2026
Merged

fix: use HTTPS in Playwright webServer config#240
brendanjryan merged 4 commits intomainfrom
fix/playwright-https-webserver

Conversation

@brendanjryan
Copy link
Copy Markdown
Contributor

Problem

All E2E test shards have been failing with:

Error: Timed out waiting 60000ms from config.webServer.

vite-plugin-mkcert forces the dev server onto HTTPS (https://localhost:5173), but Playwright's webServer.url was set to http://localhost:5173. The health check never got a response, so all 3 shards timed out.

Fix

  • Changed baseURL and webServer.url to https://localhost:5173
  • Added ignoreHTTPSErrors: true to both use and webServer to accept the self-signed cert

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Apr 7, 2026 10:13pm
tempo-docs Ready Ready Preview, Comment Apr 7, 2026 10:13pm

Request Review

vite-plugin-mkcert forces the dev server onto HTTPS, but Playwright was
checking http://localhost:5173. The health check never got a response,
causing all E2E shards to time out after 60s.

Switch baseURL and webServer.url to https:// and add ignoreHTTPSErrors
to accept the self-signed cert.
1. vite-plugin-mkcert forces HTTPS; update Playwright to use
   https://localhost:5173 with ignoreHTTPSErrors.

2. In CI, set VITE_E2E=true so the wagmi config uses the accounts SDK
   webAuthn connector (compatible with virtual authenticators) instead
   of tempoWallet (iframe dialog that blocks the page). Production
   continues to use tempoWallet.

3. Update E2E tests to click 'Sign in' (matching current Login UI).
The accounts/wagmi webAuthn connector expects { method: 'register', name }
instead of { type: 'sign-up', label } used by wagmi/tempo webAuthn.
@brendanjryan brendanjryan merged commit 94fe448 into main Apr 7, 2026
8 of 9 checks passed
@brendanjryan brendanjryan deleted the fix/playwright-https-webserver branch April 7, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant