Skip to content

Commit

Permalink
Add a reload before profilepage checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dac09 committed May 2, 2022
1 parent 40cb62c commit 9de17b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tasks/smoke-test/playwright-fixtures/storybook.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,4 @@ const test = base.extend<any, StorybookFixture>({
],
})

test.use({ video: 'retain-on-failure' })

export default test
2 changes: 2 additions & 0 deletions tasks/smoke-test/tests/storybook.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ storybookTest(
page.waitForSelector('text=ProfilePage'),
])

await page.reload()

await page.locator('text=ProfilePage').click()

const usernameRow = await page
Expand Down

0 comments on commit 9de17b2

Please sign in to comment.