Project Number Date
ApolloFullRunnerReport kapibary.28 05 cze 2021, 06:53

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 42s 904ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 915ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 109ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 304ms
And If user is login then logout 279ms
And Login as "paa1-carrier@qa.qa-test" 2s 676ms
Then Verify that the transport has been transferred with "true" 2s 377ms
After Hooks.deleteTransportAfterTest() 745ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 717ms
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" 21s 127ms
And If user is login then logout 308ms
And Login as "paa1-carrier@qa.qa-test" 2s 641ms
Then Verify that the transport has been transferred with "false" 2s 152ms
After Hooks.deleteTransportAfterTest() 632ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 874ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 046ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 657ms
And If user is login then logout 343ms
And Login as "pskza1-carrier@qa.qa-test" 2s 880ms
Then Verify that the transport has been transferred 4s 212ms
After Hooks.deleteTransportAfterTest() 810ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 922ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 205ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 186ms
And If user is login then logout 274ms
And Login as "pskza1-carrier@qa.qa-test" 2s 693ms
Then Verify that the transport has been transferred 4s 124ms
After Hooks.deleteTransportAfterTest() 729ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 894ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 464ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 805ms
And Go to auction offer 1s 648ms
When Offer "1000" 326ms
And Verify that offer with "1000" has been added to auction 3s 091ms
And If user is login then logout 257ms
And Login as "swisskrono-admin" 2s 749ms
Then Go to auction details 2s 202ms
And Pass transport to carrier from auction details 1s 759ms
And If user is login then logout 914ms
And Login as "pskza1-carrier@qa.qa-test" 2s 728ms
And Verify that the transport has been transferred 3s 702ms
After Hooks.deleteTransportAfterTest() 890ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 729ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 624ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 975ms
And Go to auction offer 1s 553ms
When Offer "1000" 362ms
And Verify that offer with "1000" has been added to auction 3s 082ms
And Wait till auction end 1m 52s 029ms
And If user is login then logout 526ms
Then Login as "swisskrono-admin" 2s 950ms
And Go to auction details 2s 589ms
And Pass transport to carrier from auction details 1s 535ms
And If user is login then logout 938ms
And Login as "pskza1-carrier@qa.qa-test" 2s 671ms
And Verify that the transport has been transferred 3s 972ms
After Hooks.deleteTransportAfterTest() 744ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 678ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 142ms
And Go to "TRANSPORT_TABLE" 473ms
When Open transport transfer modal 1s 717ms
Then Verify that all enabled companies from "swisskrono" are shown in select 289ms
After Hooks.deleteTransportAfterTest() 571ms
Given Set token of apiUsername "super-admin-adama" 287ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 653ms
And Login as "adama-admin" 2s 399ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 145ms
And Go to "TRANSPORT_TABLE" 405ms
When Open transport transfer modal 1s 676ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 237ms
After Hooks.deleteTransportAfterTest() 530ms
After Hooks.rollbackRejectedSections() 473ms
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 546ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 040ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 480ms
And If user is login then logout 313ms
When Login as "paa1-carrier@qa.qa-test" 4s 764ms
And Verify that the transport has been transferred with "true" 2s 387ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 101ms
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() 955ms