forked from baron/baron-sso
userfront e2e 전체 테스트
This commit is contained in:
@@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user