Update test-configuration-js.md

toHaveScreeshot -> toHaveScreenshot

Signed-off-by: Marco D'Agostini <madacol10@gmail.com>
This commit is contained in:
Marco D'Agostini 2024-03-02 16:34:40 +01:00 committed by GitHub
parent 04e1747038
commit 360d618761
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.|