Then the "Favorite files" widget should list "meeting-notes.md"

A widget of the dashboard lists an item (a file, an activity) — or, with "say", shows a note ("No favorites").

Examples

Then the "Favorite files" widget should list "meeting-notes.md"
Then the "Favorite files" widget should say "No favorites"
Then the "Recent activity" widget should list "meeting-notes.md"
And the "Recommended files" widget should say "No recommendations yet"
Then the "Favorite files" widget should list "Project files"

Pattern

Then(/^the "([^"]*)" widget should (list|say) "([^"]*)"$/, …)

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