From d5d4f591f35970f48ffe82bfc5c9e117660d7f0f Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Sun, 3 Mar 2024 02:00:16 +0100 Subject: [PATCH] fix typo in docs: "toHaveScreeshot()" (#29780) --- docs/src/test-configuration-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/test-configuration-js.md b/docs/src/test-configuration-js.md index ea598c8c8a..99fd492816 100644 --- a/docs/src/test-configuration-js.md +++ b/docs/src/test-configuration-js.md @@ -147,6 +147,6 @@ export default defineConfig({ | Option | Description | | :- | :- | | [`property: TestConfig.expect`] | [Web first assertions](./test-assertions.md) like `expect(locator).toHaveText()` have a separate timeout of 5 seconds by default. This is the maximum time the `expect()` should wait for the condition to be met. Learn more about [test and expect timeouts](./test-timeouts.md) and how to set them for a single test. | -| [`method: PageAssertions.toHaveScreenshot#1`] | Configuration for the `expect(locator).toHaveScreeshot()` method. | +| [`method: PageAssertions.toHaveScreenshot#1`] | Configuration for the `expect(locator).toHaveScreenshot()` method. | | [`method: SnapshotAssertions.toMatchSnapshot#1`]| Configuration for the `expect(locator).toMatchSnapshot()` method.|