Assert the page was (or was not) built by a version of Gatsby. The version is matched from its start, so "5" matches "Gatsby 5.16.1" and "5.16" matches it too.
Examples
Then the page should be generated by Gatsby version "5"
Then the page should be generated by Gatsby version "5.16"
And the page should be generated by Gatsby version "5.16.1"
But the page should not be generated by Gatsby version "4"
Then page should be generated by Gatsby version "5"
Pattern
Then(/^(?:the )?page should( not)* be generated by Gatsby version "([^"]*)?"$/, …)
Part of @webship-js/gatsby-steps (github.com/webship/gatsby-steps), a step pack for Webship-js 2.0.x.