Project Number Date
ApolloFullRunnerReport apollo-test-2.84 18 lip 2021, 04:05

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 16s 923ms 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" 021ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 751ms
When Add transport by SKApi in "MGW" 027ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 377ms
And Go to "TRANSPORT_TABLE" 380ms
And Go to transport details "TRANSPORT_ORDER" 2s 791ms
Then Check are transport values equals 122ms
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.StkGj7}, 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: 6b533f8080c04f427f4c4895dd558f77
	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 093ms
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 660ms
When Add transport by SKApi in "MGW" 024ms
Then Check is transport "CONTAINER" created in transport table and set transport id 3s 941ms
And Go to "TRANSPORT_TABLE" 374ms
And Go to transport details "CONTAINER" 2s 775ms
Then Check are transport values equals 1s 331ms
After Hooks.deleteTransportAfterTest() 10s 098ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 017ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 587ms
When Add transport by SKApi in "MGW" 021ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 4s 195ms
And Go to "TRANSPORT_TABLE" 364ms
And Go to transport details "OWN_COLLECTION" 2s 800ms
Then Check are transport values equals 1s 155ms
After Hooks.deleteTransportAfterTest() 10s 109ms
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 753ms
When Add transport by SKApi in "HRL" 022ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 357ms
And Go to "TRANSPORT_TABLE" 413ms
And Go to transport details "TRANSPORT_ORDER" 2s 865ms
Then Check are transport values equals 575ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10769657 wartość poprawna: 1391360 expected:<1[391360]> but was:<1[0769657]>
	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 187ms
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" 019ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 644ms
When Add transport by SKApi in "HRL" 025ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 716ms
And Go to "TRANSPORT_TABLE" 427ms
And Go to transport details "CONTAINER" 2s 824ms
Then Check are transport values equals 805ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10626569 wartość poprawna: 8860467 expected:<[8860467]> but was:<[10626569]>
	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 088ms
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 554ms
When Add transport by SKApi in "HRL" 021ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 756ms
And Go to "TRANSPORT_TABLE" 383ms
And Go to transport details "OWN_COLLECTION" 2s 749ms
Then Check are transport values equals 729ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 1948553 wartość poprawna: 8378133 expected:<[837813]3> but was:<[194855]3>
	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 114ms
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 796ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 022ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 701ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 145ms
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 089ms
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 652ms
When Add transport by SKApi in "" 021ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 722ms
And Go to "TRANSPORT_TABLE" 464ms
And Go to transport details "TRANSPORT_ORDER" 2s 788ms
Then Check if transport has warehouse "MGW" in step section "0" 129ms
After Hooks.deleteTransportAfterTest() 10s 189ms