Then the 404 page should be available

Assert the build has (or has not) a 404 page: 404.html is served as HTML. Astro builds it from src/pages/404.astro.

Examples

Then the 404 page should be available
And the 404 page should be available
But the 404 page should not be available
Then 404 page should be available
And the 404 page should be available

Pattern

Then(/^(?:the )?404 page should( not)* be available$/, …)

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