Project Number Date
ApolloFullRunnerReport kapibary.29 06 cze 2021, 06:06

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 41s 531ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 727ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 099ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 194ms
And If user is login then logout 277ms
And Login as "paa1-carrier@qa.qa-test" 2s 578ms
Then Verify that the transport has been transferred with "true" 2s 345ms
After Hooks.deleteTransportAfterTest() 774ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 549ms
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" 21s 087ms
And If user is login then logout 282ms
And Login as "paa1-carrier@qa.qa-test" 2s 682ms
Then Verify that the transport has been transferred with "false" 2s 343ms
After Hooks.deleteTransportAfterTest() 583ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 694ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 145ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 388ms
And If user is login then logout 287ms
And Login as "pskza1-carrier@qa.qa-test" 2s 849ms
Then Verify that the transport has been transferred 4s 221ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 950ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 119ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 257ms
And If user is login then logout 257ms
And Login as "pskza1-carrier@qa.qa-test" 2s 933ms
Then Verify that the transport has been transferred 4s 042ms
After Hooks.deleteTransportAfterTest() 762ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 637ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 281ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 862ms
And Go to auction offer 1s 561ms
When Offer "1000" 355ms
And Verify that offer with "1000" has been added to auction 3s 078ms
And If user is login then logout 256ms
And Login as "swisskrono-admin" 2s 577ms
Then Go to auction details 1s 766ms
And Pass transport to carrier from auction details 1s 554ms
And If user is login then logout 872ms
And Login as "pskza1-carrier@qa.qa-test" 2s 424ms
And Verify that the transport has been transferred 4s 125ms
After Hooks.deleteTransportAfterTest() 789ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 673ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 650ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 842ms
And Go to auction offer 1s 590ms
When Offer "1000" 346ms
And Verify that offer with "1000" has been added to auction 3s 079ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 281ms
Then Login as "swisskrono-admin" 2s 867ms
And Go to auction details 2s 182ms
And Pass transport to carrier from auction details 1s 496ms
And If user is login then logout 915ms
And Login as "pskza1-carrier@qa.qa-test" 2s 659ms
And Verify that the transport has been transferred 4s 125ms
After Hooks.deleteTransportAfterTest() 771ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 195ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 161ms
And Go to "TRANSPORT_TABLE" 451ms
When Open transport transfer modal 1s 671ms
Then Verify that all enabled companies from "swisskrono" are shown in select 300ms
After Hooks.deleteTransportAfterTest() 556ms
Given Set token of apiUsername "super-admin-adama" 326ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 704ms
And Login as "adama-admin" 2s 279ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 094ms
And Go to "TRANSPORT_TABLE" 429ms
When Open transport transfer modal 1s 693ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 258ms
After Hooks.deleteTransportAfterTest() 535ms
After Hooks.rollbackRejectedSections() 614ms
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 695ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 067ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 360ms
And If user is login then logout 319ms
When Login as "paa1-carrier@qa.qa-test" 4s 693ms
And Verify that the transport has been transferred with "true" 2s 280ms
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() 867ms