Project Number Date
ApolloFullRunnerReport apollo-test-2.102 02 sie 2021, 03: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 7m 35s 201ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 597ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 102ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 5s 241ms
And If user is login then logout 232ms
And Login as "paa1-carrier@qa.qa-test" 2s 500ms
Then Verify that the transport has been transferred with "true" 1s 811ms
After Hooks.deleteTransportAfterTest() 788ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 447ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 066ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 930ms
And If user is login then logout 260ms
And Login as "paa1-carrier@qa.qa-test" 2s 662ms
Then Verify that the transport has been transferred with "false" 1s 604ms
After Hooks.deleteTransportAfterTest() 539ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 841ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 149ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 343ms
And If user is login then logout 270ms
And Login as "pskza1-carrier@qa.qa-test" 2s 697ms
Then Verify that the transport has been transferred 3s 514ms
After Hooks.deleteTransportAfterTest() 781ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 728ms
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 148ms
And If user is login then logout 267ms
And Login as "pskza1-carrier@qa.qa-test" 2s 716ms
Then Verify that the transport has been transferred 3s 628ms
After Hooks.deleteTransportAfterTest() 773ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 878ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 341ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 915ms
And Go to auction offer 1s 737ms
When Offer "1000" 337ms
And Verify that offer with "1000" has been added to auction 3s 090ms
And If user is login then logout 467ms
And Login as "swisskrono-admin" 2s 323ms
Then Go to auction details 1s 816ms
And Pass transport to carrier from auction details 1s 584ms
And If user is login then logout 1s 195ms
And Login as "pskza1-carrier@qa.qa-test" 2s 401ms
And Verify that the transport has been transferred 3s 392ms
After Hooks.deleteTransportAfterTest() 841ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 553ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 396ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 810ms
And Go to auction offer 1s 781ms
When Offer "1000" 318ms
And Verify that offer with "1000" has been added to auction 3s 077ms
And Wait till auction end 1m 52s 013ms
And If user is login then logout 285ms
Then Login as "swisskrono-admin" 2s 671ms
And Go to auction details 2s 158ms
And Pass transport to carrier from auction details 1s 495ms
And If user is login then logout 1s 095ms
And Login as "pskza1-carrier@qa.qa-test" 2s 306ms
And Verify that the transport has been transferred 3s 966ms
After Hooks.deleteTransportAfterTest() 847ms
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" 2s 691ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 165ms
And Go to "TRANSPORT_TABLE" 482ms
When Open transport transfer modal 1s 660ms
Then Verify that all enabled companies from "swisskrono" are shown in select 364ms
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() 609ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 264ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 868ms
And Login as "adama-admin" 2s 178ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 071ms
And Go to "TRANSPORT_TABLE" 401ms
When Open transport transfer modal 1s 663ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 242ms
After Hooks.deleteTransportAfterTest() 592ms
After Hooks.rollbackRejectedSections() 468ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 407ms
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 369ms
And If user is login then logout 284ms
When Login as "paa1-carrier@qa.qa-test" 4s 921ms
And Verify that the transport has been transferred with "true" 1s 772ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 026ms
After Hooks.deleteTransportAfterTest() 752ms