♻️(frontend) adapt other error pages to new design

Adapt the other error pages to the new design.
This commit is contained in:
Anthony LC
2025-02-24 10:14:44 +01:00
committed by Anthony LC
parent 30c5cfab62
commit 757c09b189
3 changed files with 22 additions and 6 deletions

View File

@@ -17,13 +17,13 @@ test.describe('404', () => {
'It seems that the page you are looking for does not exist or cannot be displayed correctly.',
),
).toBeVisible();
await expect(page.getByText('Back to home page')).toBeVisible();
await expect(page.getByText('Home')).toBeVisible();
});
test('checks go back to home page redirects to home page', async ({
page,
}) => {
await page.getByText('Back to home page').click();
await page.getByText('Home').click();
await expect(page).toHaveURL('/');
});
});