Project Number Date
ApolloFullRunnerReport 2021.AT1.11 24 Jul 2021, 06:06

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 26s 239ms 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" 039ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 643ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 582ms
And Go to "TRANSPORT_TABLE" 5s 163ms
And Go to transport details "TRANSPORT_ORDER" 10s 048ms
Then Check are transport values equals 417ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 8241715 wartość poprawna: 9812354 expected:<[9812354]> but was:<[8241715]>
	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() 160ms
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 565ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 29s 783ms
And Go to "TRANSPORT_TABLE" 10s 282ms
And Go to transport details "CONTAINER" 20s 920ms
Then Check are transport values equals 16s 770ms
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.SjdyzF}, 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: 7aa2e3f9ee9defc28a077b622d27826a
*** 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() 095ms
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" 036ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 796ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 31s 497ms
And Go to "TRANSPORT_TABLE" 19s 714ms
And Go to transport details "OWN_COLLECTION" 43s 704ms
Then Check are transport values equals 52s 836ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 6806077 wartość poprawna: 8821049 expected:<[8821049]> but was:<[6806077]>
	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() 093ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 7s 599ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 584ms
And Go to "TRANSPORT_TABLE" 5s 264ms
And Go to transport details "TRANSPORT_ORDER" 10s 714ms
Then Check are transport values equals 384ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5577617 wartość poprawna: 8345881 expected:<[8345881]> but was:<[5577617]>
	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() 105ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 616ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 29s 193ms
And Go to "TRANSPORT_TABLE" 10s 489ms
And Go to transport details "CONTAINER" 24s 029ms
Then Check are transport values equals 33s 348ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 7525539 wartość poprawna: 5881014 expected:<[5881014]> but was:<[7525539]>
	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() 114ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 853ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 27s 761ms
And Go to "TRANSPORT_TABLE" 20s 695ms
And Go to transport details "OWN_COLLECTION" 39s 796ms
Then Check are transport values equals 51s 623ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4024168 wartość poprawna: 7753501 expected:<[7753501]> but was:<[4024168]>
	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() 129ms
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" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 6s 524ms
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 514ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 984ms
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() 114ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 173ms
When Add transport by SKApi in "" 001ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 624ms
And Go to "TRANSPORT_TABLE" 5s 399ms
And Go to transport details "TRANSPORT_ORDER" 10s 956ms
Then Check if transport has warehouse "MGW" in step section "0" 056ms
After Hooks.deleteTransportAfterTest() 146ms