Project Number Date
ApolloFullRunnerReport kapibary.27 04 cze 2021, 06:23

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 7m 38s 357ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 473ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 014ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 333ms
And If user is login then logout 266ms
And Login as "paa1-carrier@qa.qa-test" 2s 781ms
Then Verify that the transport has been transferred with "true" 2s 235ms
After Hooks.deleteTransportAfterTest() 800ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 478ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 090ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 21s 105ms
And If user is login then logout 251ms
And Login as "paa1-carrier@qa.qa-test" 2s 530ms
Then Verify that the transport has been transferred with "false" 2s 482ms
After Hooks.deleteTransportAfterTest() 508ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 507ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 082ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 304ms
And If user is login then logout 283ms
And Login as "pskza1-carrier@qa.qa-test" 2s 721ms
Then Verify that the transport has been transferred 3s 970ms
After Hooks.deleteTransportAfterTest() 823ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 606ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 100ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 250ms
And If user is login then logout 239ms
And Login as "pskza1-carrier@qa.qa-test" 2s 573ms
Then Verify that the transport has been transferred 4s 212ms
After Hooks.deleteTransportAfterTest() 900ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 702ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 374ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 839ms
And Go to auction offer 1s 590ms
When Offer "1000" 355ms
And Verify that offer with "1000" has been added to auction 3s 088ms
And If user is login then logout 269ms
And Login as "swisskrono-admin" 2s 600ms
Then Go to auction details 2s 178ms
And Pass transport to carrier from auction details 1s 515ms
And If user is login then logout 1s 171ms
And Login as "pskza1-carrier@qa.qa-test" 2s 384ms
And Verify that the transport has been transferred 3s 740ms
After Hooks.deleteTransportAfterTest() 771ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 592ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 529ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 839ms
And Go to auction offer 1s 602ms
When Offer "1000" 359ms
And Verify that offer with "1000" has been added to auction 3s 096ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 309ms
Then Login as "swisskrono-admin" 2s 792ms
And Go to auction details 2s 166ms
And Pass transport to carrier from auction details 1s 469ms
And If user is login then logout 920ms
And Login as "pskza1-carrier@qa.qa-test" 2s 554ms
And Verify that the transport has been transferred 4s 045ms
After Hooks.deleteTransportAfterTest() 852ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 531ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 977ms
And Go to "TRANSPORT_TABLE" 421ms
When Open transport transfer modal 1s 584ms
Then Verify that all enabled companies from "swisskrono" are shown in select 258ms
After Hooks.deleteTransportAfterTest() 533ms
Given Set token of apiUsername "super-admin-adama" 279ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 616ms
And Login as "adama-admin" 2s 139ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 111ms
And Go to "TRANSPORT_TABLE" 432ms
When Open transport transfer modal 1s 671ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 235ms
After Hooks.deleteTransportAfterTest() 510ms
After Hooks.rollbackRejectedSections() 455ms
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" 2s 523ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 086ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 354ms
And If user is login then logout 293ms
When Login as "paa1-carrier@qa.qa-test" 4s 513ms
And Verify that the transport has been transferred with "true" 2s 227ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 096ms
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() 902ms