fixup! 💄(frontend) redesign 500 error standalone page

This commit is contained in:
Ovgodd
2026-10-12 10:20:27 +02:00
parent 7134353194
commit 5ee06b2f10
@@ -22,4 +22,16 @@ test.describe('500', () => {
).toBeVisible();
await expect(page).toHaveTitle(/Error 500 - Docs/);
});
test('checks refresh reloads the page when no origin is known', async ({
page,
}) => {
await page.goto('/500');
const reloaded = page.waitForEvent('load');
await page.getByRole('button', { name: 'Refresh page' }).click();
await reloaded;
await expect(page).toHaveURL(/\/500\/?$/);
});
});