From 4a23590fe74555618883ecc85b081b16356c1787 Mon Sep 17 00:00:00 2001 From: kyle Date: Thu, 24 Oct 2024 12:50:43 -0400 Subject: [PATCH] fixing text --- playwright/integration/landing.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/integration/landing.spec.ts b/playwright/integration/landing.spec.ts index e08c34b8..79686a58 100644 --- a/playwright/integration/landing.spec.ts +++ b/playwright/integration/landing.spec.ts @@ -13,7 +13,7 @@ test("View landing page with search", async ({ page }) => { await page.goto(`${HOME_PATH}`); const searchBar = page.getByTestId(SEARCH_BAR_TEST_ID); - expect(searchBar).toBeInViewport(); + await expect(searchBar).toBeVisible(); }); test("Shows error page for invalid collection", async ({ page }) => {