Given
Set token of apiUsername "super-admin-skd"
243ms
And
Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1"
102ms
Given
Failed login as "swiss-krono-delivery-admin-2"
1s 464ms
Then
Verify that login error reason is "auth.invalidLoginOrPassword"
508ms
Given
Try login as "swiss-krono-delivery-admin-2"
1s 530ms
Then
Verify that login error reason is "auth.accountLocked"
435ms
org.junit.ComparisonFailure: expected: but was:
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at CucumberTests.LoginTest.verifyThatLoginErrorReasonIs(LoginTest.java:121)
at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:17)
Given
Click remind password button
000ms
And
Prepare user "swiss-krono-delivery-admin-2" details with all notifications and "apolloautomattest@gmail.com" by JSON file
000ms
And
Send remind password form with email "apolloautomattest@gmail.com"
000ms
When
Get mail "apolloautomattest@gmail.com" message from mailgun with "Restart hasła! | Password reset!"
000ms
And
Extract password reset link from mailgun mail
000ms
And
Reset password from link
000ms
Then
Login as "swiss-krono-delivery-admin-2" with new password
000ms
And
User is successfully logged
000ms