test: oprava Playwright testů po odstranění podniku Šenk Šeříková
CI / Generate TypeScript types (push) Successful in 10s
CI / Server unit tests (push) Successful in 27s
CI / Build server (push) Successful in 31s
CI / Build client (push) Successful in 41s
CI / Playwright E2E tests (push) Successful in 1m50s
CI / Build and push Docker image (push) Successful in 1m1s
CI / Notify (push) Successful in 2s

This commit is contained in:
2026-10-09 15:46:41 +02:00
parent 49508dacd0
commit bf631eb913
+2 -2
View File
@@ -12,10 +12,10 @@ test('zobrazí mock datum 10.01.2025', async ({ page }) => {
await expect(page.locator('text=10.01')).toBeVisible({ timeout: 10_000 }); await expect(page.locator('text=10.01')).toBeVisible({ timeout: 10_000 });
}); });
test('zobrazí čtyři restaurační karty z mock dat', async ({ page }) => { test('zobrazí tři restaurační karty z mock dat', async ({ page }) => {
// Každá restaurace je obalena v .restaurant-card // Každá restaurace je obalena v .restaurant-card
const cards = page.locator('.restaurant-card'); const cards = page.locator('.restaurant-card');
await expect(cards).toHaveCount(4, { timeout: 10_000 }); await expect(cards).toHaveCount(3, { timeout: 10_000 });
}); });
test('zobrazí alespoň jedno jídlo v menu každé restaurace', async ({ page }) => { test('zobrazí alespoň jedno jídlo v menu každé restaurace', async ({ page }) => {