docs(auth): minor update to add cross link reference (#22991)

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
John Gachihi 2023-05-14 17:33:03 +03:00 committed by GitHub
parent c9d5b05440
commit 4664156511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ setup('authenticate', async ({ page }) => {
});
```
Create a new `setup` project in the config and declare it as a dependency for all your testing projects. This project will always run and authenticate before all the tests. All testing projects should use the authenticated state as `storageState`.
Create a new `setup` project in the config and declare it as a [dependency](./test-projects.md#dependencies) for all your testing projects. This project will always run and authenticate before all the tests. All testing projects should use the authenticated state as `storageState`.
```js title="playwright.config.ts"
import { defineConfig, devices } from '@playwright/test';