Skip to content

Commit

Permalink
Fix typo in test-runner-image-snapshot-testing.js.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
hakshu25 authored May 7, 2024
1 parent cbadd74 commit ed5eb98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
// Waits for the page to be ready before taking a screenshot to ensure consistent results
await waitForPageReady(page);

// To capture a screenshot for for different browsers, add page.context().browser().browserType().name() to get the browser name to prefix the file name
// To capture a screenshot for different browsers, add page.context().browser().browserType().name() to get the browser name to prefix the file name
const image = await page.screenshot();
expect(image).toMatchImageSnapshot({
customSnapshotsDir,
Expand Down

0 comments on commit ed5eb98

Please sign in to comment.