Project Number Date
ApolloFullRunnerReport kapibary.30 07 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 8m 28s 345ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 695ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 065ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 251ms
And If user is login then logout 276ms
And Login as "paa1-carrier@qa.qa-test" 2s 569ms
Then Verify that the transport has been transferred with "true" 2s 347ms
After Hooks.deleteTransportAfterTest() 858ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 459ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 089ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 991ms
And If user is login then logout 314ms
And Login as "paa1-carrier@qa.qa-test" 2s 701ms
Then Verify that the transport has been transferred with "false" 2s 169ms
After Hooks.deleteTransportAfterTest() 564ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 775ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 135ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 324ms
And If user is login then logout 290ms
And Login as "pskza1-carrier@qa.qa-test" 2s 754ms
Then Verify that the transport has been transferred 3s 983ms
After Hooks.deleteTransportAfterTest() 807ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 740ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 107ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 229ms
And If user is login then logout 270ms
And Login as "pskza1-carrier@qa.qa-test" 2s 718ms
Then Verify that the transport has been transferred 4s 301ms
After Hooks.deleteTransportAfterTest() 738ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 776ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 315ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 892ms
And Go to auction offer 1s 593ms
When Offer "1000" 368ms
And Verify that offer with "1000" has been added to auction 3s 078ms
And If user is login then logout 246ms
And Login as "swisskrono-admin" 2s 553ms
Then Go to auction details 2s 167ms
And Pass transport to carrier from auction details 1s 504ms
And If user is login then logout 900ms
And Login as "pskza1-carrier@qa.qa-test" 2s 730ms
And Verify that the transport has been transferred 3s 740ms
After Hooks.deleteTransportAfterTest() 739ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 658ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 321ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 851ms
And Go to auction offer 1s 592ms
When Offer "1000" 357ms
And Verify that offer with "1000" has been added to auction 3s 078ms
And Wait till auction end 1m 53s 018ms
And If user is login then logout 283ms
Then Login as "swisskrono-admin" 2s 911ms
And Go to auction details 2s 183ms
And Pass transport to carrier from auction details 1s 487ms
And If user is login then logout 873ms
And Login as "pskza1-carrier@qa.qa-test" 2s 684ms
And Verify that the transport has been transferred 4s 142ms
After Hooks.deleteTransportAfterTest() 764ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 677ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 138ms
And Go to "TRANSPORT_TABLE" 471ms
When Open transport transfer modal 1s 652ms
Then Verify that all enabled companies from "swisskrono" are shown in select 284ms
After Hooks.deleteTransportAfterTest() 579ms
Given Set token of apiUsername "super-admin-adama" 325ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 650ms
And Login as "adama-admin" 2s 181ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 50s 131ms
And Go to "TRANSPORT_TABLE" 425ms
When Open transport transfer modal 1s 701ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 261ms
After Hooks.deleteTransportAfterTest() 628ms
After Hooks.rollbackRejectedSections() 1s 555ms
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 736ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 090ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 484ms
And If user is login then logout 277ms
When Login as "paa1-carrier@qa.qa-test" 4s 467ms
And Verify that the transport has been transferred with "true" 2s 414ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 094ms
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() 920ms