Assert the total time spent on the open issue, as its sidebar says it ("30 minutes", "1 hour 15 minutes").
Examples
Then the time spent on the issue should be "30 minutes"
Then the time spent on the issue should be "1 hour"
And the time spent on the issue should be "1 hour 15 minutes"
But the time spent on the issue should be "15 minutes"
Then the time spent on the issue should be "2 hours"
Pattern
Then(/^the time spent on the issue should be "([^"]*)"$/, …)
Part of @webship-js/gitea-steps (github.com/webship/gitea-steps), a step pack for Webship-js 2.0.x.