Project Number Date
ApolloFullRunnerReport 2021.AT1.43 05 sie 2021, 04:46

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 6m 48s 197ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 090ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 204ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 171ms
And If user is login then logout 113ms
And Login as "paa1-carrier@qa.qa-test" 1s 482ms
Then Verify that the transport has been transferred with "true" 1s 208ms
After Hooks.deleteTransportAfterTest() 101ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 987ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 217ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 181ms
And If user is login then logout 105ms
And Login as "paa1-carrier@qa.qa-test" 1s 446ms
Then Verify that the transport has been transferred with "false" 1s 113ms
After Hooks.deleteTransportAfterTest() 071ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 166ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 215ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 140ms
And If user is login then logout 118ms
And Login as "pskza1-carrier@qa.qa-test" 1s 217ms
Then Verify that the transport has been transferred 1s 136ms
After Hooks.deleteTransportAfterTest() 091ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 092ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 217ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 127ms
And If user is login then logout 117ms
And Login as "pskza1-carrier@qa.qa-test" 1s 179ms
Then Verify that the transport has been transferred 1s 122ms
After Hooks.deleteTransportAfterTest() 119ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 066ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 282ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 098ms
And Go to auction offer 1s 186ms
When Offer "1000" 122ms
And Verify that offer with "1000" has been added to auction 3s 039ms
And If user is login then logout 080ms
And Login as "swisskrono-admin" 1s 243ms
Then Go to auction details 1s 203ms
And Pass transport to carrier from auction details 1s 231ms
And If user is login then logout 575ms
And Login as "pskza1-carrier@qa.qa-test" 1s 012ms
And Verify that the transport has been transferred 1s 142ms
After Hooks.deleteTransportAfterTest() 103ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 028ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 304ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 107ms
And Go to auction offer 1s 189ms
When Offer "1000" 117ms
And Verify that offer with "1000" has been added to auction 3s 037ms
And Wait till auction end 1m 54s 017ms
And If user is login then logout 312ms
Then Login as "swisskrono-admin" 1s 080ms
And Go to auction details 1s 200ms
And Pass transport to carrier from auction details 1s 350ms
And If user is login then logout 571ms
And Login as "pskza1-carrier@qa.qa-test" 952ms
And Verify that the transport has been transferred 1s 115ms
After Hooks.deleteTransportAfterTest() 107ms
Scenario Outline Check if enabled carriers are shown in transport transfer select
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 096ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 202ms
And Go to "TRANSPORT_TABLE" 124ms
When Open transport transfer modal 1s 220ms
Then Verify that all enabled companies from "swisskrono" are shown in select 146ms
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, Przewoźnik SKZ Automat 3, Firma automaty nowaXXX]> but was:<[Firma automaty nowaXXX, Przewoźnik SKZ Automat 1, Przewoźnik SKZ Automat 2, Przewoźnik SKZ Automat 3]>
	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() 101ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 096ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 220ms
And Login as "adama-admin" 878ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 209ms
And Go to "TRANSPORT_TABLE" 108ms
When Open transport transfer modal 1s 217ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 089ms
After Hooks.deleteTransportAfterTest() 061ms
After Hooks.rollbackRejectedSections() 114ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 963ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 225ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 154ms
And If user is login then logout 121ms
When Login as "paa1-carrier@qa.qa-test" 1s 959ms
And Verify that the transport has been transferred with "true" 1s 256ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 053ms
After Hooks.deleteTransportAfterTest() 105ms