chore: set default login state playwright (#57277)

This commit is contained in:
Sem Bauke
2024-11-22 19:52:01 +01:00
committed by GitHub
parent 6d5aeefbfa
commit f1b2a08691
60 changed files with 70 additions and 150 deletions
-3
View File
@@ -83,7 +83,6 @@ const legacyCerts = [
test.describe('Profile component', () => {
test.describe('when viewing my own profile', () => {
test.use({ storageState: 'playwright/.auth/certified-user.json' });
test.beforeEach(async ({ page }) => {
await page.goto('/certifieduser');
@@ -207,8 +206,6 @@ test.describe('Profile component', () => {
});
test.describe('while logged in', () => {
test.use({ storageState: 'playwright/.auth/certified-user.json' });
test('displays the public username', async ({ page }) => {
await expect(
page.getByRole('heading', { name: '@publicuser' })