Skip to content

Modern Docker Management, Designed for Everyone

440 B
Raw Blame
import { test as setup } from '../fixtures/test.fixture';
import authUtil from '../utils/auth.util';
import { authStateFile } from '../utils/report';

setup('authenticate', async ({ page }) => {
	const currentPassword = await authUtil.login(page);

	await page.waitForURL('/dashboard');

	await authUtil.changeDefaultPassword(page, currentPassword, authUtil.TEST_PASSWORD);

	await page.context().storageState({ path: authStateFile });
});