Skip to content

Instantly share code, notes, and snippets.

@blogumi
Created May 18, 2020 23:19
Show Gist options
  • Save blogumi/2ca7c615fa527cce6f57dac14f716120 to your computer and use it in GitHub Desktop.
Save blogumi/2ca7c615fa527cce6f57dac14f716120 to your computer and use it in GitHub Desktop.
describe('404 Page', () => {
test('users are redirected to a 404 page for nonexistent views', async () => {
await page.goto(routes.public.noMatch);
await page.waitForSelector('.no-match')
}, 9000000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment