Expand e2e auth coverage, Vitest CI, and shared URL defaults
CI / skip-ci-check (pull_request) Successful in 4s
CI / docker-ci (pull_request) Successful in 6s
CI / secret-scan (pull_request) Successful in 13s
CI / e2e (pull_request) Successful in 2m14s
CI / viewer-unit (pull_request) Successful in 2m38s

Wire viewer-frontend Vitest into Gitea Actions, centralize DEV base URLs
in env-defaults.json, expand playkit API catalog specs, and land auth/mail
flows plus verify-email public-host redirect and idle-logout e2e hooks.
This commit is contained in:
2026-07-14 18:49:42 -04:00
parent 62d5a66ffa
commit 47b15049bc
25 changed files with 602 additions and 125 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ test.describe('auth @smoke', () => {
await timings.measure('login', async () => {
await loginPage.openLogin();
await loginPage.signIn(e2eCredentials!.email, e2eCredentials!.password);
await page.getByLabel('Account menu').waitFor({ state: 'visible' });
await page.waitForURL((url) => !url.pathname.includes('/login'), { timeout: 30_000 });
await page.getByLabel('Account menu').waitFor({ state: 'visible', timeout: 30_000 });
});
await waitForUrlHost(page, playkitConfig.expectedHost);