fix spacing issues

This commit is contained in:
2024-03-04 14:25:14 +01:00
parent ee17bc2ab3
commit 62ff5f0c2e
4 changed files with 11 additions and 11 deletions

View File

@ -15,7 +15,7 @@ test("cox can create and delete trip", async ({ page }) => {
await page.locator("#sidebar #planned_starting_time").press("Tab");
await page.getByRole("spinbutton").fill("5");
await page.getByRole("button", { name: "Erstellen", exact: true }).click();
await expect(page.locator("body")).toContainText("18:00 Uhr (cox ) Details");
await expect(page.locator("body")).toContainText("18:00 Uhr (cox) Details");
await page.goto("http://localhost:8000/planned");
await page.getByRole("link", { name: "Details" }).click();

View File

@ -87,7 +87,7 @@ test("Cox can start and finish trip", async ({ page }, testInfo) => {
await expect(page.locator('body')).toContainText('Joe');
await expect(page.locator('body')).toContainText('(cox2 )');
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
await expect(page.locator('body')).toContainText('Ruderer: cox2 , rower2');
await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2');
});
test("Kiosk can start and cancel trip", async ({ page }, testInfo) => {
@ -162,5 +162,5 @@ test("Kiosk can start and finish trip", async ({ page }, testInfo) => {
await expect(page.locator('body')).toContainText('Joe');
await expect(page.locator('body')).toContainText('(cox2 )');
await expect(page.locator('body')).toContainText('Ottensheim (25 km)');
await expect(page.locator('body')).toContainText('Ruderer: cox2 , rower2');
await expect(page.locator('body')).toContainText('Ruderer: cox2, rower2');
});