Make a topic as above, with a body and tags from a table (body, tags with commas).
| body | The body of the topic the suite reads. |
| tags | howto, question |
| body | Hello @member, this topic mentions you for the suite. |
| body | The word zeppelin is in this body for the search steps. |
| tags | howto |
| body | One sentence after another, for a topic the suite reads to the end. |
Examples
Given there is a topic "A topic with tags for the suite" in "Support" by "member" with:
Given there is a topic "A topic with a mention in it" in "General" by "moderator" with:
Given there is a topic "A topic for the search to find" in "General" by "member" with:
Given there is a topic "A topic tagged for the tag page" in "Support" by "moderator" with:
Given there is a topic "A topic with a long body to read" in "Off-topic" by "member" with:
Pattern
Given(/^there is a topic "([^"]*)" in "([^"]*)" by "([^"]*)" with:$/, …)
Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.