chore: fix auth e2e

This commit is contained in:
Zeke Zhang 2024-02-23 10:12:05 +08:00
parent 5edb8ca85d
commit 5409b78f9f

View File

@ -29,6 +29,7 @@ test.describe('auth', () => {
await page.getByPlaceholder('Password').fill('zidonghuaceshi123');
await page.getByRole('button', { name: 'Sign in' }).click();
await page.getByTestId('user-center-button').hover();
await expect(page.getByText('zidonghuaceshi')).toBeVisible();
});
});