Skip to content

Commit

Permalink
Added missing awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Nov 22, 2023
1 parent 0084781 commit 67e72fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/styleguide.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,13 @@ test('UI regression test - Styleguide sections', async ({ browser }) => {
await page.goto(`/ide/styleguide?isolateSection=true#${id}`);

const sampleSection = page.locator(`#${id}`);
await sampleSection.waitFor();

await expect(sampleSection).toHaveScreenshot(
`${id.replace(/^sample-section-/, '')}.png`
);

page.close();
await page.close();
}
});

Expand Down Expand Up @@ -121,7 +122,7 @@ test('Buttons regression test', async ({ browser }) => {
}
}

page.close();
await page.close();
}
});

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 67e72fe

Please sign in to comment.