diff --git a/e2e-playwright/page-object/index.ts b/e2e-playwright/page-object/index.ts index 2e1d1fa8ce2..05c76406000 100644 --- a/e2e-playwright/page-object/index.ts +++ b/e2e-playwright/page-object/index.ts @@ -16,4 +16,4 @@ */ export * from './components'; -export * from './stories/base.stories'; +export * from './stories/base-stories'; diff --git a/e2e-playwright/page-object/stories/base.stories.ts b/e2e-playwright/page-object/stories/base-stories.ts similarity index 88% rename from e2e-playwright/page-object/stories/base.stories.ts rename to e2e-playwright/page-object/stories/base-stories.ts index 0e0825e2fb4..6cffd21bf3a 100644 --- a/e2e-playwright/page-object/stories/base.stories.ts +++ b/e2e-playwright/page-object/stories/base-stories.ts @@ -40,9 +40,7 @@ export class BaseStories extends PlaywrightBase { } async navigateTo(navigationParameters: NavigationParameters): Promise { - await this.page.goto(`/iframe.html?args=&viewMode=story&id=${this.buildStoryId(navigationParameters)}`, { - waitUntil: 'networkidle', - timeout: timeouts.large - }); + await this.page.goto(`/iframe.html?viewMode=story&id=${this.buildStoryId(navigationParameters)}`); + await this.page.waitForSelector('storybook-root', { timeout: timeouts.large }); } }