docs(java): Junit fixtures according to review

This commit is contained in:
jfgreffier 2024-02-29 21:31:54 +01:00
parent 2306f84ce9
commit a2e20802da
5 changed files with 5 additions and 5 deletions

View file

@ -239,4 +239,4 @@ public class HomepageTests extends AxeTestFixtures {
} }
``` ```
See experimental [JUnit integration](./junit.md) to automatically initialize [Playwright] objects and more. See experimental [JUnit integration](./junit.md) to automatically initialize Playwright objects and more.

View file

@ -375,7 +375,7 @@ public class TestGitHubAPI {
} }
``` ```
See experimental [JUnit integration](./junit.md) to automatically initialize [Playwright] objects and more, thanks to fixtures. See experimental [JUnit integration](./junit.md) to automatically initialize Playwright objects and more.
## Prepare server state via API calls ## Prepare server state via API calls

View file

@ -77,7 +77,7 @@ Here is a list of the pre-defined fixtures:
|page |[Page] |Isolated page for this test run.| |page |[Page] |Isolated page for this test run.|
|browserContext|[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well.| |browserContext|[BrowserContext] |Isolated context for this test run. The `page` fixture belongs to this context as well.|
|browser |[Browser] |Browsers are shared across tests to optimize resources.| |browser |[Browser] |Browsers are shared across tests to optimize resources.|
|playwright |[Playwright] |Playwright instance is shared between tests.| |playwright |[Playwright] |Playwright instance is shared between tests running on the same thread.|
|request |[APIRequestContext]|Isolated APIRequestContext for this test run. Learn how to do [API testing](./api-testing).| |request |[APIRequestContext]|Isolated APIRequestContext for this test run. Learn how to do [API testing](./api-testing).|
## Customizing options ## Customizing options

View file

@ -83,7 +83,7 @@ public class TestExample {
See [here](./test-runners.md) for further details on how to run tests in parallel, etc. See [here](./test-runners.md) for further details on how to run tests in parallel, etc.
See experimental [JUnit integration](./junit.md) to automatically initialize [Playwright] objects and more, thanks to fixtures. See experimental [JUnit integration](./junit.md) to automatically initialize Playwright objects and more.
## What's Next ## What's Next

View file

@ -87,7 +87,7 @@ public class TestExample {
} }
``` ```
See experimental [JUnit integration](./junit.md) to automatically initialize [Playwright] objects and more, thanks to fixtures. See experimental [JUnit integration](./junit.md) to automatically initialize Playwright objects and more.
### Running Tests in Parallel ### Running Tests in Parallel