Docs/Advanced Features

SMS

The SMS step works like the email step: the test gets a throwaway phone number, the app sends a code to it, and the test reads the code back.

yaml
- sms:
    number: assign
    as: phone

- type:
    element: phone input
    text: "{{ var.phone.number }}"

- click: send code

- sms:
    number: "{{ var.phone.number }}"
    body-contains: "Your code is"
    as: code_message