Project Number Date
ApolloFullRunnerReport apollo-test-2.87 20 lip 2021, 04:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK API - Creation of the Transport 51 4 0 0 0 55 4 4 8 1m 26s 066ms Failed
Feature SK API - Creation of the Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 020ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 787ms
When Add transport by SKApi in "MGW" 023ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 613ms
And Go to "TRANSPORT_TABLE" 413ms
And Go to transport details "TRANSPORT_ORDER" 2s 804ms
Then Check are transport values equals 1s 302ms
After Hooks.deleteTransportAfterTest() 10s 099ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 023ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 726ms
When Add transport by SKApi in "MGW" 018ms
Then Check is transport "CONTAINER" created in transport table and set transport id 7s 717ms
And Go to "TRANSPORT_TABLE" 389ms
And Go to transport details "CONTAINER" 2s 853ms
Then Check are transport values equals 1s 248ms
After Hooks.deleteTransportAfterTest() 10s 193ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 021ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 744ms
When Add transport by SKApi in "MGW" 023ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 10s 264ms
And Go to "TRANSPORT_TABLE" 360ms
And Go to transport details "OWN_COLLECTION" 2s 799ms
Then Check are transport values equals 1s 286ms
After Hooks.deleteTransportAfterTest() 10s 114ms
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" 023ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 9s 920ms
When Add transport by SKApi in "HRL" 019ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 406ms
And Go to "TRANSPORT_TABLE" 424ms
And Go to transport details "TRANSPORT_ORDER" 2s 895ms
Then Check are transport values equals 637ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4746086 wartość poprawna: 9662008 expected:<[9662008]> but was:<[4746086]>
	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 087ms
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 717ms
When Add transport by SKApi in "HRL" 026ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1s 717ms
And Go to "TRANSPORT_TABLE" 445ms
And Go to transport details "CONTAINER" 2s 764ms
Then Check are transport values equals 923ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 9241277 wartość poprawna: 4874894 expected:<[4874894]> but was:<[9241277]>
	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 090ms
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" 022ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 658ms
When Add transport by SKApi in "HRL" 019ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1s 840ms
And Go to "TRANSPORT_TABLE" 411ms
And Go to transport details "OWN_COLLECTION" 2s 773ms
Then Check are transport values equals 716ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 5911466 wartość poprawna: 3149712 expected:<[3149712]> but was:<[5911466]>
	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 with specific client name
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 019ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 813ms
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 755ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 152ms
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 082ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 020ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 594ms
When Add transport by SKApi in "" 022ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1s 389ms
And Go to "TRANSPORT_TABLE" 456ms
And Go to transport details "TRANSPORT_ORDER" 2s 841ms
Then Check if transport has warehouse "MGW" in step section "0" 145ms
After Hooks.deleteTransportAfterTest() 10s 193ms