Skip to content

Instantly share code, notes, and snippets.

@blogumi
Created May 18, 2020 23:18
Show Gist options
  • Save blogumi/cca439626b2f23dd242d1f91de31de4d to your computer and use it in GitHub Desktop.
Save blogumi/cca439626b2f23dd242d1f91de31de4d to your computer and use it in GitHub Desktop.
describe('Unathorized view', () => {
test('users that are not logged in are redirected to sign in page', async () => {
await page.goto(routes.private.home);
await page.waitForSelector('.signin-form')
}, 9000000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment