import { test as setup } from '@playwright/test';
import { keyCloakSignIn } from './common';
setup('authenticate-chromium', async ({ page }) => {
await page.goto('/');
await keyCloakSignIn(page, 'chromium');
await page
.context()
.storageState({ path: `playwright/.auth/user-chromium.json` });
});
setup('authenticate-webkit', async ({ page }) => {
await keyCloakSignIn(page, 'webkit');
.storageState({ path: `playwright/.auth/user-webkit.json` });
setup('authenticate-firefox', async ({ page }) => {
await keyCloakSignIn(page, 'firefox');
.storageState({ path: `playwright/.auth/user-firefox.json` });