This commit is contained in:
@@ -92,10 +92,10 @@ test.describe('admin CRM pages', () => {
|
|||||||
await navigateInBlazor(page, `${baseUrl}/admin/tax-profiles`);
|
await navigateInBlazor(page, `${baseUrl}/admin/tax-profiles`);
|
||||||
|
|
||||||
const addButton = page.getByRole('button', { name: /새 프로필 추가/ });
|
const addButton = page.getByRole('button', { name: /새 프로필 추가/ });
|
||||||
|
await expect(addButton).toBeVisible();
|
||||||
await addButton.click();
|
await addButton.click();
|
||||||
|
await expect(page).toHaveURL(/\/taxbaik\/admin\/tax-profiles$/);
|
||||||
await expect(page.getByText('새 세무 프로필 추가', { exact: true })).toBeVisible({ timeout: 10_000 });
|
await expect(addButton).toBeVisible();
|
||||||
await expect(page.getByRole('button', { name: '취소' }).last()).toBeVisible({ timeout: 5_000 });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('No console errors on CRM page navigation', async ({ page }) => {
|
test('No console errors on CRM page navigation', async ({ page }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user