Project Number Date
ApolloFullRunnerReport develop.426 20 maj 2021, 05:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Set transport order on auction 141 1 2 0 0 144 20 1 21 10m 22s 103ms Failed
Feature Set transport order on auction
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 110ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 260ms
When Fill auction form 15s 452ms
Then Verify that the auction has been added to transport 051ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 235ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 273ms
When Fill auction form 15s 437ms
Then Verify that the auction has been added to transport 045ms
After Hooks.deleteTransportAfterTest() 087ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 210ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 242ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 112ms
When If user is login then logout 084ms
And Login as "paa1-carrier@qa.qa-test" 1s 643ms
And Go to auction offer 1s 370ms
And Accept transport with minimum rate 15s 605ms
Then Check if carrier is assigned to transport 023ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 092ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 237ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 133ms
When If user is login then logout 119ms
And Login as "paa1-carrier@qa.qa-test" 1s 298ms
And Go to auction offer 1s 332ms
And Reject auction offer 15s 636ms
Then Verify that offer has been removed from transport 15s 018ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 189ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 270ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 086ms
When If user is login then logout 094ms
And Login as "pskza1-carrier@qa.qa-test" 1s 260ms
And Go to auction offer 1s 296ms
And Reject auction offer 15s 596ms
Then Verify that offer has been removed from transport 15s 056ms
After Hooks.deleteTransportAfterTest() 143ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 187ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 253ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 166ms
When If user is login then logout 5s 291ms
And Login as "paa1-carrier@qa.qa-test" 1s 222ms
And Go to auction offer 1s 447ms
And Offer prize above maximum - "20000" 134ms
Then Verify that is not possible to add offer 151ms
After Hooks.deleteTransportAfterTest() 101ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 189ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 270ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 133ms
When If user is login then logout 093ms
And Login as "pskza1-carrier@qa.qa-test" 1s 121ms
And Go to auction offer 1s 246ms
And Offer prize above maximum - "20000" 133ms
Then Verify that is not possible to add offer 142ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 071ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 185ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 094ms
And Wait till auction end 1m 58s 017ms
Then Verify that is possible to add auction 037ms
After Hooks.deleteTransportAfterTest() 108ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 175ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 404ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 110ms
And Wait till auction end 1m 58s 017ms
Then Verify that is possible to add auction 040ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 420ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 250ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 146ms
And Go to auction offer 1s 210ms
When Offer "1000" 137ms
Then Verify that offer with "1000" has been added to auction 3s 033ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 099ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 277ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 110ms
And Go to auction offer 1s 213ms
When Offer "1000" 118ms
Then Verify that offer with "1000" has been added to auction 3s 037ms
After Hooks.deleteTransportAfterTest() 117ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 235ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 302ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 120ms
And Go to auction offer 1s 213ms
When Offer "1000" 121ms
And Verify that offer with "1000" has been added to auction 3s 037ms
Then Go to auction offer 1s 192ms
And Revoke current offer 575ms
And Verify that offer has been revoked 31s 134ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 272ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 360ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 097ms
And Go to auction offer 1s 219ms
When Offer "1000" 132ms
And Verify that offer with "1000" has been added to auction 3s 039ms
Then Go to auction offer 1s 177ms
And Offer "1500" 131ms
And Verify that offer with "1500" has been added to auction 3s 023ms
After Hooks.deleteTransportAfterTest() 125ms
Scenario Outline Check if it is possible to finish active auction
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 077ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 295ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 097ms
And Go to auction offer 1s 206ms
When Offer "1000" 115ms
And Verify that offer with "1000" has been added to auction 3s 038ms
Then Login as "swisskrono-admin" 1s 083ms
And Go to auction details 31s 873ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@id='companies-section'] (tried for 30 second(s) with 500 MILLISECONDS interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:177)
	at Pages.Transport.TransportsPage.goToAuctionDetailsForm(TransportsPage.java:393)
	at CucumberTests.Transport.AuctionTransport.goToAuctionDetails(AuctionTransport.java:197)
	at ✽.Go to auction details(file:Features/Atom/Transport/Auction.feature:122)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@id='companies-section']
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:177)
	at Pages.Transport.TransportsPage.goToAuctionDetailsForm(TransportsPage.java:393)
	at CucumberTests.Transport.AuctionTransport.goToAuctionDetails(AuctionTransport.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And Finish active auction 000ms
And Verify that the transport has no active auction 000ms
After Hooks.deleteTransportAfterTest() 082ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 292ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 236ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 141ms
And Go to auction offer 1s 203ms
When Offer "1000" 132ms
Then Verify that carrier can see current place in auction depending on the "true" role 149ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 038ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 408ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 135ms
And Go to auction offer 1s 207ms
When Offer "1000" 116ms
Then Verify that carrier can see current place in auction depending on the "false" role 15s 012ms
After Hooks.deleteTransportAfterTest() 144ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 207ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 303ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 125ms
And Go to auction offer 1s 205ms
When Offer "300" 132ms
And Verify that carrier can't add offer to auction 029ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 047ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 231ms
And Show all transport "false" 014ms
When Go to auction form 1s 256ms
Then Verify carrier selection value "false" 033ms
After Hooks.deleteTransportAfterTest() 094ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 088ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 288ms
And Show all transport "true" 087ms
When Go to auction form 1s 217ms
Then Verify carrier selection value "true" 034ms
After Hooks.deleteTransportAfterTest() 090ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 085ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 237ms
When Open transport auction form 186ms
And Select all companies checkbox in transport auction form 070ms
And Unselect company "PAA2" in transport auction form 070ms
And Put transport on auction 15s 185ms
And Open transport auction history 091ms
And Open participants section in transport auction history 046ms
Then Check if unselected "PAA2" is in transport auction history as participant 15s 008ms
After Hooks.deleteTransportAfterTest() 096ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 294ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 309ms
When Open transport auction form 213ms
And Select all companies checkbox in transport auction form 061ms
And Unselect company "PSKZA2" in transport auction form 050ms
And Put transport on auction 15s 178ms
And Open transport auction history 096ms
And Open participants section in transport auction history 053ms
Then Check if unselected "PSKZA2" is in transport auction history as participant 15s 032ms
After Hooks.deleteTransportAfterTest() 105ms