Assert the milestone the open issue is in, as its sidebar shows it.
Examples
Then the milestone of the issue should be "Sprint 1"
Then the milestone of the issue should be "Sprint 2"
And the milestone of the issue should be "Sprint 1"
But the milestone of the issue should be "Sprint 1"
Then the milestone of the issue should be "Release 1.0"
Pattern
Then(/^the milestone of the issue should be "([^"]*)"$/, …)
Part of @webship-js/gitea-steps (github.com/webship/gitea-steps), a step pack for Webship-js 2.0.x.