Project Number Date
ApolloFullRunnerReport develop.405 01 maj 2021, 06:13

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 50s 206ms Failed
Feature Transfer transport to carrier
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 180ms
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 192ms
And If user is login then logout 100ms
And Login as "paa1-carrier@qa.qa-test" 1s 370ms
Then Verify that the transport has been transferred with "true" 1s 330ms
After Hooks.deleteTransportAfterTest() 072ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 005ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 218ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 19s 196ms
And If user is login then logout 096ms
And Login as "paa1-carrier@qa.qa-test" 1s 421ms
Then Verify that the transport has been transferred with "false" 1s 180ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 091ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 207ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 059ms
And If user is login then logout 109ms
And Login as "pskza1-carrier@qa.qa-test" 1s 282ms
Then Verify that the transport has been transferred 1s 109ms
After Hooks.deleteTransportAfterTest() 089ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 178ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 212ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 19s 182ms
And If user is login then logout 098ms
And Login as "pskza1-carrier@qa.qa-test" 1s 232ms
Then Verify that the transport has been transferred 1s 124ms
After Hooks.deleteTransportAfterTest() 083ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 089ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 217ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 173ms
And Go to auction offer 1s 197ms
When Offer "1000" 141ms
And Verify that offer with "1000" has been added to auction 3s 040ms
And If user is login then logout 248ms
And Login as "swisskrono-admin" 1s 201ms
Then Go to auction details 1s 202ms
And Pass transport to carrier from auction details 1s 274ms
And If user is login then logout 404ms
And Login as "pskza1-carrier@qa.qa-test" 1s 239ms
And Verify that the transport has been transferred 1s 132ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 145ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 248ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 086ms
And Go to auction offer 1s 226ms
When Offer "1000" 135ms
And Verify that offer with "1000" has been added to auction 3s 037ms
And Wait till auction end 1m 54s 016ms
And If user is login then logout 115ms
Then Login as "swisskrono-admin" 1s 343ms
And Go to auction details 1s 192ms
And Pass transport to carrier from auction details 1s 267ms
And If user is login then logout 591ms
And Login as "pskza1-carrier@qa.qa-test" 1s 161ms
And Verify that the transport has been transferred 1s 092ms
After Hooks.deleteTransportAfterTest() 106ms
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" 1s 181ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 233ms
And Go to "TRANSPORT_TABLE" 129ms
When Open transport transfer modal 1s 240ms
Then Verify that all enabled companies from "swisskrono" are shown in select 124ms
java.lang.AssertionError: Dostępne firmy w polu wyboru nie zgadzają się z oczekiwanymi! expected:<[Przewoźnik SKZ Automat 2, Przewoźnik SKZ Automat 1]> but was:<[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() 084ms
Given Set token of apiUsername "super-admin-adama" 112ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 455ms
And Login as "adama-admin" 938ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 201ms
And Go to "TRANSPORT_TABLE" 134ms
When Open transport transfer modal 1s 237ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 089ms
After Hooks.deleteTransportAfterTest() 055ms
After Hooks.rollbackRejectedSections() 082ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 030ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 217ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 19s 215ms
And If user is login then logout 096ms
When Login as "paa1-carrier@qa.qa-test" 1s 616ms
And Verify that the transport has been transferred with "true" 1s 272ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 044ms
After Hooks.deleteTransportAfterTest() 120ms