You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(e2e): read ports from project config instead of hardcoding #3775
E2E tests hardcode localhost:3000 (API) and localhost:8080 (Vue) in three places:
playwright.config.js — baseURL and webServer port
src/lib/helpers/e2e/auth.js — signup/signin API calls
src/lib/helpers/e2e/api.js — const API = 'http://localhost:3000/api'
The project config system (generateConfig.js) already supports per-project ports via NODE_ENV={project} configs (e.g. Lou uses 3010/8010), but E2E files don't read from it.
This causes all downstream project E2E tests to fail locally since they run on different ports.
Expected behavior
playwright.config.js should run generateConfig then import the generated config to read port and api.port
E2E helpers should build API URLs from the config (api.protocol, api.host, api.port, api.base)
Running NODE_ENV=lou npx playwright test should work on ports 3010/8010 automatically
Activity
fix(e2e): read ports from project config instead of hardcoding
fix(e2e): read ports from project config instead of hardcoding (#3777)
chore(release): 1.5.0