Given "user" has the folder "Project files"

Give an account of the registry a folder (by its path from the top; the folders above it are made too), as test data. The folder is removed after the scenario.

Examples

Given "user" has the folder "Project files"
Given "user" has the folder "Project files/Reports"
Given "editor" has the folder "Archive"
And "user" has the folder "Meeting minutes"
Given "administrator" has the folder "Project files"

Pattern

Given(/^"([^"]*)" has the folder "([^"]*)"$/, …)

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