Given there is a topic "Webship test topic" in "General discussion" by "member"

Make sure a forum has a topic with a title, written by an account of the users registry: when the forum has none, the account posts it (in a browser page of its own, the page of the scenario stays as it is), with a text of the step's own or the one given below it. A topic of a newly registered user waits for approval.

Examples

Given there is a topic "Webship test topic" in "General discussion" by "member"
And there is a topic "Webship test question" in "Help and support" by "member"
Given there is a topic "Webship test topic of a new member" in "General discussion" by "newmember"
Given there is a topic "Webship test notes" in "Staff room" by "moderator"
And there is a topic "Webship test topic" in "Introductions" by "member"

Pattern

Given(/^there is a topic "([^"]*)" in "([^"]*)" by "([^"]*)"$/, …)

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