A file or folder of the list carries the favorite star — or does not.
Examples
Then "meeting-notes.md" should be marked as a favorite
Then "Project files" should be marked as a favorite
Then "meeting-notes.md" should not be marked as a favorite
And "budget.txt" should be marked as a favorite
But "Project files" should not be marked as a favorite
Pattern
Then(/^"([^"]*)" should( not)? be marked as a favorite$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.