Compare commits

..

No commits in common. "ac587a1b1cfcafb480ed3bf196b2d9f16afeaf48" and "9eb91ee2d40eaeb3af9fc2c7d1dbdeca97d08f48" have entirely different histories.

View File

@ -7,7 +7,7 @@ test("cox can create and delete trip", async ({ page }) => {
await page.getByPlaceholder("Name").press("Tab"); await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("cox"); await page.getByPlaceholder("Passwort").fill("cox");
await page.getByPlaceholder("Passwort").press("Enter"); await page.getByPlaceholder("Passwort").press("Enter");
await page.locator('a').filter({ hasText: /^Geplante Ausfahrten$/ }).click(); await page.getByRole("link", { name: "Geplante Ausfahrten" }).click();
await page.locator(".relative").first().click(); await page.locator(".relative").first().click();
await page.locator("#sidebar #planned_starting_time").click(); await page.locator("#sidebar #planned_starting_time").click();
await page.locator("#sidebar #planned_starting_time").fill("18:00"); await page.locator("#sidebar #planned_starting_time").fill("18:00");
@ -38,7 +38,7 @@ test.describe("cox can edit trips", () => {
await page.getByPlaceholder("Name").press("Tab"); await page.getByPlaceholder("Name").press("Tab");
await page.getByPlaceholder("Passwort").fill("cox"); await page.getByPlaceholder("Passwort").fill("cox");
await page.getByPlaceholder("Passwort").press("Enter"); await page.getByPlaceholder("Passwort").press("Enter");
await page.locator('a').filter({ hasText: /^Geplante Ausfahrten$/ }).click(); await page.getByRole("link", { name: "Geplante Ausfahrten" }).click();
await page.locator(".relative").first().click(); await page.locator(".relative").first().click();
await page.locator("#sidebar #planned_starting_time").click(); await page.locator("#sidebar #planned_starting_time").click();
await page.locator("#sidebar #planned_starting_time").fill("18:00"); await page.locator("#sidebar #planned_starting_time").fill("18:00");