Skip to content

Commit

Permalink
fix(repo): Fix Sign Out integration test (#2125)
Browse files Browse the repository at this point in the history
* fix(repo): Fix Sign Out integration test

* fix(repo): Fix Sign Out integration test

* fix(repo): Remove unused import from integration test

* fix(repo): Adds changeset
  • Loading branch information
octoper authored Nov 13, 2023
1 parent 08dd88c commit e3150b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changeset/rude-lamps-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 2 additions & 2 deletions integration/tests/sign-out-smoke.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect, test } from '@playwright/test';
import { test } from '@playwright/test';

import { appConfigs } from '../presets';
import type { FakeUser } from '../testUtils';
Expand Down Expand Up @@ -43,6 +43,6 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withEmailCodes] })('sign out
await m.po.expect.toBeSignedOut();
});

expect(await mainTab.page.evaluate('!window.Clerk.user')).toBe(false);
await mainTab.po.expect.toBeSignedOut();
});
});

0 comments on commit e3150b1

Please sign in to comment.