Update docs/src/junit-java.md
Co-authored-by: Yury Semikhatsky <yurys@chromium.org> Signed-off-by: Jean-François Greffier <jfgreffier@users.noreply.github.com>
This commit is contained in:
parent
5b8338279f
commit
1c44385e42
|
|
@ -53,7 +53,7 @@ public class TestExample {
|
|||
|
||||
## Fixtures
|
||||
|
||||
You should add JUnit annotation `@UsePlaywright` to your test classes to use fixtures. Test fixtures are used to establish environment for each test, giving the test everything it needs and nothing else.
|
||||
Simply add JUnit annotation `@UsePlaywright` to your test classes to enable Playwright fixtures. Test fixtures are used to establish environment for each test, giving the test everything it needs and nothing else.
|
||||
|
||||
```java
|
||||
@UsePlaywright
|
||||
|
|
|
|||
Loading…
Reference in a new issue