Docs/Steps

Await Listener

await-listener pauses until a previously registered request listener has fired. Pair it with register-request-listenerto wait on a specific network call rather than polling the UI.

yaml
- register-request-listener:
    as: save_call
    url: /api/invoices
    method: POST

- click: save invoice

- await-listener:
    name: save_call
    timeout: 10s