From c8b5d029f254cf308389b7cb679cc8499bdd27d4 Mon Sep 17 00:00:00 2001 From: Jakub Novak Date: Mon, 14 Oct 2024 22:53:20 -0700 Subject: [PATCH] Fix browser test --- packages/js-sdk/tests/runtimes/browser/run.test.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/js-sdk/tests/runtimes/browser/run.test.tsx b/packages/js-sdk/tests/runtimes/browser/run.test.tsx index 3f7f05b71..0340bd30d 100644 --- a/packages/js-sdk/tests/runtimes/browser/run.test.tsx +++ b/packages/js-sdk/tests/runtimes/browser/run.test.tsx @@ -22,11 +22,10 @@ function E2BTest() { return
{text}
} test('browser test', async () => { - const screen = render() + render() await waitFor( () => expect.element(page.getByText('Hello World')).toBeVisible(), { timeout: 5000 } ) await expect.element(page.getByText('Hello World')).toBeVisible() - expect(screen.container).toMatchSnapshot() })