Project Number Date
ApolloFullRunnerReport apollo-test-2.152 09 wrz 2021, 11:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@cleanUserDetailsAfterTest 25 3 1 0 0 29 1 3 4 1m 42s 893ms Failed
View Feature Invitation
Scenario Outline Check if it is possible to invite user to company by "add to company" option
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-adama" 233ms
And Prepare user "adama-admin" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 589ms
When Login as "adama-admin" 4s 280ms
And Go to "COMPANIES_TAB" 1s 263ms
Then Go to company "Dostawca Adama Automat 1" details 555ms
And Go to invite to company tab 15s 046ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-field-name='invite']/a"}
  (Session info: headless chrome=93.0.4577.63)
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=93.0.4577.15 (660fc11082ba57405eca2e8c49c3e1af756fbfae-refs/branch-heads/4577@{#203}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.gaTaF6}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: dcef2c0e77973a8a2443e26c4c6c8f94
*** Element info: {Using=xpath, value=//td[@data-field-name='invite']/a}
	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:325)
	at Pages.Company.CompaniesPage.goToInviteToCompanyTab(CompaniesPage.java:33)
	at CucumberTests.Company.CompanyInvitationTest.goToInviteToCompanyTab(CompanyInvitationTest.java:21)
	at ✽.Go to invite to company tab(file:Features/Atom/Invitations/Invitation.feature:363)
Then Create invitation to company for "automatyy3333@test.pl" "SUPPLIER" 000ms
After Hooks.deleteInvitationAfterTest() 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 431ms
View Feature Transport Transfer Mail
Before Hooks.showScenarioName(Scenario) 002ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 009ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 449ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 338ms
And Transfer transport to carrier "Przewoźnik SKZ Automat 1" 34s 873ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zlecenie czeka na akceptację" 6s 121ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 3s 161ms
After Hooks.deleteTransportAfterTest() 858ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access [A-7887]
Before Hooks.showScenarioName(Scenario) 003ms
Steps
Given Set token of apiUsername "super-admin-adama" 331ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_USERS_RAMP" to user "oaa1-receiver-2@qa.qa-test" 390ms
When Login as "oaa1-receiver-2@qa.qa-test" 3s 896ms
And Go to user "oaa1-receiver@qa.qa-test" details edition by prepared link 112ms
And Unselect warehouse "Magazyn S7" access 719ms
Then Save user details 936ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 006ms
java.lang.AssertionError: Magazyn jest nadal widoczny w szczegółach użytkownika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.User.EditUserTest.verifyIfWarehouseNameIsNotVisibleInUserWarehousesSection(EditUserTest.java:282)
	at ✽.Verify if "Magazyn S7" is not visible in user warehouses section(file:Features/Atom/Users/UserAuthority.feature:25)
After Hooks.cleanUserDetailsAfterTest() 610ms
After Hooks.rollbackAddedAuthorities() 273ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access from other company [A-7887]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-adama" 236ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test" 456ms
And Set user details json of user "oaa1-receiver@qa.qa-test" 015ms
When Login as "adama-buyer@qa.qa-test" 5s 839ms
And Go to "USERS_TAB" 2s 976ms
And Find user "oaa1-receiver@qa.qa-test" 3s 760ms
And Unselect warehouse "Magazyn S7" access 427ms
Then Save user details 981ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 043ms
java.lang.AssertionError: Magazyn jest nadal widoczny w szczegółach użytkownika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.User.EditUserTest.verifyIfWarehouseNameIsNotVisibleInUserWarehousesSection(EditUserTest.java:282)
	at ✽.Verify if "Magazyn S7" is not visible in user warehouses section(file:Features/Atom/Users/UserAuthority.feature:71)
After Hooks.cleanUserDetailsAfterTest() 631ms
After Hooks.rollbackAddedAuthorities() 236ms