Block an account with the block form (Special:Block), as an administrator: on the whole site, for an expiry of the form's list ("2 hours", "1 day", "1 week", …), with a reason. The step clears "Block the last IP address used by this account" (an autoblock would block the address the suite runs from), and the block is lifted after the scenario.
Examples
When I block the account "reader" for "1 day" with the reason "A test of the block"
When we block the account "reader" for "2 hours" with the reason "Testing"
And I block the account "reader" for "1 week" with the reason "A test"
When I block the account "Reader" for "1 day" with the reason "A test of the block"
When we block the account "reader" for "3 days" with the reason "Testing the block list"
Pattern
When(/^(I |we )*block the account "([^"]*)" for "([^"]*)" with the reason "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.