docs: assorted doc fixes
This commit is contained in:
parent
4af576d0c7
commit
d4073e8214
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
id: library
|
||||
title: "Playwright Library"
|
||||
title: "Overview"
|
||||
---
|
||||
|
||||
Playwright can either be used as a part of the [Playwright Test](./intro.md), or as a Playwright Library (this guide). If you are working on an application that utilizes Playwright capabilities or you are using Playwright with another test runner, read on.
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ If you can log in once and commit the `storageState.json` into the repository, y
|
|||
setup at all, just specify the `storageState.json` in Playwright Config as above and it'll be picked up.
|
||||
:::
|
||||
|
||||
### Multiple signed in roles
|
||||
## Multiple signed in roles
|
||||
|
||||
Sometimes you have more than one signed-in user in your end to end tests. You can achieve that via logging in for these users multiple times in globalSetup and saving that state into different files.
|
||||
|
||||
|
|
@ -236,7 +236,7 @@ test.describe(() => {
|
|||
});
|
||||
```
|
||||
|
||||
### Reuse the signed in page in multiple tests
|
||||
## Reuse the signed in page in multiple tests
|
||||
|
||||
Although discouraged, sometimes it is necessary to sacrifice the isolation and run a number of tests
|
||||
in the same page. In that case, you can log into that page once in `beforeAll` and then use that same
|
||||
|
|
|
|||
Loading…
Reference in a new issue