Skip to content

Commit

Permalink
test(repo): Check if user is signed out
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper committed Nov 10, 2023
1 parent d017be1 commit e883e80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration/tests/sign-out-smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withEmailCodes] })('sign out
await m.page.evaluate(async () => {
await window.Clerk.signOut();
});

await m.po.expect.toBeSignedOut();
});

expect(await mainTab.page.evaluate('!window.Clerk.user')).toBe(false);
Expand Down

0 comments on commit e883e80

Please sign in to comment.