This commit is contained in:
Yury Semikhatsky 2024-08-06 11:23:31 -07:00
parent 77395fa70d
commit d2af58aa50

View file

@ -29,8 +29,6 @@ New-Item -ItemType Directory -Force -Path playwright\.auth
Add-Content -path .gitignore "`r`nplaywright/.auth" Add-Content -path .gitignore "`r`nplaywright/.auth"
``` ```
Note that you need to delete the stored state when it expires. If you don't need to keep the state between test runs, write the browser state under [`property: TestProject.outputDir`], which is automatically cleaned up before every test run.
## Basic: shared account in all tests ## Basic: shared account in all tests
* langs: js * langs: js
@ -116,6 +114,8 @@ test('test', async ({ page }) => {
}); });
``` ```
Note that you need to delete the stored state when it expires. If you don't need to keep the state between test runs, write the browser state under [`property: TestProject.outputDir`], which is automatically cleaned up before every test run.
### Authenticating in UI mode ### Authenticating in UI mode
* langs: js * langs: js