From e53518bd7fa583387d41d865bdf0b142101916ec Mon Sep 17 00:00:00 2001 From: Phael Mouko Date: Mon, 25 Nov 2024 17:12:59 +0100 Subject: [PATCH] SPSH-967: Fixed 2FA tests --- pages/admin/PersonDetailsView.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/admin/PersonDetailsView.page.ts b/pages/admin/PersonDetailsView.page.ts index 9bfaa2f..744a2fb 100644 --- a/pages/admin/PersonDetailsView.page.ts +++ b/pages/admin/PersonDetailsView.page.ts @@ -65,7 +65,7 @@ export class PersonDetailsViewPage{ this.text_h2_benutzerBearbeiten = page.getByTestId('layout-card-headline'); // Passwort - this.text_h3_passwort_headline = page.getByText('Passwort'); + this.text_h3_passwort_headline = page.locator( `//h3[text()='Passwort']`); this.button_pwChange = page.getByTestId('open-password-reset-dialog-icon'); this.button_pwReset = page.getByTestId('password-reset-button'); this.text_pwResetInfo = page.getByTestId('password-reset-info-text');