Project Number Date
ApolloFullRunnerReport apollo-test-2.107 05 sie 2021, 11:20

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteTransportsAfterTest 30 4 11 0 0 45 0 4 4 2m 58s 519ms Failed
View Feature API Transport
Scenario Outline Check if response code contains expected status after editing transport by Api with non unique erpIdentifier [A-7521]
Before Hooks.showScenarioName(Scenario) 005ms
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 6s 565ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 3s 739ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 030ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 823ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 508ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_WITH_FILLED_ERP_IDENTIFIER" as "super-admin-piast" with "nonUniqueERPId" for api version "v1" 353ms
Then Check if response status code equals "422" 002ms
org.junit.ComparisonFailure: Odpowiedź zawiera kod 404 zamiast 422 expected:<4[22]> but was:<4[04]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:137)
	at ✽.Check if response status code equals "422"(file:Features/Api/Transport.feature:136)
After Hooks.deleteTransportsAfterTest() 000ms
After Hooks.rollbackSettings() 146ms
View Feature Filters
Scenario Outline Check every filter in table
Before Hooks.showScenarioName(Scenario) 003ms
Steps
Given Set token of apiUsername "super-admin-sempertrans" 229ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 935ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 963ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 032ms
When Login as "sempertrans-admin" 7s 109ms
And Go to "TRANSPORT_TABLE" 391ms
And Select transportType "DELIVERY" 1s 240ms
And Click button advice in transport table "DELIVERY" 281ms
And Set advice window in schedule in the past 3s 070ms
And Fill advice form 14s 655ms
And Click advice save button and wait for advice form to disappear 33s 312ms
And Go to "TRANSPORT_TABLE" 529ms
And Select transportType "DELIVERY" 1s 266ms
Then Check if filters work properly 25s 331ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='CONTRACTOR']//div"}
  (Session info: headless chrome=91.0.4472.164)
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.Qts7mc}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 42a31549cf979e2ab510f468ec928d51
*** Element info: {Using=xpath, value=//td[@data-column-name='CONTRACTOR']//div}
	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.Filters.FiltersPage.isTransportFiltered(FiltersPage.java:175)
	at Pages.Filters.FiltersPage.fillEveryFilter(FiltersPage.java:98)
	at CucumberTests.Filters.FilterTransportTest.checkIfFiltersWorkProperly(FilterTransportTest.java:43)
	at ✽.Check if filters work properly(file:Features/Atom/Filters/Filter.feature:45)
After Hooks.deleteTransportsAfterTest() 1s 342ms
View Feature Status confirmation
Scenario Outline Check if unload step status is visible for specific users [A-6868]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-skz" 227ms
And Add action authority with: "swisskrono" "swisskrono-admin" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 434ms
And Add action authority with: "swisskrono" "pskza1-carrier@qa.qa-test" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 378ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 276ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 657ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 12s 637ms
And Show all transport types 1s 196ms
Then Check if transport has "Potwierdzenie kolejności rozładunków" 15s 101ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[contains(@data-status-name, 'Potwierdzenie kolejności rozładunków')]"}
  (Session info: headless chrome=91.0.4472.164)
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.Qts7mc}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 42a31549cf979e2ab510f468ec928d51
*** Element info: {Using=xpath, value=//td[contains(@data-status-name, 'Potwierdzenie kolejności rozładunków')]}
	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 CucumberTests.StatusTests.StatusUtils.checkIfTransportHasStatus(StatusUtils.java:20)
	at ✽.Check if transport has "Potwierdzenie kolejności rozładunków"(file:Features/Atom/Statuses/ConfirmStatuses.feature:282)
And If user is login then logout 000ms
And Login as "pskza1-carrier@qa.qa-test" 000ms
When Accept or reject "accept" transferred transport 000ms
And Show all transport types 000ms
Then Check if transport has "Potwierdzenie kolejności rozładunków" 000ms
After Hooks.deleteTransportsAfterTest() 846ms
After Hooks.rollbackAddedActionAuthorities() 684ms
View Feature Transport form
Scenario Outline Check if transport created by similar button has correct custom fields values
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 6s 184ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 393ms
And Show all transport "true" 288ms
And Go to transport details "TRANSPORT_ORDER" 2s 913ms
And Set custom fields values 455ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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.Qts7mc}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 42a31549cf979e2ab510f468ec928d51
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at Pages.Transport.TransportFormPage.prepareCustomFieldMap(TransportFormPage.java:431)
	at CucumberTests.CustomField.CustomFieldTest.setCustomFieldsValues(CustomFieldTest.java:86)
	at ✽.Set custom fields values(file:Features/Atom/Transport/TransportForm/TransportForm.feature:306)
And Create transport by create similar button 000ms
And Open similar transport details 000ms
Then Verify that custom fields has added value 000ms
And Close transport details 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Verify that custom fields has added value 000ms
After Hooks.deleteTransportsAfterTest() 620ms