Skip to content

Commit

Permalink
wait for main app content
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Sep 25, 2023
1 parent 43f5b66 commit 2c7877e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playwright/e2e-vrt/layout/Navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ test.describe('Navigation', () => {
test('App Page With Side Bar Hidden (Mobile)', async ({ storyPage }) => {
await storyPage.resizeToMobile()
await storyPage.goto(toId('Layout/Navigation', 'App Page With Side Bar Hidden'))
await storyPage.mainAppContent.waitFor()
await storyPage.expectFullPageScreenshot()
})

test('App Page With Side Bar Shown (Mobile)', async ({ storyPage }) => {
await storyPage.resizeToMobile()
await storyPage.goto(toId('Layout/Navigation', 'App Page With Side Bar Shown'))
await storyPage.mainAppContent.waitFor()
await storyPage.expectFullPageScreenshot()
})
})

0 comments on commit 2c7877e

Please sign in to comment.