Project Number Date
ApolloFullRunnerReport apollo-test-2.88 20 lip 2021, 18:16

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK API - Creation of the Transport 50 5 0 0 0 55 3 5 8 1m 18s 196ms Failed
Feature SK API - Creation of the Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 019ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 749ms
When Add transport by SKApi in "MGW" 020ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 635ms
And Go to "TRANSPORT_TABLE" 400ms
And Go to transport details "TRANSPORT_ORDER" 2s 823ms
Then Check are transport values equals 1s 171ms
After Hooks.deleteTransportAfterTest() 10s 090ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 023ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 830ms
When Add transport by SKApi in "MGW" 022ms
Then Check is transport "CONTAINER" created in transport table and set transport id 6s 997ms
And Go to "TRANSPORT_TABLE" 357ms
And Go to transport details "CONTAINER" 2s 824ms
Then Check are transport values equals 123ms
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.6HQ03H}, 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: 5dc03ee19cd52189e71bcf0f443d4a03
	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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:120)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 10s 086ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 020ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 694ms
When Add transport by SKApi in "MGW" 019ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 4s 255ms
And Go to "TRANSPORT_TABLE" 363ms
And Go to transport details "OWN_COLLECTION" 2s 826ms
Then Check are transport values equals 1s 137ms
After Hooks.deleteTransportAfterTest() 10s 106ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 020ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 8s 269ms
When Add transport by SKApi in "HRL" 022ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 684ms
And Go to "TRANSPORT_TABLE" 459ms
And Go to transport details "TRANSPORT_ORDER" 2s 812ms
Then Check are transport values equals 583ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5278556 wartość poprawna: 6169145 expected:<[6169145]> but was:<[5278556]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 10s 192ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 019ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 651ms
When Add transport by SKApi in "HRL" 020ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 819ms
And Go to "TRANSPORT_TABLE" 417ms
And Go to transport details "CONTAINER" 2s 877ms
Then Check are transport values equals 829ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 8780088 wartość poprawna: 5082362 expected:<[5082362]> but was:<[8780088]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 10s 089ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 023ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 630ms
When Add transport by SKApi in "HRL" 024ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 594ms
And Go to "TRANSPORT_TABLE" 637ms
And Go to transport details "OWN_COLLECTION" 2s 826ms
Then Check are transport values equals 655ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 3168043 wartość poprawna: 2845319 expected:<[2845319]> but was:<[3168043]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:239)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 10s 103ms
Scenario Outline Check if it possible to create new transport by SKApi with specific client name
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 018ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 718ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 018ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 387ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 162ms
java.lang.AssertionError: Nazwa klienta nie zapisała się poprawnie w bazie danych
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkClientNameInDabatase(CreateTransport.java:250)
	at ✽.Check client name in database "Pepsi" "TRANSPORT_ORDER"(file:Features/Atom/SK_API/SkApiTransport.feature:28)
After Hooks.deleteTransportAfterTest() 10s 086ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 021ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 493ms
When Add transport by SKApi in "" 019ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 781ms
And Go to "TRANSPORT_TABLE" 442ms
And Go to transport details "TRANSPORT_ORDER" 2s 786ms
Then Check if transport has warehouse "MGW" in step section "0" 147ms
After Hooks.deleteTransportAfterTest() 10s 181ms