Project Number Date
ApolloFullRunnerReport apollo-test-2.100 31 lip 2021, 03:20

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 666ms Failed
Feature Transfer transport to carrier
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 574ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 117ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 195ms
And If user is login then logout 605ms
And Login as "paa1-carrier@qa.qa-test" 2s 439ms
Then Verify that the transport has been transferred with "true" 1s 885ms
After Hooks.deleteTransportAfterTest() 776ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 428ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 045ms
When Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 20s 815ms
And If user is login then logout 299ms
And Login as "paa1-carrier@qa.qa-test" 2s 641ms
Then Verify that the transport has been transferred with "false" 1s 835ms
After Hooks.deleteTransportAfterTest() 678ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 654ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 145ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 20s 883ms
And If user is login then logout 266ms
And Login as "pskza1-carrier@qa.qa-test" 2s 683ms
Then Verify that the transport has been transferred 3s 381ms
After Hooks.deleteTransportAfterTest() 757ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 600ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 044ms
When Transfer transport to carrier "Przewoźnik SKZ Automat 1" 5s 181ms
And If user is login then logout 458ms
And Login as "pskza1-carrier@qa.qa-test" 2s 318ms
Then Verify that the transport has been transferred 3s 512ms
After Hooks.deleteTransportAfterTest() 795ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 630ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 366ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 916ms
And Go to auction offer 1s 793ms
When Offer "1000" 367ms
And Verify that offer with "1000" has been added to auction 3s 075ms
And If user is login then logout 224ms
And Login as "swisskrono-admin" 2s 531ms
Then Go to auction details 1s 800ms
And Pass transport to carrier from auction details 1s 593ms
And If user is login then logout 6s 240ms
And Login as "pskza1-carrier@qa.qa-test" 2s 312ms
And Verify that the transport has been transferred 3s 391ms
After Hooks.deleteTransportAfterTest() 818ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 620ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 387ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 811ms
And Go to auction offer 1s 793ms
When Offer "1000" 370ms
And Verify that offer with "1000" has been added to auction 3s 086ms
And Wait till auction end 1m 52s 013ms
And If user is login then logout 265ms
Then Login as "swisskrono-admin" 2s 720ms
And Go to auction details 1s 798ms
And Pass transport to carrier from auction details 1s 523ms
And If user is login then logout 1s 099ms
And Login as "pskza1-carrier@qa.qa-test" 2s 344ms
And Verify that the transport has been transferred 3s 602ms
After Hooks.deleteTransportAfterTest() 826ms
Scenario Outline Check if enabled carriers are shown in transport transfer select
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 649ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 146ms
And Go to "TRANSPORT_TABLE" 477ms
When Open transport transfer modal 1s 637ms
Then Verify that all enabled companies from "swisskrono" are shown in select 362ms
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() 591ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-adama" 261ms
And Reject main section of a "Przewoźnik Adama Automat 1" in "adama" by API 844ms
And Login as "adama-admin" 2s 191ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 085ms
And Go to "TRANSPORT_TABLE" 417ms
When Open transport transfer modal 1s 639ms
Then Verify that "Przewoźnik Adama Automat 1" is blocked in select 255ms
After Hooks.deleteTransportAfterTest() 596ms
After Hooks.rollbackRejectedSections() 443ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 460ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 083ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" with "120" seconds to accept transport 5s 431ms
And If user is login then logout 243ms
When Login as "paa1-carrier@qa.qa-test" 4s 884ms
And Verify that the transport has been transferred with "true" 1s 869ms
And Wait "120" seconds 2m
Then Verify if transport is not visible to carrier after expiring time to accept transport 15s 024ms
After Hooks.deleteTransportAfterTest() 605ms