Skip to content

Commit

Permalink
Test adding locator to fix failing test on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson committed Nov 14, 2024
1 parent f9ec177 commit 01f9cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/supersearch/e2e/supersearch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test('prevents new line characters (e.g. when pasting multi-lined text', async (
three`)
);
await page.keyboard.press('Meta+v');
await expect(page.locator('[data-test-id="test1"]').getByRole('textbox')).toHaveText(
await expect(page.locator('[data-test-id="test1"]').getByRole('textbox').locator('div')).toHaveText(
'One two three'
);
});

0 comments on commit 01f9cff

Please sign in to comment.