Project Number Date
ApolloFullRunnerReport refs/heads/develop.6 21 maj 2021, 04:17

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 54s 856ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 702ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 059ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 241ms
And If user is login then logout 281ms
And Login as "paa1-carrier@qa.qa-test" 2s 784ms
Then Verify that the transport has been transferred with "true" 1s 721ms
After Hooks.deleteTransportAfterTest() 842ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 568ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 014ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 21s 020ms
And If user is login then logout 294ms
And Login as "paa1-carrier@qa.qa-test" 2s 797ms
Then Verify that the transport has been transferred with "false" 1s 671ms
After Hooks.deleteTransportAfterTest() 683ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 628ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 136ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 247ms
And If user is login then logout 282ms
And Login as "pskza1-carrier@qa.qa-test" 2s 905ms
Then Verify that the transport has been transferred 3s 109ms
After Hooks.deleteTransportAfterTest() 813ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 626ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 108ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 239ms
And If user is login then logout 282ms
And Login as "pskza1-carrier@qa.qa-test" 2s 773ms
Then Verify that the transport has been transferred 3s 201ms
After Hooks.deleteTransportAfterTest() 877ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 3s 026ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 424ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 743ms
And Go to auction offer 1s 588ms
When Offer "1000" 378ms
And Verify that offer with "1000" has been added to auction 3s 080ms
And If user is login then logout 478ms
And Login as "swisskrono-admin" 2s 399ms
Then Go to auction details 1s 888ms
And Pass transport to carrier from auction details 1s 530ms
And If user is login then logout 1s 158ms
And Login as "pskza1-carrier@qa.qa-test" 2s 536ms
And Verify that the transport has been transferred 2s 975ms
After Hooks.deleteTransportAfterTest() 767ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 568ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 503ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 757ms
And Go to auction offer 1s 559ms
When Offer "1000" 383ms
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 309ms
Then Login as "swisskrono-admin" 2s 948ms
And Go to auction details 1s 939ms
And Pass transport to carrier from auction details 1s 484ms
And If user is login then logout 6s 204ms
And Login as "pskza1-carrier@qa.qa-test" 2s 493ms
And Verify that the transport has been transferred 3s 218ms
After Hooks.deleteTransportAfterTest() 854ms
Scenario Outline Check if enabled carriers are shown in transport transfer select
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 591ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 165ms
And Go to "TRANSPORT_TABLE" 590ms
When Open transport transfer modal 1s 657ms
Then Verify that all enabled companies from "swisskrono" are shown in select 393ms
java.lang.AssertionError: Dostępne firmy w polu wyboru nie zgadzają się z oczekiwanymi! expected:<[Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2]> but was:<[Firma automaty nowaXXX, Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at Pages.Transport.TransferFormPage.checkIfCompaniesAreAvailableInSelect(TransferFormPage.java:35)
	at CucumberTests.Transport.TransferTransportTest.verifyThatAllEnabledCompaniesFromAreShownInSelect(TransferTransportTest.java:86)
	at ✽.Verify that all enabled companies from "swisskrono" are shown in select(file:Features/Atom/Transport/TransportTransfer/TransportTransfer.feature:80)
After Hooks.deleteTransportAfterTest() 593ms
Given Set token of apiUsername "super-admin-adama" 240ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 669ms
And Login as "adama-admin" 2s 278ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 961ms
And Go to "TRANSPORT_TABLE" 399ms
When Open transport transfer modal 1s 588ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 218ms
After Hooks.deleteTransportAfterTest() 590ms
After Hooks.rollbackRejectedSections() 449ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 461ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 074ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 20s 439ms
And If user is login then logout 274ms
When Login as "paa1-carrier@qa.qa-test" 4s 721ms
And Verify that the transport has been transferred with "true" 1s 678ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 070ms
After Hooks.deleteTransportAfterTest() 592ms