Assert event
Skipped event
Assert that an event has been skipped. In other words, ensure that the previous action is not allowed.
Then the last event is skipped
Then the last event of the "main" process is skippedError message
Use with to specify the expected error message.
Then the last event is skipped with "Response is invalid: data must have required property 'email'"
Then the last event is skipped with:
"""
Response is invalid: data must have required property 'email'
"""The last event may have multiple error messages. It needs to include the expected error message.
Successful event
Assert that the last event has not been skipped; the last action was applied successfully.
Then the last event is not skipped
Then the last event of the "main" process is not skippedNo skipped events
Assert that the event chain doesn't contain any skipped events; all the actions have been applied successfully.
Then nothing is skipped
Then nothing is skipped from the "main" processTimeout event
Assert that the previous state change was caused by a timeout.
When 24 hours pass
Then the last event is a timeout
Then the last event in the "main" process is a timeoutLast updated
Was this helpful?