Test.disablePageCaching Method

Disables page caching. Use it if the browser storages are reset after the test navigates to a cached page. See Troubleshooting: Test Actions Fail After Authentication for more information.

test.disablePageCaching → this


    ('My test', async t => { /* ... */ });

You can also disable page caching during all tests in a fixture with the fixture.disablePageCaching method.