Docs/Steps

Get Recorded Requests

get-recorded-requests returns the requests captured by an earlier record-requests step, optionally filtered, and stores the result in a variable for later assertions.

yaml
- record-requests:
    as: billing_calls
    url: /api/billing/*

- click: save billing info

- get-recorded-requests:
    from: billing_calls
    filter:
      method: POST
    as: posts

- page-check:
    expression: "{{ var.posts.length }} == 1"