When I create the folder "Webship test folder"

Make a folder in Settings > Folders ("Create"), at the top of the folder list or in a folder of it. It is deleted when the scenario ends.

            Then the webmail should say "Folder created successfully."

Examples

When I create the folder "Webship test folder"
When I create the folder "Webship test archive" in "Projects"
When we create the folder "Webship test folder"
And I create the folder "Webship test reports" in "Inbox"
When I create the folder "Webship test folder"

Pattern

When(/^(?:I|we) create the folder "([^"]*)"(?: in "([^"]*)")?$/, …)

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