feat: signout helper function for Playwright (#54747)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>pull/54835/head^2
parent
37dc23d98d
commit
5d0602179f
|
@ -0,0 +1,5 @@
|
|||
import { Page } from '@playwright/test';
|
||||
|
||||
export async function signout(page: Page) {
|
||||
await page.context().clearCookies({ name: 'jwt_access_token' });
|
||||
}
|
Loading…
Reference in New Issue