Open a folder of the list, as a person does: its name, clicked. The list then shows what is in it.
Then the file list should be empty
Examples
When I open the folder "Project files"
When we open the folder "Project files"
And I open the folder "Reports"
When I open the folder "Project files"
When I open the folder "Archive"
Pattern
When(/^(?:I|we) open the folder "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.