import { test as setup } from '@playwright/test'; setup('Login', async ({ page }) => { await page.goto('/'); await page.getByRole('link', { name: 'Sign in' }).click(); await page .context() .storageState({ path: 'playwright/.auth/certified-user.json' }); });