Assert state
Last updated
Was this helpful?
Last updated
Was this helpful?
Assert that the process is in the expected state.
Check if the process has ended. Typically, you want to specify which end state.
You can also check the with the same assertion.
If the result schema is a string, number, or boolean, it can be given inline. You can use a data table, if the response is a simple object with a shallow structure. For arrays and more complex objects, use YAML or JSON.
You can specify the value inline, as data table, or as YAML / JSON.
Check the instructions for a specific actor in the current state.
You can specify the instructions inline or as doc string.
Assert that a property of the current state has the expected value. This is particularly useful for .