Undo a revision from the history, as a person does with its "undo" link: the editor opens with the change taken back and the summary written ("Undid revision …"). Save it with "When I save the page".
Examples
When I undo the revision "Second version"
When we undo the revision "Changed meanwhile"
And I undo the revision "Third version"
When I undo the revision "A typo"
When we undo the revision "Second version"
Pattern
When(/^(I |we )*undo the revision "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.