refactor/simplify playwright tests (#51954)

This commit is contained in:
Oliver Eyton-Williams
2023-10-14 12:36:15 +02:00
committed by GitHub
parent 8e3baa7fe3
commit f6f00c3d28
26 changed files with 15 additions and 167 deletions
-4
View File
@@ -26,10 +26,6 @@ test.beforeAll(async ({ browser }) => {
await page.goto('/learn');
});
test.afterAll(async () => {
await page.close();
});
test('the page should render with correct title', async () => {
await expect(page).toHaveTitle(
'Learn to Code — For Free — Coding Courses for Busy People'