fix typo in docs: "toHaveScreeshot()" (#29780)

This commit is contained in:
Marco D'Agostini 2024-03-03 02:00:16 +01:00 committed by GitHub
parent 04e1747038
commit d5d4f591f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.|