Project Number Date
ApolloFullRunnerReport 2021.AT1.5 20 Jul 2021, 02:53

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 50s 331ms 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" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 155ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 223ms
And Go to "TRANSPORT_TABLE" 170ms
And Go to transport details "TRANSPORT_ORDER" 2s 430ms
Then Check are transport values equals 193ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4150402 wartość poprawna: 8867573 expected:<[8867573]> but was:<[4150402]>
	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
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 137ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 6s 902ms
And Go to "TRANSPORT_TABLE" 121ms
And Go to transport details "CONTAINER" 2s 390ms
Then Check are transport values equals 326ms
After Hooks.deleteTransportAfterTest() 10s 034ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 281ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 6s 443ms
And Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "OWN_COLLECTION" 2s 375ms
Then Check are transport values equals 417ms
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" 038ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 184ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 228ms
And Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "TRANSPORT_ORDER" 2s 413ms
Then Check are transport values equals 163ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 8867573 wartość poprawna: 6825895 expected:<[6825895]> but was:<[8867573]>
	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
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 109ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 220ms
And Go to "TRANSPORT_TABLE" 124ms
And Go to transport details "CONTAINER" 2s 380ms
Then Check are transport values equals 205ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 6166217 wartość poprawna: 2850351 expected:<[2850351]> but was:<[6166217]>
	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_OWN_COLLECTION" "super-admin-skz" 036ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 068ms
When Add transport by SKApi in "HRL" 001ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 212ms
And Go to "TRANSPORT_TABLE" 122ms
And Go to transport details "OWN_COLLECTION" 2s 388ms
Then Check are transport values equals 144ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4280768 wartość poprawna: 6170433 expected:<[6170433]> but was:<[4280768]>
	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 116ms
And Set another client name "Pepsi" 000ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 186ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 033ms
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 034ms
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 048ms
When Add transport by SKApi in "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 260ms
And Go to "TRANSPORT_TABLE" 127ms
And Go to transport details "TRANSPORT_ORDER" 2s 400ms
Then Check if transport has warehouse "MGW" in step section "0" 024ms
After Hooks.deleteTransportAfterTest() 10s 035ms