Project Number Date
ApolloFullRunnerReport kapibary.25 02 cze 2021, 07:26

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 41s 117ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 686ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 002ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 121ms
And If user is login then logout 265ms
And Login as "paa1-carrier@qa.qa-test" 2s 750ms
Then Verify that the transport has been transferred with "true" 2s 510ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 617ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 083ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 959ms
And If user is login then logout 316ms
And Login as "paa1-carrier@qa.qa-test" 2s 546ms
Then Verify that the transport has been transferred with "false" 2s 442ms
After Hooks.deleteTransportAfterTest() 587ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 598ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 017ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 154ms
And If user is login then logout 264ms
And Login as "pskza1-carrier@qa.qa-test" 2s 797ms
Then Verify that the transport has been transferred 4s 361ms
After Hooks.deleteTransportAfterTest() 845ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 725ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 079ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 150ms
And If user is login then logout 255ms
And Login as "pskza1-carrier@qa.qa-test" 2s 592ms
Then Verify that the transport has been transferred 4s 321ms
After Hooks.deleteTransportAfterTest() 768ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 903ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 544ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 973ms
And Go to auction offer 1s 587ms
When Offer "1000" 411ms
And Verify that offer with "1000" has been added to auction 3s 084ms
And If user is login then logout 247ms
And Login as "swisskrono-admin" 2s 729ms
Then Go to auction details 2s 170ms
And Pass transport to carrier from auction details 1s 527ms
And If user is login then logout 974ms
And Login as "pskza1-carrier@qa.qa-test" 2s 802ms
And Verify that the transport has been transferred 4s 034ms
After Hooks.deleteTransportAfterTest() 789ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 661ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 322ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 850ms
And Go to auction offer 1s 594ms
When Offer "1000" 394ms
And Verify that offer with "1000" has been added to auction 3s 082ms
And Wait till auction end 1m 53s 013ms
And If user is login then logout 278ms
Then Login as "swisskrono-admin" 2s 907ms
And Go to auction details 2s 196ms
And Pass transport to carrier from auction details 1s 835ms
And If user is login then logout 899ms
And Login as "pskza1-carrier@qa.qa-test" 2s 387ms
And Verify that the transport has been transferred 3s 866ms
After Hooks.deleteTransportAfterTest() 765ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 512ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 006ms
And Go to "TRANSPORT_TABLE" 446ms
When Open transport transfer modal 1s 585ms
Then Verify that all enabled companies from "swisskrono" are shown in select 297ms
After Hooks.deleteTransportAfterTest() 571ms
Given Set token of apiUsername "super-admin-adama" 434ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 680ms
And Login as "adama-admin" 2s 286ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 115ms
And Go to "TRANSPORT_TABLE" 358ms
When Open transport transfer modal 1s 632ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 231ms
After Hooks.deleteTransportAfterTest() 526ms
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 508ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 089ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 409ms
And If user is login then logout 282ms
When Login as "paa1-carrier@qa.qa-test" 4s 697ms
And Verify that the transport has been transferred with "true" 2s 538ms
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() 926ms