forked from mirror/crumbs-original
fix(test): update tests for multi-user schema and improve e2e reliability
Update unit test helpers with full multi-user schema, fix auth tests to include email field, and improve e2e tests with specific card targeting and force clicks for hover-revealed buttons. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Fred Cabassut
co-authored by
Claude Opus 4.6
parent
c0b5aa3bcb
commit
b90ab18ea7
@@ -42,7 +42,7 @@ test.describe('Notes CRUD', () => {
|
||||
// When the user trashes the note
|
||||
const card = noteCard(page, 'Delete Me');
|
||||
await card.hover();
|
||||
await card.getByTestId('trash-btn').click();
|
||||
await card.getByTestId('trash-btn').click({ force: true });
|
||||
|
||||
// Then the note is no longer visible
|
||||
await expect(page.getByText('Delete Me')).not.toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user