Project Number Date
ApolloFullRunnerReport kapibary.23 31 maj 2021, 07:26

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 132ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 783ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 098ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 328ms
And If user is login then logout 280ms
And Login as "paa1-carrier@qa.qa-test" 2s 662ms
Then Verify that the transport has been transferred with "true" 2s 886ms
After Hooks.deleteTransportAfterTest() 742ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 426ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 988ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 992ms
And If user is login then logout 272ms
And Login as "paa1-carrier@qa.qa-test" 2s 624ms
Then Verify that the transport has been transferred with "false" 2s 486ms
After Hooks.deleteTransportAfterTest() 634ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 668ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 127ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 300ms
And If user is login then logout 245ms
And Login as "pskza1-carrier@qa.qa-test" 2s 632ms
Then Verify that the transport has been transferred 4s 400ms
After Hooks.deleteTransportAfterTest() 794ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 652ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 132ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 068ms
And If user is login then logout 285ms
And Login as "pskza1-carrier@qa.qa-test" 2s 673ms
Then Verify that the transport has been transferred 4s 220ms
After Hooks.deleteTransportAfterTest() 844ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 693ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 376ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 959ms
And Go to auction offer 1s 592ms
When Offer "1000" 346ms
And Verify that offer with "1000" has been added to auction 3s 080ms
And If user is login then logout 243ms
And Login as "swisskrono-admin" 2s 584ms
Then Go to auction details 2s 190ms
And Pass transport to carrier from auction details 1s 480ms
And If user is login then logout 907ms
And Login as "pskza1-carrier@qa.qa-test" 2s 501ms
And Verify that the transport has been transferred 4s 122ms
After Hooks.deleteTransportAfterTest() 744ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 665ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 459ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 3s 102ms
And Go to auction offer 1s 570ms
When Offer "1000" 339ms
And Verify that offer with "1000" has been added to auction 3s 079ms
And Wait till auction end 1m 52s 014ms
And If user is login then logout 251ms
Then Login as "swisskrono-admin" 2s 847ms
And Go to auction details 2s 222ms
And Pass transport to carrier from auction details 1s 486ms
And If user is login then logout 968ms
And Login as "pskza1-carrier@qa.qa-test" 2s 590ms
And Verify that the transport has been transferred 4s 760ms
After Hooks.deleteTransportAfterTest() 826ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 769ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 134ms
And Go to "TRANSPORT_TABLE" 475ms
When Open transport transfer modal 1s 655ms
Then Verify that all enabled companies from "swisskrono" are shown in select 295ms
After Hooks.deleteTransportAfterTest() 560ms
Given Set token of apiUsername "super-admin-adama" 263ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 663ms
And Login as "adama-admin" 2s 244ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 097ms
And Go to "TRANSPORT_TABLE" 407ms
When Open transport transfer modal 1s 684ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 248ms
After Hooks.deleteTransportAfterTest() 558ms
After Hooks.rollbackRejectedSections() 464ms
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 635ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 080ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 361ms
And If user is login then logout 251ms
When Login as "paa1-carrier@qa.qa-test" 4s 428ms
And Verify that the transport has been transferred with "true" 2s 673ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 081ms
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() 843ms