Then the poll should show 1 vote for "Summer"

Assert the votes of an option of the poll of the topic on screen, or that the account's own vote is for it.

Examples

Then the poll should show 1 vote for "Summer"
Then the poll should show 0 votes for "Winter"
And the poll should show my vote for "Summer"
Then the poll should show 2 votes for "Spring"
And the poll should show my vote for "Autumn"

Pattern

Then(/^the poll should show (?:(\d+) votes?|my vote) for "([^"]*)"$/, …)

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