Project Number Date
ApolloFullRunnerReport kapibary.19 27 maj 2021, 08:37

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 917ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 694ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 035ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 327ms
And If user is login then logout 269ms
And Login as "paa1-carrier@qa.qa-test" 2s 649ms
Then Verify that the transport has been transferred with "true" 2s 415ms
After Hooks.deleteTransportAfterTest() 698ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 395ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 046ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 21s 004ms
And If user is login then logout 225ms
And Login as "paa1-carrier@qa.qa-test" 2s 688ms
Then Verify that the transport has been transferred with "false" 2s 117ms
After Hooks.deleteTransportAfterTest() 656ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 773ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 115ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 218ms
And If user is login then logout 262ms
And Login as "pskza1-carrier@qa.qa-test" 2s 721ms
Then Verify that the transport has been transferred 4s 194ms
After Hooks.deleteTransportAfterTest() 727ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 669ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 128ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 133ms
And If user is login then logout 276ms
And Login as "pskza1-carrier@qa.qa-test" 2s 732ms
Then Verify that the transport has been transferred 3s 994ms
After Hooks.deleteTransportAfterTest() 741ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 733ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 320ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 829ms
And Go to auction offer 1s 564ms
When Offer "1000" 356ms
And Verify that offer with "1000" has been added to auction 3s 078ms
And If user is login then logout 270ms
And Login as "swisskrono-admin" 2s 596ms
Then Go to auction details 1s 786ms
And Pass transport to carrier from auction details 1s 534ms
And If user is login then logout 942ms
And Login as "pskza1-carrier@qa.qa-test" 2s 502ms
And Verify that the transport has been transferred 3s 852ms
After Hooks.deleteTransportAfterTest() 730ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 711ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 448ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 801ms
And Go to auction offer 1s 598ms
When Offer "1000" 405ms
And Verify that offer with "1000" has been added to auction 3s 081ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 312ms
Then Login as "swisskrono-admin" 2s 858ms
And Go to auction details 2s 300ms
And Pass transport to carrier from auction details 1s 486ms
And If user is login then logout 929ms
And Login as "pskza1-carrier@qa.qa-test" 2s 692ms
And Verify that the transport has been transferred 3s 775ms
After Hooks.deleteTransportAfterTest() 756ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 692ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 088ms
And Go to "TRANSPORT_TABLE" 453ms
When Open transport transfer modal 1s 651ms
Then Verify that all enabled companies from "swisskrono" are shown in select 304ms
After Hooks.deleteTransportAfterTest() 560ms
Given Set token of apiUsername "super-admin-adama" 266ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 655ms
And Login as "adama-admin" 2s 252ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 065ms
And Go to "TRANSPORT_TABLE" 378ms
When Open transport transfer modal 1s 662ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 241ms
After Hooks.deleteTransportAfterTest() 544ms
After Hooks.rollbackRejectedSections() 478ms
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 485ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 037ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 456ms
And If user is login then logout 267ms
When Login as "paa1-carrier@qa.qa-test" 4s 607ms
And Verify that the transport has been transferred with "true" 2s 388ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 082ms
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() 914ms