Project Number Date
ApolloFullRunnerReport develop.386 19 kwi 2021, 22:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transfer transport to carrier 70 1 0 0 0 71 8 1 9 6m 37s 866ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 292ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 212ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 113ms
And If user is login then logout 105ms
And Login as "paa1-carrier@qa.qa-test" 1s 243ms
Then Verify that the transport has been transferred with "true" 1s 159ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 239ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 264ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 149ms
And If user is login then logout 100ms
And Login as "paa1-carrier@qa.qa-test" 1s 228ms
Then Verify that the transport has been transferred with "false" 1s 208ms
After Hooks.deleteTransportAfterTest() 077ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 154ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 220ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 087ms
And If user is login then logout 101ms
And Login as "pskza1-carrier@qa.qa-test" 1s 171ms
Then Verify that the transport has been transferred 1s 118ms
After Hooks.deleteTransportAfterTest() 097ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 226ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 200ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 093ms
And If user is login then logout 325ms
And Login as "pskza1-carrier@qa.qa-test" 1s 061ms
Then Verify that the transport has been transferred 1s 135ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 050ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 210ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 114ms
And Go to auction offer 1s 184ms
When Offer "1000" 111ms
And Verify that offer with "1000" has been added to auction 3s 033ms
And If user is login then logout 080ms
And Login as "swisskrono-admin" 1s 357ms
Then Go to auction details 1s 172ms
And Pass transport to carrier from auction details 1s 117ms
And If user is login then logout 732ms
And Login as "pskza1-carrier@qa.qa-test" 1s 064ms
And Verify that the transport has been transferred 1s 130ms
After Hooks.deleteTransportAfterTest() 084ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 111ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 195ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 093ms
And Go to auction offer 1s 189ms
When Offer "1000" 202ms
And Verify that offer with "1000" has been added to auction 3s 035ms
And Wait till auction end 1m 54s 014ms
And If user is login then logout 112ms
Then Login as "swisskrono-admin" 1s 342ms
And Go to auction details 1s 182ms
And Pass transport to carrier from auction details 1s 246ms
And If user is login then logout 854ms
And Login as "pskza1-carrier@qa.qa-test" 1s 134ms
And Verify that the transport has been transferred 1s 114ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 156ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 240ms
And Go to "TRANSPORT_TABLE" 104ms
When Open transport transfer modal 1s 199ms
Then Verify that all enabled companies from "swisskrono" are shown in select 118ms
After Hooks.deleteTransportAfterTest() 103ms
Given Set token of apiUsername "super-admin-adama" 132ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 898ms
And Login as "adama-admin" 905ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 225ms
And Go to "TRANSPORT_TABLE" 120ms
When Open transport transfer modal 1s 229ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 091ms
After Hooks.deleteTransportAfterTest() 071ms
After Hooks.rollbackRejectedSections() 113ms
Scenario Outline Check if transport is not visible to carrier after expiring of time to accept transport [A-7037]
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 061ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 224ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 293ms
And If user is login then logout 108ms
When Login as "paa1-carrier@qa.qa-test" 3s 092ms
And Verify that the transport has been transferred with "true" 1s 216ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 040ms
java.lang.AssertionError: Transport jest nadal widoczny dla przewoźnika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.TransferTransportTest.verifyIfTransportIsNotVisibleToCarrierAfterExpiringTimeToAcceptTransport(TransferTransportTest.java:98)
	at ✽.Verify if transport is not visible to carrier after expiring time to accept transport(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:107)
After Hooks.deleteTransportAfterTest() 138ms