Project Number Date
ApolloFullRunnerReport refs/heads/develop-kapibary.4 19 maj 2021, 22:18

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 37s 087ms 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" 250ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 155ms
Given Failed login as "swiss-krono-delivery-admin" 1s 512ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 370ms
Given Try login as "swiss-krono-delivery-admin" 1s 897ms
Then Verify that login error reason is "auth.accountLocked" 15s 060ms
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.SZuokF}, 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: 25a93f7dfa2a01ad0ea857fc16c68d5e
*** 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() 024ms
After Hooks.unlockUsers() 107ms
View Feature Login feature
Given Set token of apiUsername "super-admin-neuca" 223ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "3" 042ms
Given Failed login as "neuca-admin" 1s 500ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 379ms
Given Failed login as "neuca-admin" 1s 455ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 375ms
Then Login as "neuca-admin" 2s 194ms
Given Failed login as "neuca-admin" 1s 269ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 372ms
Then Login as "neuca-admin" 2s 206ms
And User is successfully logged 027ms
After Hooks.rollbackParameters() 023ms
After Hooks.unlockUsers() 125ms
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" 228ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 043ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 042ms
When Failed login as "sempertrans-admin" 1s 326ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 370ms
And Failed login as "sempertrans-admin" 1s 454ms
And Verify that login error reason is "auth.accountLocked" 368ms
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() 044ms
After Hooks.unlockUsers() 122ms
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" 319ms
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 420ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 369ms
And Failed login as "adama-admin" 1s 398ms
And Verify that login error reason is "auth.accountLocked" 363ms
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() 047ms
After Hooks.unlockUsers() 112ms