chore: fix auth e2e
This commit is contained in:
parent
5edb8ca85d
commit
5409b78f9f
@ -29,6 +29,7 @@ test.describe('auth', () => {
|
|||||||
await page.getByPlaceholder('Password').fill('zidonghuaceshi123');
|
await page.getByPlaceholder('Password').fill('zidonghuaceshi123');
|
||||||
await page.getByRole('button', { name: 'Sign in' }).click();
|
await page.getByRole('button', { name: 'Sign in' }).click();
|
||||||
|
|
||||||
|
await page.getByTestId('user-center-button').hover();
|
||||||
await expect(page.getByText('zidonghuaceshi')).toBeVisible();
|
await expect(page.getByText('zidonghuaceshi')).toBeVisible();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user