Then I should see a hydrated page

Assert the site has (or has not) hydrated the page: its runtime sets <html data-has-hydrated="true"> once React has taken the page over, and only then do the links open pages in the same document, the tabs answer and the stored choices (the colour mode, a tab) apply. The server's HTML says "false".

Examples

Then I should see a hydrated page
And we should see a hydrated page
But I should not see a hydrated page
Then should see a hydrated page
And I should see a hydrated page

Pattern

Then(/^(I |we )*should( not)* see a hydrated page$/, …)

Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.