Fix e2e tests

This commit is contained in:
j3rem1e 2023-09-13 19:20:43 +02:00
parent 4f5351151c
commit a1860c02d5

View File

@ -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');