refactor: cleanup playwright tests (#51499)

This commit is contained in:
Oliver Eyton-Williams
2023-09-08 14:14:27 +02:00
committed by GitHub
parent 6c25982446
commit 7750cec84f
12 changed files with 485 additions and 319 deletions

View File

@@ -3,5 +3,7 @@ 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' });
await page
.context()
.storageState({ path: 'playwright/.auth/certified-user.json' });
});