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

Make sure a forum has one topic of a title, posted by an account (a handle of the users registry) through the forum's own form: a topic an earlier run left under that title is removed first. The doc string is the text of the topic; without one it gets a line that says it is test content.

Examples

Given there is a topic "Webship test topic" in "General discussion" by "participant"
And there is a topic "Webship test question" in "Help and support" by "participant"
Given there is a topic "Webship test announcement" in "General discussion" by "moderator"
Given there is a topic "Webship test destination" in "General discussion" by "moderator"
And there is a topic "Webship test members topic" in "Members lounge" by "participant"

Pattern

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

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