Project Number Date
ApolloFullRunnerReport refs/heads/develop.6 21 maj 2021, 04:17

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@unlockUsers 28 3 14 0 0 45 1 3 4 36s 448ms Failed
View Feature Login feature
Scenario Outline Verify that password reset cancel login blockade [A-7286]
Steps
Given Set token of apiUsername "super-admin-skd" 227ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 043ms
Given Failed login as "swiss-krono-delivery-admin" 1s 395ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 384ms
Given Try login as "swiss-krono-delivery-admin" 1s 613ms
Then Verify that login error reason is "auth.accountLocked" 15s 085ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='login-error-reason']"}
  (Session info: headless chrome=90.0.4430.212)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.ZP5UYX}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 42b373e0960f8f697f316422a5af1e3a
*** Element info: {Using=xpath, value=//div[@data-field-name='login-error-reason']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.LoginPage.findLoginErrorAlert(LoginPage.java:67)
	at CucumberTests.LoginTest.verifyThatLoginErrorReasonIs(LoginTest.java:114)
	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" 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 mail account with "Restart hasła! | Password reset!" 000ms
And Extract password from mail 000ms
And Reset password from link 000ms
Then Login as "swiss-krono-delivery-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 023ms
After Hooks.unlockUsers() 143ms
View Feature Login feature
Given Set token of apiUsername "super-admin-neuca" 221ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "3" 042ms
Given Failed login as "neuca-admin" 1s 412ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 439ms
Given Failed login as "neuca-admin" 1s 444ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 441ms
Then Login as "neuca-admin" 2s 163ms
Given Failed login as "neuca-admin" 1s 302ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 379ms
Then Login as "neuca-admin" 2s 148ms
And User is successfully logged 027ms
After Hooks.rollbackParameters() 025ms
After Hooks.unlockUsers() 114ms
View Feature Login feature
Scenario Outline Check if blocking of user will end after a lockout time [A-7288]
Steps
Given Set token of apiUsername "super-admin-sempertrans" 248ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 043ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 043ms
When Failed login as "sempertrans-admin" 1s 218ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 342ms
And Failed login as "sempertrans-admin" 1s 437ms
And Verify that login error reason is "auth.accountLocked" 438ms
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:116)
	at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:55)
Then Wait "62" seconds 000ms
And Login as "sempertrans-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 045ms
After Hooks.unlockUsers() 115ms
View Feature Login feature
Scenario Outline Check if blocking of user will end after a lockout time [A-7288]
Steps
Given Set token of apiUsername "super-admin-adama" 239ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 043ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 043ms
When Failed login as "adama-admin" 1s 348ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 445ms
And Failed login as "adama-admin" 1s 406ms
And Verify that login error reason is "auth.accountLocked" 376ms
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:116)
	at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:55)
Then Wait "62" seconds 000ms
And Login as "adama-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 044ms
After Hooks.unlockUsers() 115ms