Fill in the registration form and send it, expecting the board to refuse it: a taken user name or address, two passwords that differ, a missing field. Assert the refusal with the next step. The step fails when the board accepts the registration, since a suite never makes an account.
Examples
When I try to register with the username "member", the email "someone@example.com" and the passwords "dD.123123ddd" and "dD.123123ddd"
When I try to register with the username "webship-test-nobody", the email "member@example.com" and the passwords "dD.123123ddd" and "dD.123123ddd"
When we try to register with the username "webship-test-nobody", the email "someone@example.com" and the passwords "dD.123123ddd" and "different-9"
And I try to register with the username "", the email "" and the passwords "" and ""
When I try to register with the username "ab", the email "not-an-address" and the passwords "short" and "short"
Pattern
When(/^(?:I|we) try to register with the username "([^"]*)", the email "([^"]*)" and the passwords "([^"]*)" and "([^"]*)"$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.