perf(e2e): ⚡️ Migrate to Playwright
This commit is contained in:
5
apps/builder/playwright/services/browser.ts
Normal file
5
apps/builder/playwright/services/browser.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export const refreshUser = async () => {
|
||||
await fetch('/api/auth/session?update')
|
||||
const event = new Event('visibilitychange')
|
||||
document.dispatchEvent(event)
|
||||
}
|
Reference in New Issue
Block a user