Browse Source

refactor: remove deprecated playwright function

as recommended in test output
master
DanConwayDev 2 years ago
parent
commit
8247e1cbf3
No known key found for this signature in database
GPG Key ID: 68E15486D73F75E1
  1. 2
      .storybook/test-runner.ts

2
.storybook/test-runner.ts

@ -8,7 +8,7 @@ const config: TestRunnerConfig = { @@ -8,7 +8,7 @@ const config: TestRunnerConfig = {
setup() {
expect.extend({ toMatchImageSnapshot });
},
async postRender(page, context) {
async postVisit(page, context) {
// DOM Snapshot
const elementHandler = await page.$('#storybook-root');
if (elementHandler) {

Loading…
Cancel
Save