Project Number Date
ApolloFullRunnerReport apollo-test-2.85 19 lip 2021, 03:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Set transport order on auction 145 6 5 0 0 156 16 6 22 10m 52s 854ms Failed
Feature Set transport order on auction
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 907ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 190ms
When Fill auction form 16s 148ms
Then Verify that the auction has been added to transport 165ms
After Hooks.deleteTransportAfterTest() 10s 101ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 976ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 279ms
When Fill auction form 16s 576ms
Then Verify that the auction has been added to transport 149ms
After Hooks.deleteTransportAfterTest() 10s 078ms
Scenario Outline Check if it is possible to accept auction offer with minimum rate
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 620ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 098ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 004ms
When If user is login then logout 268ms
And Login as "paa1-carrier@qa.qa-test" 4s 861ms
And Go to auction offer 2s 215ms
And Accept transport with minimum rate 15s 032ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='form-group margin-top-big']//button[@class='btn btn-default']"}
  (Session info: headless chrome=91.0.4472.114)
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: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//div[@class='form-group margin-top-big']//button[@class='btn btn-default']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.AuctionFormPage.acceptOfferWithMinRate(AuctionFormPage.java:47)
	at CucumberTests.Transport.AuctionTransport.acctepTransportWithMinimumRate(AuctionTransport.java:106)
	at ✽.Accept transport with minimum rate(file:Features/Atom/Transport/Auction.feature:22)
Then Check if carrier is assigned to transport 000ms
After Hooks.deleteTransportAfterTest() 10s 117ms
Scenario Outline Check if it is possible to reject auction offer
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 545ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 113ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 967ms
When If user is login then logout 5s 524ms
And Login as "paa1-carrier@qa.qa-test" 2s 249ms
And Go to auction offer 1s 812ms
And Reject auction offer 15s 770ms
Then Verify that offer has been removed from transport 074ms
java.lang.AssertionError: Zlecenie jest nadal wiczone na liście transportów
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.AuctionTransport.verifyThatOfferHasBeenRemovedFromTransport(AuctionTransport.java:127)
	at ✽.Verify that offer has been removed from transport(file:Features/Atom/Transport/Auction.feature:37)
After Hooks.deleteTransportAfterTest() 10s 195ms
Scenario Outline Check if it is possible to reject auction offer
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 681ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 172ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 3s 030ms
When If user is login then logout 285ms
And Login as "pskza1-carrier@qa.qa-test" 7s 214ms
And Go to auction offer 3s 188ms
And Reject auction offer 15s 790ms
Then Verify that offer has been removed from transport 077ms
java.lang.AssertionError: Zlecenie jest nadal wiczone na liście transportów
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.AuctionTransport.verifyThatOfferHasBeenRemovedFromTransport(AuctionTransport.java:127)
	at ✽.Verify that offer has been removed from transport(file:Features/Atom/Transport/Auction.feature:37)
After Hooks.deleteTransportAfterTest() 10s 198ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 479ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 084ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 242ms
When If user is login then logout 304ms
And Login as "paa1-carrier@qa.qa-test" 2s 532ms
And Go to auction offer 1s 614ms
And Offer prize above maximum - "20000" 356ms
Then Verify that is not possible to add offer 969ms
After Hooks.deleteTransportAfterTest() 10s 106ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 711ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 213ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 3s 031ms
When If user is login then logout 510ms
And Login as "pskza1-carrier@qa.qa-test" 2s 243ms
And Go to auction offer 2s 858ms
And Offer prize above maximum - "20000" 402ms
Then Verify that is not possible to add offer 856ms
After Hooks.deleteTransportAfterTest() 10s 089ms
Before Hooks.showScenarioName(Scenario) 002ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 426ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 071ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 053ms
And Wait till auction end 1m 57s 014ms
Then Verify that is possible to add auction 136ms
After Hooks.deleteTransportAfterTest() 10s 193ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 804ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 152ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 3s 021ms
And Wait till auction end 1m 57s 014ms
Then Verify that is possible to add auction 144ms
After Hooks.deleteTransportAfterTest() 10s 112ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 809ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 305ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 022ms
And Go to auction offer 1s 522ms
When Offer "1000" 371ms
Then Verify that offer with "1000" has been added to auction 3s 084ms
After Hooks.deleteTransportAfterTest() 10s 199ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 665ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 384ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 885ms
And Go to auction offer 1s 547ms
When Offer "1000" 337ms
Then Verify that offer with "1000" has been added to auction 3s 078ms
After Hooks.deleteTransportAfterTest() 10s 095ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 626ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 324ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 937ms
And Go to auction offer 1s 534ms
When Offer "1000" 362ms
And Verify that offer with "1000" has been added to auction 3s 089ms
Then Go to auction offer 1s 522ms
And Revoke current offer 709ms
And Verify that offer has been revoked 33s 017ms
After Hooks.deleteTransportAfterTest() 10s 113ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 702ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 343ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 931ms
And Go to auction offer 1s 532ms
When Offer "1000" 328ms
And Verify that offer with "1000" has been added to auction 3s 089ms
Then Go to auction offer 1s 508ms
And Offer "1500" 349ms
And Verify that offer with "1500" has been added to auction 3s 079ms
After Hooks.deleteTransportAfterTest() 10s 111ms
Scenario Outline Check if it is possible to finish active auction
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 602ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 401ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 951ms
And Go to auction offer 1s 543ms
When Offer "1000" 379ms
And Verify that offer with "1000" has been added to auction 3s 094ms
org.junit.ComparisonFailure: Nie udało się dodać oferty do zlecenia! expected:<1[0]00> but was:<1[5]00>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.AuctionTransport.verifyThatOfferWithHasBeenAddedToAuction(AuctionTransport.java:182)
	at ✽.Verify that offer with "1000" has been added to auction(file:Features/Atom/Transport/Auction.feature:120)
Then Login as "swisskrono-admin" 000ms
And Go to auction details 000ms
And Finish active auction 000ms
And Verify that the transport has no active auction 000ms
After Hooks.deleteTransportAfterTest() 10s 100ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 713ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 476ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 2s 960ms
And Go to auction offer 1s 543ms
When Offer "1000" 364ms
Then Verify that carrier can see current place in auction depending on the "true" role 856ms
After Hooks.deleteTransportAfterTest() 10s 091ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 673ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 350ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 959ms
And Go to auction offer 1s 572ms
When Offer "1000" 365ms
Then Verify that carrier can see current place in auction depending on the "false" role 15s 079ms
After Hooks.deleteTransportAfterTest() 10s 113ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 604ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 332ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-skz" 2s 905ms
And Go to auction offer 1s 543ms
When Offer "300" 306ms
And Verify that carrier can't add offer to auction 076ms
After Hooks.deleteTransportAfterTest() 10s 099ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 478ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 167ms
And Show all transport "false" 088ms
When Go to auction form 2s 016ms
Then Verify carrier selection value "false" 129ms
After Hooks.deleteTransportAfterTest() 10s 105ms
Before Hooks.showScenarioName(Scenario) 002ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 550ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 299ms
And Show all transport "true" 223ms
When Go to auction form 1s 627ms
Then Verify carrier selection value "true" 236ms
After Hooks.deleteTransportAfterTest() 10s 100ms
Scenario Outline Check if auction is available to correct participants
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 620ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 109ms
When Open transport auction form 765ms
And Select all companies checkbox in transport auction form 324ms
And Unselect company "PAA2" in transport auction form 172ms
And Put transport on auction 15s 451ms
And Open transport auction history 224ms
And Open participants section in transport auction history 153ms
Then Check if unselected "PAA2" is in transport auction history as participant 106ms
java.lang.AssertionError: Odznaczona firma jest widoczna na liście firm w historii aukcji!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.AuctionTransport.verifyParticipantIsNotInTransportAuctionHistory(AuctionTransport.java:278)
	at ✽.Check if unselected "PAA2" is in transport auction history as participant(file:Features/Atom/Transport/Auction.feature:176)
After Hooks.deleteTransportAfterTest() 10s 091ms
Scenario Outline Check if auction is available to correct participants
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 675ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 145ms
When Open transport auction form 2s 759ms
And Select all companies checkbox in transport auction form 191ms
And Unselect company "PSKZA2" in transport auction form 166ms
And Put transport on auction 15s 497ms
And Open transport auction history 217ms
And Open participants section in transport auction history 181ms
Then Check if unselected "PSKZA2" is in transport auction history as participant 096ms
java.lang.AssertionError: Odznaczona firma jest widoczna na liście firm w historii aukcji!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Transport.AuctionTransport.verifyParticipantIsNotInTransportAuctionHistory(AuctionTransport.java:278)
	at ✽.Check if unselected "PSKZA2" is in transport auction history as participant(file:Features/Atom/Transport/Auction.feature:176)
After Hooks.deleteTransportAfterTest() 10s 182ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-varrocrychvald" 213ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-varrocrychvald" 2s 343ms
And Set transport on auction with "1000" and "1500" by JSON file as "super-admin-varrocrychvald" 2s 737ms
And Add a bid "1500" to an auction by JSON file as "pvra1-carrier" for "super-admin-varrocrychvald" 899ms
And Add a bid "1000" to an auction by JSON file as "pvra2-carrier-2" for "super-admin-varrocrychvald" 1s 002ms
When Login as "varrocrychvald-admin" and set token of apiUsername "super-admin-varrocrychvald" 5s 181ms
And Show all transport "true" 253ms
And Open transport auction history 1s 124ms
And Pass transport to "2" carrier in auction history 1s 203ms
Then Verify if "REASON" is visible in pass transport modal 090ms
And Confirm pass transport to carrier in pass transport modal 159ms
And Verify that "REASON" in pass transport modal has validation error 1s 058ms
After Hooks.deleteTransportAfterTest() 10s 103ms