Then the history of the contact "Lina Haddad" should show "Contact created"

Assert that a contact's history (the "History" tab of its page) shows an event (a part of its row): "Form submitted", "Contact created", "Email sent", "Campaign action triggered", "Point gained".

Examples

Then the history of the contact "Lina Haddad" should show "Contact created"
Then the history of the contact "webship-test-signup@example.com" should show "Form submitted"
And the history of the contact "webship-test-signup@example.com" should show "Point gained"
Then the history of the contact "Maya Nasser" should show "Email sent"
Then the history of the contact "Omar Saleh" should show "Segment membership change"

Pattern

Then(/^the history of the contact "([^"]*)" should show "([^"]*)"$/, …)

Part of @webship-js/mautic-steps (github.com/webship/mautic-steps), a step pack for Webship-js 2.0.x.