test: slow Motion
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user