mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-25 02:14:11 -05:00
chore: set default login state playwright (#57277)
This commit is contained in:
@@ -3,8 +3,6 @@ import { test, expect, Page } from '@playwright/test';
|
||||
import translations from '../client/i18n/locales/english/translations.json';
|
||||
import { alertToBeVisible } from './utils/alerts';
|
||||
|
||||
test.use({ storageState: 'playwright/.auth/certified-user.json' });
|
||||
|
||||
test.describe('Certification page - Non Microsoft', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/certification/certifieduser/responsive-web-design');
|
||||
@@ -148,7 +146,6 @@ test.describe('Invalid certification page', () => {
|
||||
}
|
||||
};
|
||||
test.describe('for authenticated user', () => {
|
||||
test.use({ storageState: 'playwright/.auth/certified-user.json' });
|
||||
test(
|
||||
'it should redirect to / and display an error message',
|
||||
testInvalidCertification
|
||||
|
||||
Reference in New Issue
Block a user