Project Number Date
ApolloFullRunnerReport apollo-test-2.115 12 sie 2021, 12:12

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 919ms 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 960ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 3s 455ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 186ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 906ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 694ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_WITH_FILLED_ERP_IDENTIFIER" as "super-admin-piast" with "nonUniqueERPId" for api version "v1" 361ms
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:138)
After Hooks.deleteTransportsAfterTest() 000ms
After Hooks.rollbackSettings() 138ms
View Feature Filters
Scenario Outline Check every filter in table
Before Hooks.showScenarioName(Scenario) 004ms
Steps
Given Set token of apiUsername "super-admin-sempertrans" 244ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 946ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 882ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 035ms
When Login as "sempertrans-admin" 7s 772ms
And Go to "TRANSPORT_TABLE" 389ms
And Select transportType "DELIVERY" 1s 317ms
And Click button advice in transport table "DELIVERY" 279ms
And Set advice window in schedule in the past 3s 118ms
And Fill advice form 14s 719ms
And Click advice save button and wait for advice form to disappear 33s 342ms
And Go to "TRANSPORT_TABLE" 555ms
And Select transportType "DELIVERY" 1s 237ms
Then Check if filters work properly 25s 391ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='CONTRACTOR']//div"}
  (Session info: headless chrome=92.0.4515.131)
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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.QncgmR}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 9e09dbec5e6c34ef6cfb47bf35c26d66
*** 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 370ms
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" 224ms
And Add action authority with: "swisskrono" "swisskrono-admin" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 402ms
And Add action authority with: "swisskrono" "pskza1-carrier@qa.qa-test" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 322ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 152ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 669ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 12s 084ms
And Show all transport types 1s 192ms
Then Check if transport has "Potwierdzenie kolejności rozładunków" 15s 064ms
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=92.0.4515.131)
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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.QncgmR}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 9e09dbec5e6c34ef6cfb47bf35c26d66
*** 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() 814ms
After Hooks.rollbackAddedActionAuthorities() 606ms
View Feature Transport form
Scenario Outline Check if transport created by similar button has correct custom fields values
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 6s 027ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 415ms
And Show all transport "true" 250ms
And Go to transport details "TRANSPORT_ORDER" 2s 892ms
And Set custom fields values 420ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=92.0.4515.131)
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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.QncgmR}, 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=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 9e09dbec5e6c34ef6cfb47bf35c26d66
	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() 584ms