Project Number Date
ApolloFullRunnerReport 2021.AT1.12 25 Jul 2021, 06:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK API - Creation of the Transport 48 7 0 0 0 55 1 7 8 11m 32s 007ms Failed
Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 036ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 632ms
When Add transport by SKApi in "MGW" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 817ms
And Go to "TRANSPORT_TABLE" 5s 033ms
And Go to transport details "TRANSPORT_ORDER" 9s 732ms
Then Check are transport values equals 406ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 1006301 wartość poprawna: 8031363 expected:<[8031363]> but was:<[1006301]>
	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() 110ms
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" 038ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 526ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 29s 480ms
And Go to "TRANSPORT_TABLE" 10s 489ms
And Go to transport details "CONTAINER" 25s 573ms
Then Check are transport values equals 31s 184ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 3304174 wartość poprawna: 9306240 expected:<[9306240]> but was:<[3304174]>
	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() 104ms
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" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 817ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 36s 456ms
And Go to "TRANSPORT_TABLE" 21s 059ms
And Go to transport details "OWN_COLLECTION" 39s 026ms
Then Check are transport values equals 50s 171ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 8525624 wartość poprawna: 8361480 expected:<8[361480]> but was:<8[525624]>
	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() 113ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 6s 907ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 474ms
And Go to "TRANSPORT_TABLE" 5s 385ms
And Go to transport details "TRANSPORT_ORDER" 10s 724ms
Then Check are transport values equals 391ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 7530401 wartość poprawna: 2130260 expected:<[2130260]> but was:<[7530401]>
	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() 119ms
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" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 543ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 30s 301ms
And Go to "TRANSPORT_TABLE" 10s 997ms
And Go to transport details "CONTAINER" 23s 223ms
Then Check are transport values equals 15s 610ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='type-of-departure']//input | //div[@data-field-name='type-of-departure']//textarea"}
  (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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-59-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-2/temp/buildTmp/.com.google.Chrome.akcEQi}, 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: 9e4ee261ef296133ad11bc3507b58553
*** Element info: {Using=xpath, value=//div[@data-field-name='type-of-departure']//input | //div[@data-field-name='type-of-departure']//textarea}
	at sun.reflect.GeneratedConstructorAccessor181.newInstance(Unknown Source)
	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.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() 104ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 3s 722ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 36s 271ms
And Go to "TRANSPORT_TABLE" 19s 152ms
And Go to transport details "OWN_COLLECTION" 39s 370ms
Then Check are transport values equals 50s 034ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10205589 wartość poprawna: 4071247 expected:<[4071247]> but was:<[10205589]>
	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() 127ms
Scenario Outline Check if it possible to create new transport by SKApi with specific client name
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 036ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 6s 134ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 707ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 662ms
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() 095ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 518ms
When Add transport by SKApi in "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 121ms
And Go to "TRANSPORT_TABLE" 4s 884ms
And Go to transport details "TRANSPORT_ORDER" 10s 089ms
Then Check if transport has warehouse "MGW" in step section "0" 052ms
After Hooks.deleteTransportAfterTest() 111ms