diff --git a/docs/src/writing-tests-js.md b/docs/src/writing-tests-js.md index 8b1826b15c..1046b7e2ad 100644 --- a/docs/src/writing-tests-js.md +++ b/docs/src/writing-tests-js.md @@ -5,7 +5,17 @@ title: "Writing Tests" Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met. Playwright comes with [auto-wait](./actionability.md) built in meaning it waits for elements to be actionable prior to performing actions. Playwright provides a [test](./api/class-test.md) function to declare tests and the [expect](https://jestjs.io/docs/expect) function to write assertions. -Take a look at the example test included when installing Playwright to see how to write a test using web first assertions, locators and selectors. +**You will learn** + +- [How the example test works](/writing-tests.md#the-example-test) +- [How to use assertions](/writing-tests.md#assertions) +- [How to use locators](/writing-tests.md#locators) +- [How tests run in isolation](/writing-tests.md#test-isolation) +- [How to use test hooks](/writing-tests.md#using-test-hooks) + +## The Example Test + +Take a look at the example test included when installing Playwright to see how to write a test using [web first assertions](/test-assertions.md), [locators](/locators.md) and [selectors](/selectors.md). ```js tab=js-js // @ts-check