mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor/simplify playwright tests (#51954)
This commit is contained in:
committed by
GitHub
parent
8e3baa7fe3
commit
f6f00c3d28
@@ -2,10 +2,6 @@ import { test, expect } from '@playwright/test';
|
||||
import translations from '../client/i18n/locales/english/translations.json';
|
||||
import metaTags from '../client/i18n/locales/english/meta-tags.json';
|
||||
|
||||
test.afterEach(async ({ page }) => {
|
||||
await page.close();
|
||||
});
|
||||
|
||||
test.describe('The unsubscribed page without unsubscribeId', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/unsubscribed');
|
||||
|
||||
Reference in New Issue
Block a user