Change the status of the open issue from its page's "Change Status To:": resolved and closed take the resolution "fixed" (or the one a later step sets).
Examples
When I change the status of the issue to "acknowledged"
When change the status of the issue to "resolved"
And I change the status of the issue to "assigned"
And change the status of the issue to "closed"
When we change the status of the issue to "confirmed"
Pattern
When(/^(I |we )*change the status of the issue to "([^"]*)"$/, …)
Part of @webship-js/mantisbt-steps (github.com/webship/mantisbt-steps), a step pack for Webship-js 2.0.x.