mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
8 lines
244 B
TypeScript
8 lines
244 B
TypeScript
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: './LoginAuth.json' });
|
|
});
|