Assert which generation of the platform the site runs on, read from Static.SQUARESPACE_CONTEXT.templateVersion: "7.1" or "7.0".
Examples
Then the site should use version "7.1"
And the site should use version "7.1"
Then the site should not use version "7.0"
Then the site should use version "7.0"
But the site should not use version "7.1"
Pattern
Then(/^(?:the )?site should( not)* use version "(7\.0|7\.1)"$/, …)
Part of @webship-js/squarespace-steps (github.com/webship/squarespace-steps), a step pack for Webship-js 2.0.x.