mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: set default login state playwright (#57277)
This commit is contained in:
@@ -64,8 +64,6 @@ test.describe('Editor theme if the system theme is dark', () => {
|
||||
test.use({ colorScheme: 'dark' });
|
||||
|
||||
test.describe('If the user is signed in', () => {
|
||||
test.use({ storageState: 'playwright/.auth/certified-user.json' });
|
||||
|
||||
test('should respect the user settings', async ({ page, request }) => {
|
||||
const editor = page.locator("div[role='code'].monaco-editor");
|
||||
|
||||
@@ -96,8 +94,6 @@ test.describe('Editor theme if the system theme is light', () => {
|
||||
test.use({ colorScheme: 'light' });
|
||||
|
||||
test.describe('If the user is signed in', () => {
|
||||
test.use({ storageState: 'playwright/.auth/certified-user.json' });
|
||||
|
||||
test('should respect the user settings', async ({ page, request }) => {
|
||||
const editor = page.locator("div[role='code'].monaco-editor");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user