Project Number Date
ApolloFullRunnerReport 2021.AT1.2 18 Jul 2021, 02:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
SK API - Creation of the Transport 47 6 2 0 0 55 2 6 8 10m 39s 971ms 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" 2s 568ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 8s 299ms
And Go to "TRANSPORT_TABLE" 5s 265ms
And Go to transport details "TRANSPORT_ORDER" 9s 944ms
Then Check are transport values equals 435ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4529621 wartość poprawna: 7656244 expected:<[7656244]> but was:<[4529621]>
	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 025ms
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" 037ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 181ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "CONTAINER" created in transport table and set transport id 31s 681ms
And Go to "TRANSPORT_TABLE" 10s 089ms
And Go to transport details "CONTAINER" 24s 236ms
Then Check are transport values equals 24s 587ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 10361410 wartość poprawna: 4174260 expected:<[417426]0> but was:<[1036141]0>
	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 031ms
Scenario Outline Check if it possible to create new transport by SKApi
Before Hooks.showScenarioName(Scenario) 000ms
Steps
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" 3s 822ms
When Add transport by SKApi in "MGW" 002ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 31s 184ms
And Go to "TRANSPORT_TABLE" 18s 303ms
And Go to transport details "OWN_COLLECTION" 42s 476ms
Then Check are transport values equals 57s 598ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4812984 wartość poprawna: 2637827 expected:<[2637827]> but was:<[4812984]>
	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 028ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 5s 773ms
When Add transport by SKApi in "HRL" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 8s 532ms
And Go to "TRANSPORT_TABLE" 5s 683ms
And Go to transport details "TRANSPORT_ORDER" 10s 604ms
Then Check are transport values equals 683ms
org.junit.ComparisonFailure: Wartości w formularzu w polu erp-identifier są niepoprawne, wartość na stronie: 4529621 wartość poprawna: 1403684 expected:<[1403684]> but was:<[4529621]>
	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 027ms
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" 037ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 507ms
When Add transport by SKApi in "HRL" 007ms
Then Check is transport "CONTAINER" created in transport table and set transport id 30s 904ms
And Go to "TRANSPORT_TABLE" 10s 263ms
And Go to transport details "CONTAINER" 37s 097ms
java.lang.AssertionError: Nie pojawił się otwarty formularz transportu
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.openTransportForm(TransportFormPage.java:170)
	at CucumberTests.Transport.CreateTransport.openTransportForm(CreateTransport.java:229)
	at CucumberTests.Transport.CreateTransport.goToTransportDetails(CreateTransport.java:222)
	at ✽.Go to transport details "CONTAINER"(file:Features/Atom/SK_API/SkApiTransport.feature:10)
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 10s 032ms
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" 039ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 3s 442ms
When Add transport by SKApi in "HRL" 001ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 23s 103ms
And Go to "TRANSPORT_TABLE" 19s 680ms
And Go to transport details "OWN_COLLECTION" 50s 828ms
java.lang.AssertionError: Nie pojawił się otwarty formularz transportu
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.openTransportForm(TransportFormPage.java:170)
	at CucumberTests.Transport.CreateTransport.openTransportForm(CreateTransport.java:229)
	at CucumberTests.Transport.CreateTransport.goToTransportDetails(CreateTransport.java:222)
	at ✽.Go to transport details "OWN_COLLECTION"(file:Features/Atom/SK_API/SkApiTransport.feature:10)
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 10s 032ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 039ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 4s 636ms
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 7s 304ms
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 962ms
After Hooks.deleteTransportAfterTest() 10s 026ms
Before Hooks.showScenarioName(Scenario) 000ms
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 070ms
When Add transport by SKApi in "" 002ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 336ms
And Go to "TRANSPORT_TABLE" 4s 817ms
And Go to transport details "TRANSPORT_ORDER" 10s 670ms
Then Check if transport has warehouse "MGW" in step section "0" 057ms
After Hooks.deleteTransportAfterTest() 10s 026ms