Project Number Date
ApolloFullRunnerReport develop.432 22 maj 2021, 09:24

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 53s 488ms Failed
Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 004ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 298ms
When Add transport by SKApi in "MGW" 003ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 233ms
And Go to "TRANSPORT_TABLE" 148ms
And Go to transport details "TRANSPORT_ORDER" 4s 438ms
Then Check are transport values equals 215ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 2432911 wartość poprawna: 5141751 expected:<[514175]1> but was:<[243291]1>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 123ms
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 003ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 272ms
When Add transport by SKApi in "MGW" 003ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 224ms
And Go to "TRANSPORT_TABLE" 125ms
And Go to transport details "CONTAINER" 4s 459ms
Then Check are transport values equals 215ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 9056350 wartość poprawna: 7282544 expected:<[7282544]> but was:<[9056350]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 088ms
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 003ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 185ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 186ms
And Go to "TRANSPORT_TABLE" 125ms
And Go to transport details "OWN_COLLECTION" 4s 424ms
Then Check are transport values equals 184ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10150789 wartość poprawna: 8319844 expected:<[8319844]> but was:<[10150789]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 096ms
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 003ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 090ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 282ms
And Go to "TRANSPORT_TABLE" 121ms
And Go to transport details "TRANSPORT_ORDER" 4s 421ms
Then Check are transport values equals 201ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 9959277 wartość poprawna: 3944583 expected:<[3944583]> but was:<[9959277]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 106ms
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 003ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 180ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 177ms
And Go to "TRANSPORT_TABLE" 143ms
And Go to transport details "CONTAINER" 4s 483ms
Then Check are transport values equals 266ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 6810706 wartość poprawna: 8941308 expected:<[8941308]> but was:<[6810706]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 103ms
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 003ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 184ms
When Add transport by SKApi in "HRL" 003ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 164ms
And Go to "TRANSPORT_TABLE" 140ms
And Go to transport details "OWN_COLLECTION" 4s 458ms
Then Check are transport values equals 182ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 3306100 wartość poprawna: 2930715 expected:<[2930715]> but was:<[3306100]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Atom/SK_API/SkApiTransport.feature:11)
After Hooks.deleteTransportAfterTest() 100ms
Scenario Outline Check if it possible to create new transport by SKApi with specific client name
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 003ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 144ms
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 147ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 038ms
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:236)
	at ✽.Check client name in database "Pepsi" "TRANSPORT_ORDER"(file:Features/Atom/SK_API/SkApiTransport.feature:28)
After Hooks.deleteTransportAfterTest() 093ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 002ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 1s 183ms
When Add transport by SKApi in "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 119ms
And Go to "TRANSPORT_TABLE" 131ms
And Go to transport details "TRANSPORT_ORDER" 4s 398ms
Then Check if transport has warehouse "MGW" in step section "0" 038ms
After Hooks.deleteTransportAfterTest() 099ms