diff --git a/tests/acceptance/features/bootstrap/TwoFactorTOTPContext.php b/tests/acceptance/features/bootstrap/TwoFactorTOTPContext.php index a1c1b0a..f8341a6 100644 --- a/tests/acceptance/features/bootstrap/TwoFactorTOTPContext.php +++ b/tests/acceptance/features/bootstrap/TwoFactorTOTPContext.php @@ -262,7 +262,7 @@ public function theSecretCodeFromQRCodeShouldMatchWithTheOneDisplayedOnTheWebUI( } /** - * Send request with secret key for two factor authentication + * Send request with secret key for two-factor authentication * * @param string $user * @param string $secretKey diff --git a/tests/acceptance/features/lib/VerificationPage.php b/tests/acceptance/features/lib/VerificationPage.php index b821c40..3c7f0c2 100644 --- a/tests/acceptance/features/lib/VerificationPage.php +++ b/tests/acceptance/features/lib/VerificationPage.php @@ -50,7 +50,10 @@ public function waitTillPageIsLoaded( Session $session, int $timeout_msec = STANDARD_UI_WAIT_TIMEOUT_MILLISEC ): void { - $field = $this->waitTillElementIsNotNull($this->verificationFieldXpath); + $field = $this->waitTillElementIsNotNull( + $this->verificationFieldXpath, + $timeout_msec + ); $this->assertElementNotNull( $field, __METHOD__ . ' Field for adding verification code could not be found' diff --git a/tests/acceptance/features/webUIcliTwoFactorTOTP/deleteSecret.feature b/tests/acceptance/features/webUIcliTwoFactorTOTP/deleteSecret.feature index e30b896..d744729 100644 --- a/tests/acceptance/features/webUIcliTwoFactorTOTP/deleteSecret.feature +++ b/tests/acceptance/features/webUIcliTwoFactorTOTP/deleteSecret.feature @@ -29,7 +29,7 @@ Feature: Use the CLI to delete secrets for users And the command output should contain the text "1 secrets deleted for Alice" And user "Alice" using password "%regularuser%" should not be able to download file "textfile0.txt" - Scenario: Delete secrets for mutiple users + Scenario: Delete secrets for multiple users Given user "Alice" has logged in using the webUI And the user has browsed to the personal security settings page And the user has activated TOTP Second-factor auth but not verified