Project Number Date
ApolloFullRunnerReport 2021.AT1.39 02 sie 2021, 05:23

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 530ms 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 096ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 231ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 19s 174ms
And If user is login then logout 117ms
And Login as "paa1-carrier@qa.qa-test" 1s 546ms
Then Verify that the transport has been transferred with "true" 1s 271ms
After Hooks.deleteTransportAfterTest() 082ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 981ms
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 227ms
And If user is login then logout 102ms
And Login as "paa1-carrier@qa.qa-test" 1s 289ms
Then Verify that the transport has been transferred with "false" 1s 247ms
After Hooks.deleteTransportAfterTest() 076ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 079ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 214ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 145ms
And If user is login then logout 290ms
And Login as "pskza1-carrier@qa.qa-test" 992ms
Then Verify that the transport has been transferred 1s 120ms
After Hooks.deleteTransportAfterTest() 112ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 075ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 230ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 172ms
And If user is login then logout 304ms
And Login as "pskza1-carrier@qa.qa-test" 1s 042ms
Then Verify that the transport has been transferred 1s 136ms
After Hooks.deleteTransportAfterTest() 091ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 090ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 288ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 091ms
And Go to auction offer 1s 204ms
When Offer "1000" 137ms
And Verify that offer with "1000" has been added to auction 3s 038ms
And If user is login then logout 082ms
And Login as "swisskrono-admin" 1s 265ms
Then Go to auction details 1s 189ms
And Pass transport to carrier from auction details 1s 248ms
And If user is login then logout 566ms
And Login as "pskza1-carrier@qa.qa-test" 1s
And Verify that the transport has been transferred 1s 132ms
After Hooks.deleteTransportAfterTest() 100ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 021ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 271ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 101ms
And Go to auction offer 1s 186ms
When Offer "1000" 134ms
And Verify that offer with "1000" has been added to auction 3s 031ms
And Wait till auction end 1m 54s 016ms
And If user is login then logout 304ms
Then Login as "swisskrono-admin" 1s 258ms
And Go to auction details 1s 198ms
And Pass transport to carrier from auction details 1s 253ms
And If user is login then logout 572ms
And Login as "pskza1-carrier@qa.qa-test" 971ms
And Verify that the transport has been transferred 1s 103ms
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 116ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 226ms
And Go to "TRANSPORT_TABLE" 117ms
When Open transport transfer modal 1s 229ms
Then Verify that all enabled companies from "swisskrono" are shown in select 149ms
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() 074ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 097ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 218ms
And Login as "adama-admin" 884ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 227ms
And Go to "TRANSPORT_TABLE" 121ms
When Open transport transfer modal 1s 216ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 092ms
After Hooks.deleteTransportAfterTest() 064ms
After Hooks.rollbackRejectedSections() 067ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 001ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 193ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 247ms
And If user is login then logout 115ms
When Login as "paa1-carrier@qa.qa-test" 1s 836ms
And Verify that the transport has been transferred with "true" 1s 330ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 040ms
After Hooks.deleteTransportAfterTest() 065ms