Project Number Date
ApolloFullRunnerReport kapibary.22 30 maj 2021, 07:20

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 39s 079ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 800ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 155ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 258ms
And If user is login then logout 290ms
And Login as "paa1-carrier@qa.qa-test" 2s 624ms
Then Verify that the transport has been transferred with "true" 2s 309ms
After Hooks.deleteTransportAfterTest() 775ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 447ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 073ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 837ms
And If user is login then logout 256ms
And Login as "paa1-carrier@qa.qa-test" 2s 689ms
Then Verify that the transport has been transferred with "false" 2s 292ms
After Hooks.deleteTransportAfterTest() 599ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 881ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 108ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 257ms
And If user is login then logout 277ms
And Login as "pskza1-carrier@qa.qa-test" 2s 675ms
Then Verify that the transport has been transferred 3s 882ms
After Hooks.deleteTransportAfterTest() 739ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 682ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 008ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 076ms
And If user is login then logout 261ms
And Login as "pskza1-carrier@qa.qa-test" 2s 505ms
Then Verify that the transport has been transferred 4s 308ms
After Hooks.deleteTransportAfterTest() 725ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 676ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 446ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 882ms
And Go to auction offer 1s 559ms
When Offer "1000" 359ms
And Verify that offer with "1000" has been added to auction 3s 082ms
And If user is login then logout 259ms
And Login as "swisskrono-admin" 2s 584ms
Then Go to auction details 1s 783ms
And Pass transport to carrier from auction details 1s 553ms
And If user is login then logout 925ms
And Login as "pskza1-carrier@qa.qa-test" 2s 717ms
And Verify that the transport has been transferred 3s 733ms
After Hooks.deleteTransportAfterTest() 791ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 561ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 550ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 911ms
And Go to auction offer 1s 539ms
When Offer "1000" 336ms
And Verify that offer with "1000" has been added to auction 3s 085ms
And Wait till auction end 1m 53s 014ms
And If user is login then logout 250ms
Then Login as "swisskrono-admin" 2s 773ms
And Go to auction details 1s 763ms
And Pass transport to carrier from auction details 1s 562ms
And If user is login then logout 911ms
And Login as "pskza1-carrier@qa.qa-test" 2s 749ms
And Verify that the transport has been transferred 4s 296ms
After Hooks.deleteTransportAfterTest() 780ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 184ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 171ms
And Go to "TRANSPORT_TABLE" 460ms
When Open transport transfer modal 1s 594ms
Then Verify that all enabled companies from "swisskrono" are shown in select 298ms
After Hooks.deleteTransportAfterTest() 559ms
Given Set token of apiUsername "super-admin-adama" 295ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 672ms
And Login as "adama-admin" 2s 190ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 072ms
And Go to "TRANSPORT_TABLE" 425ms
When Open transport transfer modal 1s 671ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 245ms
After Hooks.deleteTransportAfterTest() 553ms
After Hooks.rollbackRejectedSections() 465ms
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 486ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 124ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 498ms
And If user is login then logout 242ms
When Login as "paa1-carrier@qa.qa-test" 4s 173ms
And Verify that the transport has been transferred with "true" 2s 348ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 091ms
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() 825ms