test: slow Motion

This commit is contained in:
ISA
2025-09-16 16:38:14 +02:00
parent 81b6379895
commit bfd091b1b1
6 changed files with 21 additions and 6 deletions

View File

@@ -107,4 +107,13 @@ test("MapComponent", async ({ page }) => {
await page.getByLabel("Marker").click();
await selectStation(page, "50977");
await page.getByRole("button", { name: "Karte auf Standardansicht" }).click();
//minusIcon
await page.getByTestId("zoom-out").click();
//wait 3 seconds
// plusIcon
await page.getByTestId("zoom-in").click(); //plus
});
/* Powershell Befehl ->das führt langsam aus mit 1 Sekunde Pause zwischen den Aktionen
$env:PW_HEADED=1; $env:PW_SLOWMO=1000; npx playwright test
*/