Skip to content

Commit e0df424

Browse files
committed
fix(e2e): use exact text matching in sync-workflow to prevent strict mode violations
1 parent 74e79fd commit e0df424

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/sync-workflow.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ test.describe('Sync Workflow', () => {
119119
})
120120

121121
// Verify the seeded entity appears in the dashboard
122-
await expect(page.getByText('Synced Household Beta')).toBeVisible({
122+
await expect(page.getByText('Synced Household Beta', { exact: true })).toBeVisible({
123123
timeout: 30000,
124124
})
125125
})
@@ -164,7 +164,7 @@ test.describe('Sync Workflow', () => {
164164
})
165165

166166
await expect(
167-
page.getByText('Synced Household Beta (Updated)'),
167+
page.getByText('Synced Household Beta (Updated)', { exact: true }),
168168
).toBeVisible({ timeout: 30000 })
169169
})
170170
})

0 commit comments

Comments
 (0)