This commit is contained in:
@@ -38,7 +38,7 @@ export async function loginThroughAdminUi(
|
|||||||
await page.locator('input[placeholder="비밀번호"]').fill(password);
|
await page.locator('input[placeholder="비밀번호"]').fill(password);
|
||||||
await page.getByRole('button', { name: '로그인' }).click();
|
await page.getByRole('button', { name: '로그인' }).click();
|
||||||
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/);
|
await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/);
|
||||||
await expect(page.getByRole('heading', { name: '대시보드' })).toBeVisible({ timeout: 20_000 });
|
await expect(page.getByRole('heading', { name: '대시보드' }).first()).toBeVisible({ timeout: 20_000 });
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function navigateInBlazor(page: Page, targetUrl: string) {
|
export async function navigateInBlazor(page: Page, targetUrl: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user