Assert the heading of the screen (its first visible h1): "Projects", "Drafts", "Libraries", "Fonts", "Members", "Search results", "Your account".
Examples
Then the page heading should be "Projects"
Then the page heading should be "Drafts"
And the page heading should be "Members"
Then the page heading should be "Search results"
Then the page heading should be "Personal Projects"
Pattern
Then(/^the page heading should be "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.