Then I should see the notification "Entry saved."

Assert a notification of the control panel: the message it shows at the corner of the screen after an action ("Entry saved.", "Couldn’t save entry."), optionally of one type: success, error or notice.

Examples

Then I should see the notification "Entry saved."
Then I should see the success notification "Entry created."
Then I should see the error notification "Couldn’t create entry."
Then we should see the notification "Draft saved."
Then I should see the notice notification "Entries deleted."

Pattern

Then(/^(I |we )*should see the (success |error |notice )?notification "([^"]*)"$/, …)

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