authSave - Momentic
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
path |
string |
No | JSON file path relative to the YAML file. Omit to return the state without writing a file. |
saveAs |
string |
No | Name of the variable to write this step’s return value to. |
retries |
number |
No | Number of times to retry the step on failure before failing the test. |
skipped |
boolean |
No | Skip this step at execution time. |
Shorthand
The bare command returns the storage state without writing a file.
- authSave
Examples
- authSave: ./auth-state.json
- authSave:
path: ./auth-state.json