MCPcopy Create free account
hub / github.com/hashintel/hash / clearSessionCookies

Function clearSessionCookies

tests/hash-playwright/tests/shared/signin-utils.ts:25–27  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

23 * flow — for that, see the dedicated sign-out test.
24 */
25export const clearSessionCookies = async (page: Page) => {
26 await page.context().clearCookies();
27};
28
29export const expectSignedIn = async (page: Page) => {
30 await expect(page.locator("text=Get support")).toBeVisible();

Callers 3

signin.spec.tsFile · 0.90
password.spec.tsFile · 0.90
mfa.spec.tsFile · 0.90

Calls 1

contextMethod · 0.45

Tested by

no test coverage detected