Project Number Date
ApolloFullRunnerReport 2021.AT1.19 27 Jul 2021, 06:07

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 10m 44s 801ms 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" 041ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 545ms
When Add transport by SKApi in "MGW" assigned to "" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 650ms
And Go to "TRANSPORT_TABLE" 4s 163ms
And Go to transport details "TRANSPORT_ORDER" 10s 251ms
Then Check are transport values equals 440ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 3191259 wartość poprawna: 1646520 expected:<[1646520]> but was:<[3191259]>
	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 474ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 28s 842ms
And Go to "TRANSPORT_TABLE" 10s 330ms
And Go to transport details "CONTAINER" 23s 945ms
Then Check are transport values equals 3s 282ms
org.junit.ComparisonFailure: Wartości w formularzu w polu type-of-departure są niepoprawne, wartość na stronie:  wartość poprawna: wysyłka expected:<[wysyłka]> but was:<[]>
	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() 143ms
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" 3s 105ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 38s 805ms
And Go to "TRANSPORT_TABLE" 19s 236ms
And Go to transport details "OWN_COLLECTION" 41s 444ms
Then Check are transport values equals 49s 695ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 1372480 wartość poprawna: 1645477 expected:<1[645477]> but was:<1[372480]>
	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) 000ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 039ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 7s 858ms
When Add transport by SKApi in "HRL" assigned to "" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 742ms
And Go to "TRANSPORT_TABLE" 5s 500ms
And Go to transport details "TRANSPORT_ORDER" 10s 498ms
Then Check are transport values equals 381ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5578156 wartość poprawna: 7261888 expected:<[7261888]> but was:<[5578156]>
	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() 118ms
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" 038ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 449ms
When Add transport by SKApi in "HRL" assigned to "" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 30s 340ms
And Go to "TRANSPORT_TABLE" 10s 051ms
And Go to transport details "CONTAINER" 23s 086ms
Then Check are transport values equals 2s 853ms
org.junit.ComparisonFailure: Wartości w formularzu w polu type-of-departure są niepoprawne, wartość na stronie:  wartość poprawna: wysyłka expected:<[wysyłka]> but was:<[]>
	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() 143ms
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" 2s 931ms
When Add transport by SKApi in "HRL" assigned to "" 003ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 31s 780ms
And Go to "TRANSPORT_TABLE" 19s 058ms
And Go to transport details "OWN_COLLECTION" 39s 058ms
Then Check are transport values equals 51s 391ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 2356869 wartość poprawna: 5026518 expected:<[5026518]> but was:<[2356869]>
	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() 116ms
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" 038ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 6s 989ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 636ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 1s 082ms
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() 099ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 039ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 752ms
When Add transport by SKApi in "" assigned to "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 685ms
And Go to "TRANSPORT_TABLE" 5s 352ms
And Go to transport details "TRANSPORT_ORDER" 9s 725ms
Then Check if transport has warehouse "MGW" in step section "0" 048ms
After Hooks.deleteTransportAfterTest() 101ms