docs(auth): small note about UI mode (#29887)
Fixes #29846. --------- Signed-off-by: Dmitry Gozman <dgozman@gmail.com> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
38fc74db7c
commit
276ef5c19b
|
|
@ -113,6 +113,13 @@ test('test', async ({ page }) => {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Authenticating in UI mode
|
||||||
|
* langs: js
|
||||||
|
|
||||||
|
UI mode will not run the `setup` project by default to improve testing speed. We recommend to authenticate by manually running the `auth.setup.ts` from time to time, whenever existing authentication expires.
|
||||||
|
|
||||||
|
First [enable the `setup` project in the filters](./test-ui-mode#filtering-tests), then click the triangle button next to `auth.setup.ts` file, and then disable the `setup` project in the filters again.
|
||||||
|
|
||||||
|
|
||||||
## Moderate: one account per parallel worker
|
## Moderate: one account per parallel worker
|
||||||
* langs: js
|
* langs: js
|
||||||
|
|
@ -457,6 +464,8 @@ test.describe(() => {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See also about [authenticating in the UI mode](#authenticating-in-ui-mode).
|
||||||
|
|
||||||
### Testing multiple roles together
|
### Testing multiple roles together
|
||||||
* langs: js
|
* langs: js
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue