1
0
forked from baron/baron-sso

userfront e2e 전체 테스트

This commit is contained in:
2026-05-29 08:19:34 +09:00
parent dc16958804
commit da01f63c54
22 changed files with 1439 additions and 103 deletions

View File

@@ -313,13 +313,19 @@ test.describe('UserFront WASM route inventory (authed)', () => {
await expect(page).toHaveURL(/\/ko\/scan$/);
});
test('route: /ko/approve?ref=... -> /ko/dashboard', async ({ page }) => {
test('route: /ko/approve?ref=... -> /ko/dashboard', async ({
page,
}, testInfo) => {
await page.goto('/ko/approve?ref=e2e-ref');
await expect(page).toHaveURL(/\/ko\/dashboard$/);
await expect(page).toHaveURL(/\/ko\/dashboard$/, {
timeout: testInfo.project.name === 'webkit-desktop' ? 15_000 : 5_000,
});
});
test('route: /ko/ql/:ref -> /ko/dashboard', async ({ page }) => {
test('route: /ko/ql/:ref -> /ko/dashboard', async ({ page }, testInfo) => {
await page.goto('/ko/ql/e2e-ref');
await expect(page).toHaveURL(/\/ko\/dashboard$/);
await expect(page).toHaveURL(/\/ko\/dashboard$/, {
timeout: testInfo.project.name === 'webkit-desktop' ? 15_000 : 5_000,
});
});
});