Project Number Date
ApolloFullRunnerReport 2021.AT1.40 03 sie 2021, 06:22

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 47s 850ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 106ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 212ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 180ms
And If user is login then logout 119ms
And Login as "paa1-carrier@qa.qa-test" 1s 480ms
Then Verify that the transport has been transferred with "true" 1s 197ms
After Hooks.deleteTransportAfterTest() 079ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 993ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 212ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 197ms
And If user is login then logout 099ms
And Login as "paa1-carrier@qa.qa-test" 1s 319ms
Then Verify that the transport has been transferred with "false" 1s 158ms
After Hooks.deleteTransportAfterTest() 077ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 093ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 217ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 138ms
And If user is login then logout 261ms
And Login as "pskza1-carrier@qa.qa-test" 956ms
Then Verify that the transport has been transferred 1s 125ms
After Hooks.deleteTransportAfterTest() 111ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 141ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 224ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 128ms
And If user is login then logout 090ms
And Login as "pskza1-carrier@qa.qa-test" 1s 167ms
Then Verify that the transport has been transferred 1s 133ms
After Hooks.deleteTransportAfterTest() 115ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 011ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 255ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 109ms
And Go to auction offer 1s 186ms
When Offer "1000" 130ms
And Verify that offer with "1000" has been added to auction 3s 034ms
And If user is login then logout 073ms
And Login as "swisskrono-admin" 1s 265ms
Then Go to auction details 1s 208ms
And Pass transport to carrier from auction details 1s 244ms
And If user is login then logout 593ms
And Login as "pskza1-carrier@qa.qa-test" 1s 007ms
And Verify that the transport has been transferred 1s 130ms
After Hooks.deleteTransportAfterTest() 098ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 036ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 265ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 084ms
And Go to auction offer 1s 195ms
When Offer "1000" 131ms
And Verify that offer with "1000" has been added to auction 3s 031ms
And Wait till auction end 1m 54s 015ms
And If user is login then logout 304ms
Then Login as "swisskrono-admin" 1s 164ms
And Go to auction details 1s 205ms
And Pass transport to carrier from auction details 1s 260ms
And If user is login then logout 604ms
And Login as "pskza1-carrier@qa.qa-test" 938ms
And Verify that the transport has been transferred 1s 110ms
After Hooks.deleteTransportAfterTest() 100ms
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 104ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 244ms
And Go to "TRANSPORT_TABLE" 129ms
When Open transport transfer modal 1s 219ms
Then Verify that all enabled companies from "swisskrono" are shown in select 168ms
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() 092ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-adama" 098ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 208ms
And Login as "adama-admin" 872ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 209ms
And Go to "TRANSPORT_TABLE" 102ms
When Open transport transfer modal 1s 224ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 083ms
After Hooks.deleteTransportAfterTest() 066ms
After Hooks.rollbackRejectedSections() 068ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 998ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 201ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 190ms
And If user is login then logout 083ms
When Login as "paa1-carrier@qa.qa-test" 1s 888ms
And Verify that the transport has been transferred with "true" 1s 204ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 060ms
After Hooks.deleteTransportAfterTest() 108ms