mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
Update test-fixtures-js.md (#29283)
This commit is contained in:
parent
7aef5249d8
commit
2550ba3396
@ -5,7 +5,7 @@ title: "Fixtures"
|
||||
|
||||
## Introduction
|
||||
|
||||
Playwright Test is based on the concept of test fixtures. Test fixtures are used to establish environment for each test, giving the test everything it needs and nothing else. Test fixtures are isolated between tests. With fixtures, you can group tests based on their meaning, instead of their common setup.
|
||||
Playwright Test is based on the concept of test fixtures. Test fixtures are used to establish the environment for each test, giving the test everything it needs and nothing else. Test fixtures are isolated between tests. With fixtures, you can group tests based on their meaning, instead of their common setup.
|
||||
|
||||
### Built-in fixtures
|
||||
|
||||
@ -1080,4 +1080,4 @@ import { test } from './fixtures';
|
||||
test('passes', async ({ database, page, a11y }) => {
|
||||
// use database and a11y fixtures.
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user