Project Number Date
ApolloFullRunnerReport kapibary.20 28 maj 2021, 07:28

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 448ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 629ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 065ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 283ms
And If user is login then logout 275ms
And Login as "paa1-carrier@qa.qa-test" 2s 744ms
Then Verify that the transport has been transferred with "true" 2s 253ms
After Hooks.deleteTransportAfterTest() 835ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 507ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 043ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 998ms
And If user is login then logout 301ms
And Login as "paa1-carrier@qa.qa-test" 2s 632ms
Then Verify that the transport has been transferred with "false" 2s 225ms
After Hooks.deleteTransportAfterTest() 587ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 769ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 109ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 116ms
And If user is login then logout 275ms
And Login as "pskza1-carrier@qa.qa-test" 2s 739ms
Then Verify that the transport has been transferred 3s 960ms
After Hooks.deleteTransportAfterTest() 726ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 667ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 158ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 264ms
And If user is login then logout 264ms
And Login as "pskza1-carrier@qa.qa-test" 2s 650ms
Then Verify that the transport has been transferred 4s 057ms
After Hooks.deleteTransportAfterTest() 739ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 497ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 340ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 907ms
And Go to auction offer 1s 589ms
When Offer "1000" 360ms
And Verify that offer with "1000" has been added to auction 3s 080ms
And If user is login then logout 232ms
And Login as "swisskrono-admin" 2s 840ms
Then Go to auction details 2s 204ms
And Pass transport to carrier from auction details 1s 515ms
And If user is login then logout 1s 276ms
And Login as "pskza1-carrier@qa.qa-test" 2s 464ms
And Verify that the transport has been transferred 3s 868ms
After Hooks.deleteTransportAfterTest() 819ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 691ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 406ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 858ms
And Go to auction offer 1s 666ms
When Offer "1000" 391ms
And Verify that offer with "1000" has been added to auction 3s 093ms
And Wait till auction end 1m 52s 014ms
And If user is login then logout 309ms
Then Login as "swisskrono-admin" 2s 964ms
And Go to auction details 2s 160ms
And Pass transport to carrier from auction details 1s 495ms
And If user is login then logout 877ms
And Login as "pskza1-carrier@qa.qa-test" 2s 501ms
And Verify that the transport has been transferred 3s 980ms
After Hooks.deleteTransportAfterTest() 768ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 613ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 143ms
And Go to "TRANSPORT_TABLE" 482ms
When Open transport transfer modal 1s 674ms
Then Verify that all enabled companies from "swisskrono" are shown in select 314ms
After Hooks.deleteTransportAfterTest() 540ms
Given Set token of apiUsername "super-admin-adama" 249ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 664ms
And Login as "adama-admin" 2s 286ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 029ms
And Go to "TRANSPORT_TABLE" 338ms
When Open transport transfer modal 1s 647ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 245ms
After Hooks.deleteTransportAfterTest() 550ms
After Hooks.rollbackRejectedSections() 475ms
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 479ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 039ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 434ms
And If user is login then logout 273ms
When Login as "paa1-carrier@qa.qa-test" 4s 551ms
And Verify that the transport has been transferred with "true" 2s 293ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 097ms
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() 969ms