Skip to content

Instantly share code, notes, and snippets.

@blogumi
Created May 18, 2020 23:18
Show Gist options
  • Save blogumi/183fd14c59db87892b224dbf19ce3b11 to your computer and use it in GitHub Desktop.
Save blogumi/183fd14c59db87892b224dbf19ce3b11 to your computer and use it in GitHub Desktop.
describe('Logout', () => {
test('users can logout', async () => {
await page.waitForSelector('.nav-link');
await page.click('[data-testid="signoutBtn"]')
await page.waitForSelector('.signin-form')
}, 9000000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment