Make a folder in the folder on screen, as a person does: "New", "New folder", its name, "Create". The step waits for the server (its WebDAV MKCOL) and for the list to show it. The folder is removed after the scenario.
Examples
When I create the folder "Project files"
When I create the folder "Reports"
When we create the folder "Project files"
And I create the folder "Archive"
When I create the folder "Meeting minutes"
Pattern
When(/^(?:I|we) create the folder "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.