test: opravy Playwright testů
CI / Generate TypeScript types (push) Successful in 12s
CI / Generate TypeScript types (pull_request) Successful in 11s
CI / Server unit tests (push) Successful in 23s
CI / Build server (push) Successful in 23s
CI / Server unit tests (pull_request) Successful in 19s
CI / Build client (push) Successful in 34s
CI / Build server (pull_request) Successful in 23s
CI / Build client (pull_request) Successful in 33s
CI / Playwright E2E tests (push) Failing after 2m24s
CI / Playwright E2E tests (pull_request) Failing after 2m14s
CI / Build and push Docker image (push) Has been skipped
CI / Build and push Docker image (pull_request) Has been skipped
CI / Notify (push) Successful in 4s
CI / Notify (pull_request) Has been skipped

This commit is contained in:
2026-04-29 22:06:46 +02:00
parent 6b2deff215
commit 70ed59ab9d
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -1,5 +1,4 @@
import { test, expect } from '@playwright/test';
import { clearPizzaDay } from './helpers';
test.beforeEach(async ({ page, request }) => {
// Vyčistíme volby dne, aby testy neovlivnily navzájem
+2 -1
View File
@@ -141,8 +141,9 @@ router.post("/clear", async (req: Request<{}, any, any>, res, next) => {
const dateKey = formatDate(date);
const data = await storage.getData<any>(dateKey);
// Vymažeme všechny volby
// Vymažeme všechny volby i aktivní pizza day
data.choices = {};
delete data.pizzaDay;
await storage.setData(dateKey, data);