Fix E2E tests (#2653)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run

This commit is contained in:
Kalle
2025-11-26 22:03:52 +02:00
committed by GitHub
parent c3bf60e4d8
commit c1690a4483

View File

@@ -1,5 +1,4 @@
import test, { expect } from "@playwright/test";
import { add } from "date-fns";
import { NZAP_TEST_ID } from "~/db/seed/constants";
import { ADMIN_ID } from "~/features/admin/admin-constants";
import {
@@ -162,11 +161,7 @@ test.describe("Scrims", () => {
await setDateTime({ page, date: tomorrowDate, label: "Start" });
await setDateTime({
page,
date: add(tomorrowDate, { hours: 2 }),
label: "Start time range end",
});
await page.getByLabel("Start time flexibility").selectOption("+2hours");
await page.getByLabel("Maps").selectOption("TOURNAMENT");