Project Number Date
ApolloFullRunnerReport apollo-test-2.83 17 lip 2021, 03:37

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 20s 939ms Failed
Feature SK API - Creation of the Transport
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" 024ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 687ms
When Add transport by SKApi in "MGW" 024ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 585ms
And Go to "TRANSPORT_TABLE" 403ms
And Go to transport details "TRANSPORT_ORDER" 2s 833ms
Then Check are transport values equals 594ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5710032 wartość poprawna: 1485463 expected:<[1485463]> but was:<[5710032]>
	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 087ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 019ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 681ms
When Add transport by SKApi in "MGW" 022ms
Then Check is transport "CONTAINER" created in transport table and set transport id 9s 979ms
And Go to "TRANSPORT_TABLE" 416ms
And Go to transport details "CONTAINER" 2s 817ms
Then Check are transport values equals 1s 220ms
After Hooks.deleteTransportAfterTest() 10s 191ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 022ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 766ms
When Add transport by SKApi in "MGW" 021ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 4s 263ms
And Go to "TRANSPORT_TABLE" 372ms
And Go to transport details "OWN_COLLECTION" 2s 756ms
Then Check are transport values equals 1s 323ms
After Hooks.deleteTransportAfterTest() 10s 091ms
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" 022ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 9s 880ms
When Add transport by SKApi in "HRL" 023ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 691ms
And Go to "TRANSPORT_TABLE" 426ms
And Go to transport details "TRANSPORT_ORDER" 2s 803ms
Then Check are transport values equals 160ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
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.ZwNNch}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 3b1ccdc0af6da4b42278be185192920b
	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 097ms
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-10" and set token of apiUsername "super-admin-skz" 2s 769ms
When Add transport by SKApi in "HRL" 021ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 743ms
And Go to "TRANSPORT_TABLE" 423ms
And Go to transport details "CONTAINER" 2s 803ms
Then Check are transport values equals 881ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 3624873 wartość poprawna: 3949064 expected:<3[949064]> but was:<3[624873]>
	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 120ms
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" 019ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 746ms
When Add transport by SKApi in "HRL" 024ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 672ms
And Go to "TRANSPORT_TABLE" 424ms
And Go to transport details "OWN_COLLECTION" 2s 782ms
Then Check are transport values equals 644ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10710989 wartość poprawna: 10706819 expected:<107[0681]9> but was:<107[1098]9>
	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 100ms
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" 021ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 814ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 021ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 390ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 123ms
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 186ms
Before Hooks.showScenarioName(Scenario) 001ms
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" 2s 472ms
When Add transport by SKApi in "" 020ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 832ms
And Go to "TRANSPORT_TABLE" 449ms
And Go to transport details "TRANSPORT_ORDER" 2s 800ms
Then Check if transport has warehouse "MGW" in step section "0" 139ms
After Hooks.deleteTransportAfterTest() 10s 092ms