From 9a207fd214ebc1d062f28f53413f7d18656e4c99 Mon Sep 17 00:00:00 2001 From: Manfred <141728305+jakobmadp@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:34:56 +0100 Subject: [PATCH] Spsh 1415 fix password test (#102) * minor changes * minor changes --- tests/workflow.spec.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/workflow.spec.ts b/tests/workflow.spec.ts index 771ae47..8bed814 100644 --- a/tests/workflow.spec.ts +++ b/tests/workflow.spec.ts @@ -106,13 +106,8 @@ test.describe(`Testfälle für den Test von workflows: Umgebung: ${process.env.E await expect(personManagement.text_h2_Benutzerverwaltung).toBeVisible(); await personManagement.input_Suchfeld.fill(username); await personManagement.button_Suchen.click(); - await expect(header.icon_myProfil).toBeVisible(); - await expect(header.icon_logout).toBeVisible(); - await expect(personManagement.comboboxMenuIcon_Schule).toBeVisible(); - await expect(personManagement.comboboxMenuIcon_Rolle).toBeVisible(); - await expect(personManagement.comboboxMenuIcon_Klasse).toBeVisible(); - await expect(personManagement.comboboxMenuIcon_Status).toBeVisible(); - await page.getByRole("cell", { name: lastname, exact: true }).click({delay:500}); + await expect(page.getByRole("cell", { name: lastname, exact: true })).toBeEnabled(); + await page.getByRole("cell", { name: lastname, exact: true }).click(); }); await test.step(`In den User-Details PW-Reset Dialog starten`, async () => {