Project Number Date
ApolloFullRunnerReport kapibary.26 03 cze 2021, 05:25

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 43s 760ms Failed
Feature Transfer transport to carrier
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 090ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 338ms
And If user is login then logout 254ms
And Login as "paa1-carrier@qa.qa-test" 2s 733ms
Then Verify that the transport has been transferred with "true" 2s 269ms
After Hooks.deleteTransportAfterTest() 729ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 450ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 070ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 955ms
And If user is login then logout 309ms
And Login as "paa1-carrier@qa.qa-test" 2s 835ms
Then Verify that the transport has been transferred with "false" 2s 107ms
After Hooks.deleteTransportAfterTest() 549ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 712ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 089ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 164ms
And If user is login then logout 5s 708ms
And Login as "pskza1-carrier@qa.qa-test" 2s 587ms
Then Verify that the transport has been transferred 4s 059ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 654ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 099ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 114ms
And If user is login then logout 270ms
And Login as "pskza1-carrier@qa.qa-test" 2s 669ms
Then Verify that the transport has been transferred 3s 940ms
After Hooks.deleteTransportAfterTest() 761ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 536ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 646ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 863ms
And Go to auction offer 1s 528ms
When Offer "1000" 344ms
And Verify that offer with "1000" has been added to auction 3s 081ms
And If user is login then logout 261ms
And Login as "swisskrono-admin" 2s 573ms
Then Go to auction details 1s 775ms
And Pass transport to carrier from auction details 1s 566ms
And If user is login then logout 931ms
And Login as "pskza1-carrier@qa.qa-test" 2s 709ms
And Verify that the transport has been transferred 3s 870ms
After Hooks.deleteTransportAfterTest() 33s 847ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 822ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 420ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 974ms
And Go to auction offer 1s 542ms
When Offer "1000" 366ms
And Verify that offer with "1000" has been added to auction 3s 082ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 245ms
Then Login as "swisskrono-admin" 2s 795ms
And Go to auction details 2s 161ms
And Pass transport to carrier from auction details 1s 502ms
And If user is login then logout 876ms
And Login as "pskza1-carrier@qa.qa-test" 2s 374ms
And Verify that the transport has been transferred 4s 012ms
After Hooks.deleteTransportAfterTest() 758ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 642ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 129ms
And Go to "TRANSPORT_TABLE" 486ms
When Open transport transfer modal 1s 659ms
Then Verify that all enabled companies from "swisskrono" are shown in select 295ms
After Hooks.deleteTransportAfterTest() 557ms
Given Set token of apiUsername "super-admin-adama" 269ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 656ms
And Login as "adama-admin" 2s 234ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 074ms
And Go to "TRANSPORT_TABLE" 421ms
When Open transport transfer modal 1s 667ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 248ms
After Hooks.deleteTransportAfterTest() 552ms
After Hooks.rollbackRejectedSections() 480ms
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 621ms
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 346ms
And If user is login then logout 262ms
When Login as "paa1-carrier@qa.qa-test" 4s 046ms
And Verify that the transport has been transferred with "true" 2s 567ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 095ms
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() 886ms