From a1860c02d5a9991bc4c88f77c23bb7606f9df8b7 Mon Sep 17 00:00:00 2001 From: j3rem1e Date: Wed, 13 Sep 2023 19:20:43 +0200 Subject: [PATCH] Fix e2e tests --- code/e2e-tests/framework-svelte.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/e2e-tests/framework-svelte.spec.ts b/code/e2e-tests/framework-svelte.spec.ts index 3bf8d5d39ab..d8821bde95c 100644 --- a/code/e2e-tests/framework-svelte.spec.ts +++ b/code/e2e-tests/framework-svelte.spec.ts @@ -21,7 +21,7 @@ test.describe('Svelte', () => { test('Story have a documentation', async ({ page }) => { const sbPage = new SbPage(page); - sbPage.navigateToStory('example/button', 'docs'); + await sbPage.navigateToStory('example/button', 'docs'); const root = sbPage.previewRoot(); const argsTable = root.locator('.docblock-argstable'); await expect(argsTable).toContainText('Is this the principal call to action on the page');