Project Number Date
ApolloFullRunnerReport apollo-test-2.92 23 lip 2021, 09:21

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 52s 470ms 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) 003ms
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 6s 729ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 311ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 027ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 416ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 595ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_WITH_FILLED_ERP_IDENTIFIER" as "super-admin-piast" with "nonUniqueERPId" for api version "v1" 384ms
Then Check if response status code equals "422" 000ms
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() 001ms
View Feature Filters
Scenario Outline Check every filter in table
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-sempertrans" 229ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" 15s 979ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 15s 936ms
And Get inputs from database "ADVICE_UNLOAD" "super-admin-sempertrans" 032ms
When Login as "sempertrans-admin" 7s 190ms
And Go to "TRANSPORT_TABLE" 389ms
And Select transportType "DELIVERY" 1s 354ms
And Click button advice in transport table "DELIVERY" 265ms
And Set advice window in schedule in the past 3s 048ms
And Fill advice form 12s 333ms
And Click advice save button and wait for advice form to disappear 33s 284ms
And Go to "TRANSPORT_TABLE" 528ms
And Select transportType "DELIVERY" 1s 241ms
Then Check if filters work properly 25s 268ms
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.Ppce60}, 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: 60a300c02f7c304e2b634b274bb7a163
*** 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:44)
After Hooks.deleteTransportsAfterTest() 1s 321ms
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" 222ms
And Add action authority with: "swisskrono" "swisskrono-admin" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 437ms
And Add action authority with: "swisskrono" "pskza1-carrier@qa.qa-test" "SMALLS_EXPORT" "MOVE_UNLOAD_STEPS" "ACTIVE" 353ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 179ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 668ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 12s 460ms
And Show all transport types 1s 177ms
Then Check if transport has "Potwierdzenie kolejności rozładunków" 15s 051ms
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.Ppce60}, 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: 60a300c02f7c304e2b634b274bb7a163
*** 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() 955ms
After Hooks.rollbackAddedActionAuthorities() 615ms
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 440ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 393ms
And Show all transport "true" 274ms
And Go to transport details "TRANSPORT_ORDER" 2s 851ms
And Set custom fields values 409ms
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.Ppce60}, 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: 60a300c02f7c304e2b634b274bb7a163
	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:75)
	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() 568ms