Skip to content

Commit 171b27a

Browse files
DanWahlinclaude
andcommitted
Fix E2E test selector broken by theme token migration
The child row locator used bg-zinc-800 which was changed to bg-muted in the TaskGroupDialog theme fix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6d7be36 commit 171b27a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/e2e/tests/groups.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ test.describe('Task Groups UI', () => {
464464

465465
// With 3 children, each row has a delete button (the small icon button at the end)
466466
// The Trash2 icon renders as an SVG. Find the last small button in a child row.
467-
const childRows = page.locator('[class*="rounded-lg border"][class*="bg-zinc-800"]').filter({
467+
const childRows = page.locator('[class*="rounded-lg border"][class*="bg-muted"]').filter({
468468
has: page.getByPlaceholder('Task title'),
469469
});
470470
await expect(childRows).toHaveCount(3);

0 commit comments

Comments
 (0)