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:
Jean-François Greffier 2024-02-29 21:28:58 +01:00 committed by GitHub
parent 5b8338279f
commit 1c44385e42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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