Add end-to-end tests for chore and project functionalities, enhance auth flow, and update package version

This commit is contained in:
Mo Tarbin
2026-08-11 00:55:17 -04:00
parent 6100738db6
commit 43ffb3da5a
12 changed files with 535 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ test.describe('Auth Sign Up', () => {
await page.locator('#email').fill('short@donetick.test')
await page.locator('#password').fill('ValidPass123!')
await page.locator('#displayName').fill('Short User')
await page.getByRole('button', { name: 'Sign Up' }).click()
await page.getByRole('button', { name: 'Create account' }).click()
await expect(
page.getByText('Username must be at least 4 characters'),
@@ -52,7 +52,7 @@ test.describe('Auth Login', () => {
test('shows an error for wrong password', async ({ page }) => {
await page.goto('/login')
await page.locator('#email').fill('e2e.user')
await page.locator('#username').fill('e2e.user')
await page.locator('#password').fill('WrongPassword!')
await page.getByRole('button', { name: 'Sign In' }).click()