Project Number Date
ApolloFullRunnerReport kapibary.24 01 cze 2021, 07: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 39s 569ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 669ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 088ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 241ms
And If user is login then logout 261ms
And Login as "paa1-carrier@qa.qa-test" 2s 709ms
Then Verify that the transport has been transferred with "true" 2s 548ms
After Hooks.deleteTransportAfterTest() 766ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 614ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 055ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 909ms
And If user is login then logout 282ms
And Login as "paa1-carrier@qa.qa-test" 2s 623ms
Then Verify that the transport has been transferred with "false" 2s 117ms
After Hooks.deleteTransportAfterTest() 568ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 760ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 096ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 056ms
And If user is login then logout 266ms
And Login as "pskza1-carrier@qa.qa-test" 2s 708ms
Then Verify that the transport has been transferred 4s 107ms
After Hooks.deleteTransportAfterTest() 827ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 744ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 118ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 211ms
And If user is login then logout 273ms
And Login as "pskza1-carrier@qa.qa-test" 2s 623ms
Then Verify that the transport has been transferred 3s 916ms
After Hooks.deleteTransportAfterTest() 702ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 557ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 432ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 877ms
And Go to auction offer 1s 570ms
When Offer "1000" 371ms
And Verify that offer with "1000" has been added to auction 3s 088ms
And If user is login then logout 233ms
And Login as "swisskrono-admin" 2s 664ms
Then Go to auction details 2s 213ms
And Pass transport to carrier from auction details 1s 509ms
And If user is login then logout 951ms
And Login as "pskza1-carrier@qa.qa-test" 2s 917ms
And Verify that the transport has been transferred 3s 894ms
After Hooks.deleteTransportAfterTest() 812ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 677ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 427ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 902ms
And Go to auction offer 1s 559ms
When Offer "1000" 338ms
And Verify that offer with "1000" has been added to auction 3s 088ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 281ms
Then Login as "swisskrono-admin" 3s 064ms
And Go to auction details 2s 200ms
And Pass transport to carrier from auction details 1s 617ms
And If user is login then logout 885ms
And Login as "pskza1-carrier@qa.qa-test" 2s 724ms
And Verify that the transport has been transferred 3s 784ms
After Hooks.deleteTransportAfterTest() 851ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 651ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 095ms
And Go to "TRANSPORT_TABLE" 495ms
When Open transport transfer modal 1s 706ms
Then Verify that all enabled companies from "swisskrono" are shown in select 291ms
After Hooks.deleteTransportAfterTest() 559ms
Given Set token of apiUsername "super-admin-adama" 337ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 678ms
And Login as "adama-admin" 2s 249ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 956ms
And Go to "TRANSPORT_TABLE" 315ms
When Open transport transfer modal 1s 550ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 207ms
After Hooks.deleteTransportAfterTest() 528ms
After Hooks.rollbackRejectedSections() 491ms
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 380ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 050ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 398ms
And If user is login then logout 285ms
When Login as "paa1-carrier@qa.qa-test" 4s 421ms
And Verify that the transport has been transferred with "true" 2s 541ms
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() 817ms