Then the app should show its not-found page

The app shows its not-found page, judged by the page, never by the status: a browser that opens an address the app does not know gets the front end's page (200) and the front end says it was not found (FastAPI's front-end fallback). The page shows "not found" or 404 in its content, or an element with the test id "not-found".

Examples

Then the app should show its not-found page
And the app should show its not-found page
But the app should show its not-found page
Then the app should show its not-found page
And the app should show its not-found page

Pattern

Then(/^the app should show its not-found page$/, …)

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