Project Number Date
ApolloFullRunnerReport apollo-test-2.1 17 Jul 2021, 02:42

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 49s 745ms 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" 036ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 246ms
When Add transport by SKApi in "MGW" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 217ms
And Go to "TRANSPORT_TABLE" 131ms
And Go to transport details "TRANSPORT_ORDER" 2s 461ms
Then Check are transport values equals 190ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5788099 wartość poprawna: 2389191 expected:<[2389191]> but was:<[5788099]>
	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 036ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 087ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 6s 388ms
And Go to "TRANSPORT_TABLE" 121ms
And Go to transport details "CONTAINER" 2s 373ms
Then Check are transport values equals 354ms
After Hooks.deleteTransportAfterTest() 10s 038ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 038ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 211ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 6s 453ms
And Go to "TRANSPORT_TABLE" 126ms
And Go to transport details "OWN_COLLECTION" 2s 394ms
Then Check are transport values equals 426ms
After Hooks.deleteTransportAfterTest() 10s 036ms
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" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 009ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 211ms
And Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "TRANSPORT_ORDER" 2s 403ms
Then Check are transport values equals 173ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 2389191 wartość poprawna: 2288010 expected:<2[288010]> but was:<2[389191]>
	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 038ms
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" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 102ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 203ms
And Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "CONTAINER" 2s 385ms
Then Check are transport values equals 230ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5434097 wartość poprawna: 7261027 expected:<[726102]7> but was:<[543409]7>
	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 037ms
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" 1s 097ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 209ms
And Go to "TRANSPORT_TABLE" 140ms
And Go to transport details "OWN_COLLECTION" 2s 401ms
Then Check are transport values equals 158ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 2443886 wartość poprawna: 9590693 expected:<[9590693]> but was:<[2443886]>
	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 037ms
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" 036ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 086ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 209ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 039ms
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 037ms
Before Hooks.showScenarioName(Scenario) 001ms
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" 1s 128ms
When Add transport by SKApi in "" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 233ms
And Go to "TRANSPORT_TABLE" 144ms
And Go to transport details "TRANSPORT_ORDER" 2s 382ms
Then Check if transport has warehouse "MGW" in step section "0" 028ms
After Hooks.deleteTransportAfterTest() 10s 038ms