Guides
Authentication
Login and save storage state for next runs
First, add user credentials to config use.inputs
and add a target with setup
targetType.
base.config.ts
Launch UI app with npx inspecter app
and create login test with js step at the end.
Add setup
tag to the script.
Run setup command and check that file ./.auth/storage.json
is created.
Now, authentication will run automatically on every npx inspecter run
.
To cache auth state run npx inspecter setup
every time before launching UI app.