Project Number Date
ApolloFullRunnerReport apollo-test-2.85 19 lip 2021, 03:57

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 825ms 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" 018ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 870ms
When Add transport by SKApi in "MGW" 021ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 643ms
And Go to "TRANSPORT_TABLE" 421ms
And Go to transport details "TRANSPORT_ORDER" 2s 894ms
Then Check are transport values equals 596ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 1018634 wartość poprawna: 8734294 expected:<[873429]4> but was:<[101863]4>
	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 094ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 022ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 645ms
When Add transport by SKApi in "MGW" 022ms
Then Check is transport "CONTAINER" created in transport table and set transport id 6s 987ms
And Go to "TRANSPORT_TABLE" 355ms
And Go to transport details "CONTAINER" 2s 787ms
Then Check are transport values equals 1s 330ms
After Hooks.deleteTransportAfterTest() 10s 195ms
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 732ms
When Add transport by SKApi in "MGW" 019ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 243ms
And Go to "TRANSPORT_TABLE" 385ms
And Go to transport details "OWN_COLLECTION" 2s 798ms
Then Check are transport values equals 1s 315ms
After Hooks.deleteTransportAfterTest() 10s 186ms
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" 021ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 9s 636ms
When Add transport by SKApi in "HRL" 023ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 734ms
And Go to "TRANSPORT_TABLE" 412ms
And Go to transport details "TRANSPORT_ORDER" 2s 803ms
Then Check are transport values equals 144ms
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.GAsjVA}, 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: 33315d1be40fd39f31d0a666018ca6aa
	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 094ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 020ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 629ms
When Add transport by SKApi in "HRL" 019ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 723ms
And Go to "TRANSPORT_TABLE" 465ms
And Go to transport details "CONTAINER" 2s 814ms
Then Check are transport values equals 877ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 7124006 wartość poprawna: 7053475 expected:<7[053475]> but was:<7[124006]>
	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 197ms
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" 024ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 752ms
When Add transport by SKApi in "HRL" 021ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 693ms
And Go to "TRANSPORT_TABLE" 456ms
And Go to transport details "OWN_COLLECTION" 2s 826ms
Then Check are transport values equals 641ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 6190501 wartość poprawna: 9368398 expected:<[9368398]> but was:<[6190501]>
	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 091ms
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 680ms
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 444ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 098ms
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 111ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 023ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 538ms
When Add transport by SKApi in "" 019ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 726ms
And Go to "TRANSPORT_TABLE" 416ms
And Go to transport details "TRANSPORT_ORDER" 2s 805ms
Then Check if transport has warehouse "MGW" in step section "0" 154ms
After Hooks.deleteTransportAfterTest() 10s 091ms