From 01f9cff1894a81f536ff90ee3f800020010ce098 Mon Sep 17 00:00:00 2001 From: Johan Bisse Mattsson Date: Thu, 14 Nov 2024 15:08:34 +0100 Subject: [PATCH] Test adding locator to fix failing test on ci --- packages/supersearch/e2e/supersearch.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/supersearch/e2e/supersearch.spec.ts b/packages/supersearch/e2e/supersearch.spec.ts index 90428a177..0f572e20a 100644 --- a/packages/supersearch/e2e/supersearch.spec.ts +++ b/packages/supersearch/e2e/supersearch.spec.ts @@ -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' ); });