diff --git a/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx b/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx index d3fd40334eb1..4056d2a3cded 100644 --- a/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx +++ b/docs/snippets/common/test-runner-image-snapshot-testing.js.mdx @@ -16,7 +16,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,