flow
Save and replay named step sequences across sessions. Automate testing by re-running saved workflows like login or checkout paths.
Instructions
Save and re-run named step sequences — define a workflow once (login, checkout, smoke path), replay it in any session. action='save' stores steps (interact_and_test's exact format, all 25 actions); action='run' executes a saved flow on a session via the same engine as interact_and_test; action='list' shows saved flows; action='delete' removes one. Deliberately minimal: verify outcomes by following a run with assert_all or visual_check. Flows persist in data/flows/ across sessions and server restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Flow name, e.g. 'login' (letters, digits, . _ -). Required except for list. | |
| steps | No | For save: steps in interact_and_test's format | |
| action | No | What to do (default: list) | |
| session_id | No | For run: session to execute on | |
| description | No | For save: optional human note about what the flow does | |
| continue_on_error | No | For run: keep executing after a failed step (default: false) |