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