Project Number Date
ApolloFullRunnerReport kapibary.21 29 maj 2021, 07:27

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 912ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 589ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 105ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 329ms
And If user is login then logout 297ms
And Login as "paa1-carrier@qa.qa-test" 2s 632ms
Then Verify that the transport has been transferred with "true" 2s 328ms
After Hooks.deleteTransportAfterTest() 909ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 388ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 025ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 905ms
And If user is login then logout 271ms
And Login as "paa1-carrier@qa.qa-test" 2s 587ms
Then Verify that the transport has been transferred with "false" 2s 148ms
After Hooks.deleteTransportAfterTest() 781ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 676ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 099ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 233ms
And If user is login then logout 275ms
And Login as "pskza1-carrier@qa.qa-test" 2s 652ms
Then Verify that the transport has been transferred 3s 914ms
After Hooks.deleteTransportAfterTest() 845ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 614ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 981ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 211ms
And If user is login then logout 274ms
And Login as "pskza1-carrier@qa.qa-test" 2s 649ms
Then Verify that the transport has been transferred 3s 882ms
After Hooks.deleteTransportAfterTest() 927ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 611ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 256ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 928ms
And Go to auction offer 1s 588ms
When Offer "1000" 370ms
And Verify that offer with "1000" has been added to auction 3s 087ms
And If user is login then logout 269ms
And Login as "swisskrono-admin" 2s 603ms
Then Go to auction details 1s 765ms
And Pass transport to carrier from auction details 1s 568ms
And If user is login then logout 885ms
And Login as "pskza1-carrier@qa.qa-test" 2s 750ms
And Verify that the transport has been transferred 3s 855ms
After Hooks.deleteTransportAfterTest() 662ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 556ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 755ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 822ms
And Go to auction offer 1s 578ms
When Offer "1000" 361ms
And Verify that offer with "1000" has been added to auction 3s 077ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 290ms
Then Login as "swisskrono-admin" 3s 158ms
And Go to auction details 1s 857ms
And Pass transport to carrier from auction details 1s 502ms
And If user is login then logout 925ms
And Login as "pskza1-carrier@qa.qa-test" 2s 611ms
And Verify that the transport has been transferred 4s 333ms
After Hooks.deleteTransportAfterTest() 977ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 664ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 234ms
And Go to "TRANSPORT_TABLE" 483ms
When Open transport transfer modal 1s 726ms
Then Verify that all enabled companies from "swisskrono" are shown in select 296ms
After Hooks.deleteTransportAfterTest() 550ms
Given Set token of apiUsername "super-admin-adama" 262ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 649ms
And Login as "adama-admin" 2s 205ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 054ms
And Go to "TRANSPORT_TABLE" 396ms
When Open transport transfer modal 1s 699ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 250ms
After Hooks.deleteTransportAfterTest() 542ms
After Hooks.rollbackRejectedSections() 485ms
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 482ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 081ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 471ms
And If user is login then logout 264ms
When Login as "paa1-carrier@qa.qa-test" 4s 563ms
And Verify that the transport has been transferred with "true" 2s 576ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 086ms
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() 823ms