Project Number Date
ApolloFullRunnerReport apollo-test-2.103 03 sie 2021, 04:47

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 24s 133ms 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 606ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 099ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 256ms
And If user is login then logout 265ms
And Login as "paa1-carrier@qa.qa-test" 2s 713ms
Then Verify that the transport has been transferred with "true" 1s 758ms
After Hooks.deleteTransportAfterTest() 751ms
Before Hooks.showScenarioName(Scenario) 000ms
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 069ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 944ms
And If user is login then logout 303ms
And Login as "paa1-carrier@qa.qa-test" 2s 625ms
Then Verify that the transport has been transferred with "false" 1s 694ms
After Hooks.deleteTransportAfterTest() 580ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 672ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 098ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 5s 196ms
And If user is login then logout 246ms
And Login as "pskza1-carrier@qa.qa-test" 2s 566ms
Then Verify that the transport has been transferred 3s 597ms
After Hooks.deleteTransportAfterTest() 799ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 640ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 147ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 109ms
And If user is login then logout 274ms
And Login as "pskza1-carrier@qa.qa-test" 2s 615ms
Then Verify that the transport has been transferred 3s 466ms
After Hooks.deleteTransportAfterTest() 774ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 593ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 322ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 879ms
And Go to auction offer 1s 760ms
When Offer "1000" 344ms
And Verify that offer with "1000" has been added to auction 3s 090ms
And If user is login then logout 458ms
And Login as "swisskrono-admin" 2s 360ms
Then Go to auction details 1s 785ms
And Pass transport to carrier from auction details 1s 592ms
And If user is login then logout 6s 299ms
And Login as "pskza1-carrier@qa.qa-test" 2s 365ms
And Verify that the transport has been transferred 3s 343ms
After Hooks.deleteTransportAfterTest() 831ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 632ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 410ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 832ms
And Go to auction offer 1s 758ms
When Offer "1000" 362ms
And Verify that offer with "1000" has been added to auction 3s 079ms
And Wait till auction end 1m 52s 014ms
And If user is login then logout 291ms
Then Login as "swisskrono-admin" 2s 823ms
And Go to auction details 2s 041ms
And Pass transport to carrier from auction details 1s 475ms
And If user is login then logout 1s 207ms
And Login as "pskza1-carrier@qa.qa-test" 2s 309ms
And Verify that the transport has been transferred 3s 427ms
After Hooks.deleteTransportAfterTest() 818ms
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 623ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 087ms
And Go to "TRANSPORT_TABLE" 478ms
When Open transport transfer modal 1s 666ms
Then Verify that all enabled companies from "swisskrono" are shown in select 407ms
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() 625ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 261ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 832ms
And Login as "adama-admin" 2s 161ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 119ms
And Go to "TRANSPORT_TABLE" 365ms
When Open transport transfer modal 1s 608ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 254ms
After Hooks.deleteTransportAfterTest() 606ms
After Hooks.rollbackRejectedSections() 457ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 547ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 106ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 5s 387ms
And If user is login then logout 458ms
When Login as "paa1-carrier@qa.qa-test" 4s 606ms
And Verify that the transport has been transferred with "true" 1s 846ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 074ms
After Hooks.deleteTransportAfterTest() 579ms