Project Number Date
ApolloFullRunnerReport apollo-test-2.78 13 lip 2021, 05:31

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackParameters 28 3 14 0 0 45 1 3 4 33s 481ms 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" 119ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 032ms
Given Failed login as "swiss-krono-delivery-admin" 1s 272ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 301ms
Given Try login as "swiss-krono-delivery-admin" 1s 444ms
Then Verify that login error reason is "auth.accountLocked" 15s 062ms
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=91.0.4472.114)
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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.EfZCoY}, 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=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 6110c390e6e71a6097e6cf3b60a6c2c6
*** 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() 016ms
After Hooks.unlockUsers() 141ms
View Feature Login feature
Given Set token of apiUsername "super-admin-neuca" 216ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "3" 027ms
Given Failed login as "neuca-admin" 1s 388ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 301ms
Given Failed login as "neuca-admin" 1s 188ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 305ms
Then Login as "neuca-admin" 1s 840ms
Given Failed login as "neuca-admin" 1s 288ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 304ms
Then Login as "neuca-admin" 1s 709ms
And User is successfully logged 031ms
After Hooks.rollbackParameters() 018ms
After Hooks.unlockUsers() 133ms
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" 117ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 031ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 020ms
When Failed login as "sempertrans-admin" 1s 286ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 318ms
And Failed login as "sempertrans-admin" 1s 319ms
And Verify that login error reason is "auth.accountLocked" 296ms
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() 030ms
After Hooks.unlockUsers() 134ms
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" 117ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 033ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 021ms
When Failed login as "adama-admin" 1s 172ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 329ms
And Failed login as "adama-admin" 1s 267ms
And Verify that login error reason is "auth.accountLocked" 311ms
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() 028ms
After Hooks.unlockUsers() 149ms