Project Number Date
ApolloFullRunnerReport apollo-test-2.55 26 cze 2021, 06:23

Failures Overview

The following summary displays scenarios that failed.

View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table after passing it on to the carrier
Steps
Given Set token of apiUsername "super-admin-skz" 233ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 231ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 701ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 227ms
And Accept transferred transport by Api 871ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 665ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 038ms
When Show all transport types 1s 207ms
And Click button advice in transport table "SMALLS_EXPORT" 15s 837ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='SMALLS_EXPORT']]//button"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//td[@data-column-name='ADVICE' and ancestor-or-self::*[@data-transport-type='SMALLS_EXPORT']]//button}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 CucumberTests.Transport.AdviceTransport.adviceTransport(AdviceTransport.java:72)
	at ✽.Click button advice in transport table "SMALLS_EXPORT"(file:Features/Atom/Advice/AdviceTransport.feature:99)
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "SMALLS_EXPORT" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 664ms
View Feature Advice transport
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-adama" 243ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 115ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 656ms
And Accept transferred transport by Api 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "paa1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "TRANSPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 943ms
View Feature Advice transport
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-skz" 232ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 149ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 730ms
And Accept transferred transport by Api 014ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "pskza1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "SMALLS_IMPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 1s 014ms
View Feature Advice transport
Scenario Outline Check if the advice restriction blockade windows are visible during advice
Steps
Given Set token of apiUsername "super-admin-skz" 226ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 130ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 674ms
And Accept transferred transport by Api 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Advice/AdviceTransport.feature:117)
And Login as "pskza1-carrier@qa.qa-test" 000ms
When Show all transport types 000ms
And Click button advice in transport table "SMALLS_EXPORT" 000ms
And Set week view 000ms
And Show yesterday 000ms
Then Check if advice restriction blockade windows are visible 000ms
After Hooks.deleteTransportAfterTest() 1s 039ms
View Feature Advice transport
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 773ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 182ms
And Go to "TRANSPORT_TABLE" 425ms
And Show all transport types 1s 140ms
And Click on time window date 1s 690ms
And Scroll to time window "adviceWindow" 151ms
And Set time window height "80" "adviceWindow" 2s 531ms
Then Check height of the time window after expanding by "80" in "adviceWindow" 072ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "80" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:187)
After Hooks.deleteTransportAfterTest() 3s 200ms
View Feature Advice transport
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 409ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 970ms
And Go to "TRANSPORT_TABLE" 448ms
And Show all transport types 1s 154ms
And Click on time window date 1s 671ms
And Scroll to time window "adviceWindow" 144ms
And Set time window height "48" "adviceWindow" 2s 527ms
Then Check height of the time window after expanding by "48" in "adviceWindow" 071ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "48" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:187)
After Hooks.deleteTransportAfterTest() 940ms
View Feature Auctions Mail
Scenario Outline Check mail two hours before auction ends
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 485ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 459ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 096ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 615ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuction(AuctionTransport.java:54)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuctionByApiWith(AuctionTransport.java:71)
	at ✽.Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes(file:Features/Atom/Mail/AuctionMail.feature:103)
And Wait "90" seconds 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zakończenie aukcji" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 708ms
After Hooks.cleanUserDetailsAfterTest() 1s 996ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 531ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 301ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 539ms
And Fill transport form 45s 863ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 639ms
And Click "save-transport" save button and wait for form to disappear 10s 573ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:201)
	at ✽.Click "save-transport" save button and wait for form to disappear(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:11)
Then Set advice window in schedule in "0" days 000ms
And Check is transport created in schedule and set transport id 000ms
And Set week view 000ms
Then Wait for schedule update 000ms
Then Check if periodic transport for "WEEKLY" is created correctly 000ms
After Hooks.deleteAllTransports() 1m 32s 491ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Create time windows of periodic transport [A-6089]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 550ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 327ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 514ms
And Fill transport form 45s 795ms
And Select option of periodic transport and fill settings "MONTHLY" 19s 484ms
And Click "save-transport" save button and wait for form to disappear 16s 382ms
Then Set advice window in schedule in "0" days 197ms
And Check is transport created in schedule and set transport id 3s 589ms
And Set week view 3s 108ms
Then Wait for schedule update 1s 245ms
Then Check if periodic transport for "MONTHLY" is created correctly 1m 24s 928ms
java.lang.AssertionError: Okno awizacji nie pojawiło się w 27.09.2021
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Schedule.SchedulePage.checkPeriodicTransportLocation(SchedulePage.java:384)
	at CucumberTests.Transport.PeriodicTransportTest.waitAMinuteAndCheckIfPeriodicTransportForIsCreatedCorectly(PeriodicTransportTest.java:77)
	at ✽.Check if periodic transport for "MONTHLY" is created correctly(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:16)
After Hooks.deleteAllTransports() 1m 35s 360ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Edition data of periodic transport from order form
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 511ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 433ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 181ms
When Go to "WAREHOUSE_TAB" 1s 145ms
And Set week view 2s 734ms
And Select warehouse "Katowice" 5s 108ms
And Open the middle periodic transport form from the schedule view 1m 58s 435ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "18" "0" 1s 665ms
And Click save and-close and react on alert "dismiss" 745ms
And Check if rest of periodic transports is react correctly "noEditing" 1m 8s
java.lang.AssertionError: Następna awizacja okresowa została zmieniona, a nie powinna. Actual: 45
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfRestOfPeriodicTransportsIsReactCorrectly(PeriodicTransportTest.java:134)
	at ✽.Check if rest of periodic transports is react correctly "noEditing"(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:35)
After Hooks.deleteAllTransports() 1m 37s 359ms
View Feature Base options of periodic transport - create, edit, delete etc.
Scenario Outline Edition data of periodic transport from order form
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 421ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 298ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 153ms
When Go to "WAREHOUSE_TAB" 1s 100ms
And Set week view 2s 806ms
And Select warehouse "Katowice" 4s 954ms
And Open the middle periodic transport form from the schedule view 37s 793ms
Then Change filled value in transport details "number-of-pallets-step-0" "number" "18" "0" 1s 684ms
And Click save and-close and react on alert "accept" 741ms
And Check if rest of periodic transports is react correctly "editing" 20s 796ms
java.lang.AssertionError: Pierwsze okno awizacji okresowej nie powinno zostać zmienone. Actual: 45
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Transport.PeriodicTransportTest.checkIfRestOfPeriodicTransportsIsReactCorrectly(PeriodicTransportTest.java:129)
	at ✽.Check if rest of periodic transports is react correctly "editing"(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:35)
After Hooks.deleteAllTransports() 1m 37s 050ms
View Feature CRUD warehouse zones
Scenario Outline Check GUI for warehouse zone [A-7387]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 421ms
And Go to "SETTINGS_TAB" 667ms
And Go to warehouse "Lantmannen Unibake Poland - Nieporęt" 1s 340ms
And Go to add new warehouse form 175ms
Then Check if transport type checkbox in new warehouse zone form is selected 106ms
When Fill new warehouse zone form 820ms
And Set new warehouse zone name 112ms
And Save new warehouse zone form 234ms
And Click add ramp button for previously created warehouse zone 781ms
And Fill new ramp form 3s 233ms
And Click save ramp button 1s 146ms
And Click back to warehouse button 1s 257ms
When Go to new transport "DELIVERY" 543ms
And Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 033ms
And Fill transport form 42s 851ms
And Change filled value in transport details "warehouse" "select" "Lantmannen Unibake Poland - Nieporęt" "0" 3s 773ms
And Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0" 16s 390ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='abcde'] | //li[text()='abcde' and @role='option']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//li//span[text()='abcde'] | //li[text()='abcde' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor201.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 CucumberTests.Transport.Transport.selectValue(Transport.java:229)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:214)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0"(file:Features/Atom/Warehouse/Zones.feature:36)
And Click "save-transport" save button and wait for form to disappear 000ms
Then Check if new warehouse zone is available for advice in the schedule 000ms
And Check if new ramp is available for advice in the schedule 000ms
After Hooks.removeZoneAfterTest() 015ms
View Feature Company
Scenario Outline Check if it possible to add company patron in company details
Steps
Given Set token of apiUsername "super-admin-pgf" 247ms
And Set basic authorities "ROLE_CREATE_COMPANY" to user "pgf-admin" 323ms
When Create company "Twój Opiekun PGF" "supplier" by JSON file as "super-admin-pgf" 861ms
And Login as "pgf-admin" 4s 422ms
And Go to "COMPANIES_TAB" 1s 931ms
And Go to company "Twój Opiekun PGF" details 487ms
And Select company patron "PGF SUPPLY EMPLOYEE" 7s 752ms
Then Verify if "PGF SUPPLY EMPLOYEE" data is successfully added 139ms
org.junit.ComparisonFailure: Widoczny jest inny opiekun niż oczekiwany! expected: but was:
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Company.EditCompanyTest.verifyIfDataIsSuccessfullyAdded(EditCompanyTest.java:161)
	at ✽.Verify if "PGF SUPPLY EMPLOYEE" data is successfully added(file:Features/Atom/Companies/Company.feature:64)
After Hooks.deleteCompanyAfterTest() 401ms
After Hooks.rollbackAddedAuthorities() 368ms
View Feature Company
Scenario Outline Check if only admins have the authority to manage partnerships in the contractor's details [A-7536]
Steps
Given Login as "dpa1-supplier-3" and set token of apiUsername "super-admin-piast" 32s 429ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac dpa1-supplier-3 (tried for 20 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "dpa1-supplier-3" and set token of apiUsername "super-admin-piast"(file:Features/Atom/Companies/Company.feature:92)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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 Go to "OWN_COMPANY_TAB" 000ms
Then Verify that user has correct partnership management permissions "dpa1-supplier-3" 000ms
View Feature Company Resources
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_CONTRACTOR" "super-admin-neuca" 003ms
And Login as "pna1-carrier" and set token of apiUsername "super-admin-neuca" 2s 317ms
And Go to new transport "DELIVERY" 15s 566ms
And Fill transport form 51s 410ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')] (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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Companies/CompanyResources.feature:8)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')]
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: 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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	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 Select "save-as-resource" checkbox 000ms
When Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Company Resources
Scenario Outline Check if it possible to save resource to company from transport form
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY_SUPPLIER" "super-admin-alrec" 002ms
And Login as "daa1-supplier-3" and set token of apiUsername "super-admin-alrec" 32s 531ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac daa1-supplier-3 (tried for 20 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "daa1-supplier-3" and set token of apiUsername "super-admin-alrec"(file:Features/Atom/Companies/CompanyResources.feature:6)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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 Go to new transport "DELIVERY" 000ms
And Fill transport form 000ms
And Select "save-as-resource" checkbox 000ms
When Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
Then Go to "OWN_COMPANY_TAB" 000ms
And Check if advice values are visible in company resources 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport without advice
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-piast" 039ms
And Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 138ms
When Go to new transport "DELIVERY" 666ms
And Fill transport form 33s 957ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//p[@class= 'autocomplete-description' and text()='Przewoźnik Piast Automat 1'] | //p[@class= 'main' and text()='Przewoźnik Piast Automat 1']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//p[@class= 'autocomplete-description' and text()='Przewoźnik Piast Automat 1'] | //p[@class= 'main' and text()='Przewoźnik Piast Automat 1']}
	at sun.reflect.GeneratedConstructorAccessor201.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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:207)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/CrudTransport.feature:38)
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Show all transport "false" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport without advice
Steps
Given Get inputs from database "CREATE_LOAD" "super-admin-piast" 034ms
And Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 673ms
When Go to new transport "LOAD" 729ms
And Fill transport form 21s 406ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//p[@class= 'autocomplete-description' and text()='Przewoźnik Piast Automat 1'] | //p[@class= 'main' and text()='Przewoźnik Piast Automat 1']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//p[@class= 'autocomplete-description' and text()='Przewoźnik Piast Automat 1'] | //p[@class= 'main' and text()='Przewoźnik Piast Automat 1']}
	at sun.reflect.GeneratedConstructorAccessor201.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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:207)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/CrudTransport.feature:38)
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Show all transport "false" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "LOAD" 000ms
And Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Discrepancy Report Mail
Scenario Outline Check if mail was sent to after discrepancy report generation
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 778ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 4s 013ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 146ms
And Go to "TRANSPORT_TABLE" 415ms
And Go to transport details "DELIVERY" 4s 889ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 041ms
And Fill transport form 40s 719ms
And Open section: "discrepancy-report-panel" 1s 162ms
And Fill discrepancy report section 40s 925ms
And Go to transport details "DELIVERY" 4s 799ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 462ms
And Generate discrepancy report 22s 787ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 16s 845ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/DiscrepancyReportMail.feature:18)
After Hooks.deleteTransportAfterTest() 1s 211ms
After Hooks.cleanUserDetailsAfterTest() 3s 737ms
View Feature Filters
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 664ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 158ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 671ms
And Accept transferred transport by Api 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_IMPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 969ms
View Feature Filters
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 541ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 161ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 640ms
And Accept transferred transport by Api 012ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_EXPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 961ms
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 229ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 191ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 146ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 030ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 21s 238ms
Then Login as "neuca-admin" 2s 305ms
And Go to "TRANSPORT_TABLE" 454ms
And Confirm statuses until reach "process-ended" 4s 601ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:128)
	at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:38)
	at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:303)
	at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:290)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:84)
	at ✽.Confirm statuses until reach "process-ended"(file:Features/Atom/Filters/Filter.feature:170)
Then Check if sorting by 'Finished' status is working correctly 000ms
After Hooks.deleteTransportsAfterTest() 2s 839ms
After Hooks.rollbackAllCustomFieldsSettings() 397ms
After Hooks.rollbackSettings() 129ms
View Feature Grouping of carriers
Scenario Outline Check if carrier has been added to carriers group
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 607ms
When Go to "COMPANIES_TAB" 1s 040ms
And Go to company "Przewoźnik SKZ Automat 1" details 571ms
And Add carrier to carriers group "Kraj" 2s 227ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)
	at CucumberTests.Company.EditCompanyTest.addCarrierToCarriersGroup(EditCompanyTest.java:109)
	at ✽.Add carrier to carriers group "Kraj"(file:Features/Atom/Grouping/CarrierGrouping.feature:21)
Then Verify that carrier has been added to carriers group "Kraj" 000ms
After Hooks.removeContractorsGroup() 342ms
View Feature Invitation
Scenario Outline Check if it possible registration after click link from invitation email
Steps
Given Set token of apiUsername "super-admin-piast" 241ms
And Delete invitations with email "automatyy19q@test.pl" 015ms
And If user is login then logout 231ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 415ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 7s 501ms
And Fill tax id registration page "byJSON" 830ms
And Verify that user is redirected to registration page 083ms
And Register to application "SUPPLIER" 15s 057ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id = 'name-field']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//input[@id = 'name-field']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.Invitation.RegistrationPage.fillForm(RegistrationPage.java:46)
	at CucumberTests.Invitation.RegistrationTest.registerToApplication(RegistrationTest.java:102)
	at ✽.Register to application "SUPPLIER"(file:Features/Atom/Invitations/Invitation.feature:28)
Then Check if user can be logged "automatyy19q@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 213ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:326)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
View Feature Invitation
Scenario Outline Check if it possible registration after click link from invitation email
Steps
Given Set token of apiUsername "super-admin-alrec" 245ms
And Delete invitations with email "automatyy2871q@test.pl" 013ms
And If user is login then logout 477ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 933ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 7s 565ms
And Fill tax id registration page "byJSON" 836ms
And Verify that user is redirected to registration page 092ms
And Register to application "SUPPLIER" 15s 047ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id = 'name-field']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//input[@id = 'name-field']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.Invitation.RegistrationPage.fillForm(RegistrationPage.java:46)
	at CucumberTests.Invitation.RegistrationTest.registerToApplication(RegistrationTest.java:102)
	at ✽.Register to application "SUPPLIER"(file:Features/Atom/Invitations/Invitation.feature:28)
Then Check if user can be logged "automatyy2871q@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 207ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:326)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
View Feature Invitation
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given Set token of apiUsername "super-admin-piast" 223ms
And Delete invitations with email "automaty31415@test.pl" 013ms
And If user is login then logout 15s 058ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 335ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 757ms
And Fill tax id registration page "byJSON" 887ms
And Register to application "SUPPLIER" 15s 063ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id = 'name-field']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//input[@id = 'name-field']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.Invitation.RegistrationPage.fillForm(RegistrationPage.java:46)
	at CucumberTests.Invitation.RegistrationTest.registerToApplication(RegistrationTest.java:102)
	at ✽.Register to application "SUPPLIER"(file:Features/Atom/Invitations/Invitation.feature:46)
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 000ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 208ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:326)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
View Feature Invitation
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given Set token of apiUsername "super-admin-lantmannen" 229ms
And Delete invitations with email "automaty27182@test.pl" 014ms
And If user is login then logout 15s 119ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 006ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 600ms
And Fill tax id registration page "byJSON" 826ms
And Register to application "SUPPLIER" 4s 275ms
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 32s 273ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty27182@test.pl (tried for 20 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen"(file:Features/Atom/Invitations/Invitation.feature:47)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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)
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 000ms
After Hooks.cleanUpAfterTest() 3s 601ms
View Feature Invitation
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given Set token of apiUsername "super-admin-keeeper" 228ms
And Delete invitations with email "automaty6022@test.pl" 016ms
And If user is login then logout 15s 063ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 908ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 541ms
And Fill tax id registration page "byJSON" 907ms
And Register to application "SUPPLIER" 4s 334ms
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 32s 333ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty6022@test.pl (tried for 20 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper"(file:Features/Atom/Invitations/Invitation.feature:47)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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)
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 000ms
After Hooks.cleanUpAfterTest() 4s 261ms
View Feature Invitation
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given Set token of apiUsername "super-admin-skz" 236ms
And Delete invitations with email "automaty666@test.pl" 015ms
And If user is login then logout 15s 102ms
And Create invitation by JSON file "super-admin-skz" for "automaty666@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 496ms
When Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 7s 711ms
And Fill tax id registration page "byJSON" 910ms
And Register to application "SUPPLIER" 4s 404ms
And Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz" 32s 296ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac automaty666@test.pl (tried for 20 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at ✽.Login as "automaty666@test.pl" and set token of apiUsername "super-admin-skz"(file:Features/Atom/Invitations/Invitation.feature:47)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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: 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:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:78)
	at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
	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)
Then Mock invitation email by admin panel "super-admin-skz" "automaty666@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty666@test.pl" 000ms
After Hooks.cleanUpAfterTest() 7s 204ms
View Feature Invitation
Scenario Outline Check if logged user is redirected from registration link to invitation tab
Steps
Given Set token of apiUsername "super-admin-alrec" 228ms
And Delete invitations with email "automaty2871q@test.pl" 015ms
And If user is login then logout 15s 087ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 913ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 647ms
And Fill tax id registration page "byJSON" 823ms
And Register to application "SUPPLIER" 15s 095ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id = 'name-field']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//input[@id = 'name-field']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.Invitation.RegistrationPage.fillForm(RegistrationPage.java:46)
	at CucumberTests.Invitation.RegistrationTest.registerToApplication(RegistrationTest.java:102)
	at ✽.Register to application "SUPPLIER"(file:Features/Atom/Invitations/Invitation.feature:46)
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 000ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 000ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 305ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:326)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
View Feature Invitation
Scenario Outline Check if accepted invitation is visible in accepted tab
Steps
Given Set token of apiUsername "super-admin-piast" 230ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And If user is login then logout 305ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 375ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 654ms
And Verify that user is redirected to registration page 283ms
And Fill tax id registration page "byJSON" 637ms
And Register to application "SUPPLIER" 15s 047ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id = 'name-field']"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//input[@id = 'name-field']}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.Invitation.RegistrationPage.fillForm(RegistrationPage.java:46)
	at CucumberTests.Invitation.RegistrationTest.registerToApplication(RegistrationTest.java:102)
	at ✽.Register to application "SUPPLIER"(file:Features/Atom/Invitations/Invitation.feature:136)
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 000ms
When Go to "INVITATIONS_TAB" 000ms
Then Go to "ACCEPTED_TAB" invitation status tab 000ms
And Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 242ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:135)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:111)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:326)
	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.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	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)
View Feature Invitation
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Steps
Given Set token of apiUsername "super-admin-alrec" 236ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 383ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 268ms
And Go to "INVITATIONS_TAB" 455ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 589ms
Then Create invitation success alert is displayed 15s 037ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:57)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:341)
After Hooks.deleteInvitationAfterTest() 028ms
After Hooks.cleanUserDetailsAfterTest() 1s 203ms
View Feature Login feature
Scenario Outline Verify that password reset cancel login blockade [A-7286]
Steps
Given Set token of apiUsername "super-admin-skd" 262ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 030ms
Given Failed login as "swiss-krono-delivery-admin" 1s 330ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 511ms
Given Try login as "swiss-krono-delivery-admin" 1s 417ms
Then Verify that login error reason is "auth.accountLocked" 308ms
Given Click remind password button 181ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 149ms
And Send remind password form with email "apolloautomattest@gmail.com" 532ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Restart hasła! | Password reset!" 7s 074ms
And Extract password from mail 000ms
And Reset password from link 197ms
org.openqa.selenium.WebDriverException: unknown error: net::ERR_NAME_NOT_RESOLVED
  (Session info: headless chrome=91.0.4472.114)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.get(RemoteWebDriver.java:310)
	at CucumberTests.LoginTest.resetPasswordFromLink(LoginTest.java:134)
	at ✽.Reset password from link(file:Features/Atom/Logins/Login.feature:23)
Then Login as "swiss-krono-delivery-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 015ms
After Hooks.unlockUsers() 140ms
View Feature Login feature
Scenario Outline Check if user is logged out when another person login on same account
Steps
Given Login as "bausch-admin" 7s 639ms
And Login as "bausch-admin" on another browser 3s 536ms
And Close second browser 158ms
And Refresh page 2s 217ms
Then Verify user is logged out 15s 073ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-danger')]"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-danger')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 CucumberTests.LoginTest.verifyUserIsLoggedOut(LoginTest.java:182)
	at ✽.Verify user is logged out(file:Features/Atom/Logins/Login.feature:70)
View Feature Login feature
Scenario Outline Check if user is logged out when another person login on same account
Steps
Given Login as "farmacol-admin" 2s 251ms
And Login as "farmacol-admin" on another browser 3s 353ms
And Close second browser 151ms
And Refresh page 2s 180ms
Then Verify user is logged out 15s 106ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-danger')]"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-danger')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 CucumberTests.LoginTest.verifyUserIsLoggedOut(LoginTest.java:182)
	at ✽.Verify user is logged out(file:Features/Atom/Logins/Login.feature:70)
View Feature Login feature
Scenario Outline Check if user is logged out when another person login on same account
Steps
Given Login as "alrec-admin" 6s 275ms
And Login as "alrec-admin" on another browser 3s 390ms
And Close second browser 167ms
And Refresh page 2s 189ms
Then Verify user is logged out 15s 089ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-danger')]"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-danger')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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 CucumberTests.LoginTest.verifyUserIsLoggedOut(LoginTest.java:182)
	at ✽.Verify user is logged out(file:Features/Atom/Logins/Login.feature:70)
View Feature Mode of transportation mail
Scenario Outline Check if mail was sent after creating mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 232ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 685ms
When Create default mode of transportation by API with "pba1-carrier" 477ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 17s 383ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/MOTMail.feature:21)
After Hooks.cleanUserDetailsAfterTest() 1s 706ms
After Hooks.deleteModeOfTransportationAfterTest() 321ms
View Feature Mode of transportation status
Scenario Outline Check if mode transportation status change appropriate to performed actions by users
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 446ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 908ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 637ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 594ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 089ms
And Go to mode of transportation details 291ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 479ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 496ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 16s 092ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 608ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 091ms
And If user is login then logout 279ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 748ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
And Go to mode of transportation details 366ms
And Accept "WINTER_MAPPING" document 16s 202ms
And Accept "SUMMER_MAPPING" document 16s 372ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 293ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 689ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 084ms
And Go to mode of transportation details 322ms
And Approve mode of transportation 156ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 527ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 075ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Z]aakceptowany> but was:<[Niez]aakceptowany>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:49)
And Go to mode of transportation details 000ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zablokowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Odrzucony" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Confirm mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Disable mode of transportation by API 000ms
And Show disabled mode of transportations in the table 000ms
And Go to the last mode of transportations table page 000ms
And Check if "Wyłączony" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 468ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 758ms
And Create default mode of transportation by API with "pba1-carrier" 710ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 469ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 563ms
Then Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns 3s 191ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Ważność kalibracji' są nie poprawne expected:<2022-06-2[5]> but was:<2022-06-2[6]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:113)
	at ✽.Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 295ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 300ms
And Create default mode of transportation by API with "pba1-carrier" 754ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 385ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 559ms
Then Check if "SUMMER_MAPPING" document data is visible in correct columns 3s 165ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie letnie' są nie poprawne expected:<2021-06-2[5]> but was:<2021-06-2[6]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:118)
	at ✽.Check if "SUMMER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 308ms
View Feature Mode of transportation table
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 282ms
And Create default mode of transportation by API with "pba1-carrier" 668ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 342ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 502ms
Then Check if "WINTER_MAPPING" document data is visible in correct columns 3s 187ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Mapowanie zimowe' są nie poprawne expected:<2021-06-2[5]> but was:<2021-06-2[6]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:123)
	at ✽.Check if "WINTER_MAPPING" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 307ms
View Feature Mode of transportation table
Scenario Outline Check if dates have proper colors in MOT table [A-6761]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 732ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 611ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_DOCUMENT_EXPIRATION_DATE_CARRIER_SHOULD_BE_BLOCKED" for "bausch" to mode of transportation by API with "pba1-carrier" 410ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
Then Verify that last sensor calibrate certificate has class "red-warning" 1s 082ms
org.junit.ComparisonFailure: Oczekiwana klasa css różni się od tej w tabeli!!! expected:<[red]-warning> but was:<[yellow]-warning>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.verifyThatLastSensorCalibrateCertificateHasClass(MOTTableTest.java:134)
	at ✽.Verify that last sensor calibrate certificate has class "red-warning"(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:76)
After Hooks.deleteAllModesOfTransportationAfterTest() 333ms
View Feature Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 224ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 129ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 2s 247ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 054ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 131ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 029ms
When Go to "TRANSPORT_TABLE" 410ms
And Click button advice in transport table "OWN_COLLECTION" 1s 454ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 46s 002ms
And Go to "TRANSPORT_TABLE" 440ms
And Find transport in table with status "planned-magazyn-tychy" 3s 661ms
And Confirm statuses until reach "process-ended" 13s 685ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 457ms
And Show "OWN_COLLECTION" 151ms
And Verify that created transport is "true" in transport table 1m 32s 354ms
java.lang.AssertionError: expected: but was:
	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 org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyThatCreatedTransportIsInTransportTable(TransportTableTest.java:116)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 1s 077ms
After Hooks.rollbackAllCustomFieldsSettings() 503ms
After Hooks.rollbackSettings() 156ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses after add file to transport
Steps
Given Set token of apiUsername "super-admin-piast" 232ms
And Get custom field settings for "DELIVERY" transport type and "piast" company 227ms
And Mark custom fields as not obligatory 008ms
And Login as "piast-admin" 5s 988ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 985ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 035ms
And Show all transport types 1s 155ms
And Click button advice in transport table "DELIVERY" 239ms
And Set advice window in schedule 3s 371ms
And Fill advice form 10s 531ms
And Click advice save button and wait for advice form to disappear 33s 257ms
And Go to "TRANSPORT_TABLE" 484ms
And Find transport in table with status "advice-added" 3s 615ms
When Add file to transport by API 1s 871ms
And Confirm statuses until reach "process-ended" 33s 176ms
java.lang.AssertionError: Wartość advice-added-magazyn-hala-a atrybutu data-status-name nie zmieniła się w webelemencie [[ChromeDriver: chrome on LINUX (5543bfa202c08f772282e85c9514c180)] -> xpath: //td[contains(@data-status-name, 'advice-added')]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:43)
	at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:303)
	at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:290)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:84)
	at ✽.Confirm statuses until reach "process-ended"(file:Features/Atom/Statuses/ConfirmStatuses.feature:117)
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 910ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 834ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 242ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 166ms
And Mark custom fields as not obligatory 006ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 706ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 269ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 730ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 325ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 211ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:98)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:335)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 733ms
After Hooks.rollbackAllCustomFieldsSettings() 1s 864ms
After Hooks.deleteModeOfTransportationAfterTest() 461ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 232ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 182ms
And Mark custom fields as not obligatory 005ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 720ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 236ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 740ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 315ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 178ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:98)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:335)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "-1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 712ms
After Hooks.rollbackAllCustomFieldsSettings() 1s 880ms
After Hooks.deleteModeOfTransportationAfterTest() 415ms
View Feature Template
Scenario Outline Check if it is possible to change pallet limit in
Steps
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 5s 884ms
When Go to "WAREHOUSE_TAB" 984ms
And Go to template schedule 1s 170ms
Then Check if pallet limit counter is visible 089ms
And Set limit to "999" 1s
And Save template 389ms
And Check if set limit "999" is visible in schedule 950ms
org.junit.ComparisonFailure: Widoczny limit palet jest inny niż ustalony w harmonogramie expected:<[999]> but was:<[0]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Schedule.TemplateTest.checkIfSetLimitIsVisibleInSchedule(TemplateTest.java:66)
	at ✽.Check if set limit "999" is visible in schedule(file:Features/Atom/Schedule/Template.feature:24)
View Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 859ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 215ms
When Go to "TRANSPORT_TABLE" 404ms
And Go to transport details "DELIVERY" 4s 899ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 869ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 532ms
And Open section: "discrepancy-report-panel" 1s 163ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 033ms
And Fill transport form 40s 862ms
And Fill discrepancy report section without closing the form 22s 257ms
And Generate discrepancy report 19s 941ms
And Download discrepancy report 377ms
Then Verify that discrepancy report file has correct values 15s 805ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/58_2021_1.pdf
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at java.nio.file.Files.copy(Files.java:3016)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:45)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:250)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 987ms
View Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 057ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 175ms
When Go to "TRANSPORT_TABLE" 428ms
And Go to transport details "DELIVERY" 4s 870ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 035ms
And Fill transport form 40s 734ms
And Open section: "discrepancy-report-panel" 1s 152ms
And Fill discrepancy report section without closing the form 22s 218ms
And Generate discrepancy report 19s 865ms
And Download discrepancy report 367ms
And Verify that discrepancy report file has correct values 15s 774ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/59_2021_1.pdf
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
	at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
	at java.nio.file.Files.newOutputStream(Files.java:216)
	at java.nio.file.Files.copy(Files.java:3016)
	at Utils.FileUtil.checkIfFileExist(FileUtil.java:45)
	at Utils.FileUtil.getPdfFileText(FileUtil.java:28)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:250)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:93)
And Fill edited discrepancy report section 000ms
And Generate edited discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 981ms
View Feature Transport Form - Steps section scenarios
Scenario Outline Check if sum of number of pallets in transport form is correct
Steps
Given Set token of apiUsername "super-admin-neuca" 261ms
And Create transport "CREATE_DELIVERY_TWO_LOADS" by JSON file as "super-admin-neuca" 3s 222ms
And Login as "neuca-admin" 2s 059ms
And Go to "TRANSPORT_TABLE" 489ms
And Show all transport types 15s 037ms
When Go to transport details "DELIVERY" 32s 748ms
Then Check if sum of number of pallets in transport form in "load" steps is correct 162ms
java.lang.AssertionError: Suma palet z etapów transportu nie zgadza się z sumą podaną w formularzu! expected:<34.0> but was:<45.0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:553)
	at CucumberTests.Transport.TransportFormTest.checkIfSumOfNumberOfPalletsInTransportFormInStepsIsCorrect(TransportFormTest.java:410)
	at ✽.Check if sum of number of pallets in transport form in "load" steps is correct(file:Features/Atom/Transport/TransportForm/StepsSection.feature:89)
After Hooks.deleteTransportAfterTest() 948ms
View Feature Transport Form - Steps section scenarios
Scenario Outline Check if sum of number of pallets check message is displayed in transport form
Steps
Given Set token of apiUsername "super-admin-neuca" 394ms
And Get "DELIVERY" settings from "neuca" 248ms
And Set transportType settings with values: "quantitySumCheckValue", "33" 422ms
And Login as "neuca-admin" 2s 059ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 17s 073ms
When Go to "TRANSPORT_TABLE" 536ms
And Go to transport details "DELIVERY" 32s 735ms
And Set number of pallets in "load" step in transport - "32" 312ms
And Check if number of pallets check message is not visible in transport form 098ms
java.lang.AssertionError: Wiadomość o większej liczbie palet jest widoczna!
	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.TransportFormTest.checkIfNumberOfPalletsCheckMessageIsNotVisibleInTransportForm(TransportFormTest.java:431)
	at ✽.Check if number of pallets check message is not visible in transport form(file:Features/Atom/Transport/TransportForm/StepsSection.feature:105)
And Set number of pallets in "load" step in transport - "34" 000ms
Then Check if number of pallets check message is visible in transport form 000ms
After Hooks.deleteTransportAfterTest() 913ms
After Hooks.rollbackTransportTypeSettings() 374ms
View Feature Transport Mail
Scenario Outline Check if mail was sent to after transport delay
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 484ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 652ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 192ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 195ms
And Go to "WAREHOUSE_TAB" 1s 184ms
And Select warehouse "Serownia" 1s 535ms
And Set week view 1s 222ms
And Show yesterday 1s 163ms
And Move window into the past 431ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 3m 19s 897ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportMail.feature:15)
After Hooks.deleteTransportAfterTest() 1s 066ms
After Hooks.cleanUserDetailsAfterTest() 1s 970ms
After Hooks.rollbackAddedAuthorities() 131ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 286ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 225ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 006ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 14s 404ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true"(file:Features/Atom/Mail/TransportTransferMail.feature:8)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 647ms
After Hooks.cleanUserDetailsAfterTest() 1s 683ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer with no confirmation
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 449ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 197ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 014ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 15s 350ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false"(file:Features/Atom/Mail/TransportTransferMail.feature:20)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zostało przekazane nowe zlecenie" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 783ms
After Hooks.cleanUserDetailsAfterTest() 1s 969ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer in inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 681ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 118ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 117ms
And Transfer transport to carrier "Przewoźnik SKZ Automat 1" 15s 063ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:43)
	at ✽.Transfer transport to carrier "Przewoźnik SKZ Automat 1"(file:Features/Atom/Mail/TransportTransferMail.feature:32)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zlecenie czeka na akceptację" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 720ms
After Hooks.cleanUserDetailsAfterTest() 1s 707ms
View Feature Transport Transfer Mail
Scenario Outline Check mail after loosing inquiry
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 692ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 939ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 220ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 974ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s 017ms
And Add a bid "500" to an auction by JSON file as "pskza2-carrier-2@qa.qa-test" for "pskza2-carrier-2@qa.qa-test" 1s 162ms
Then If user is login then logout 261ms
And Login as "swisskrono-admin" 2s 588ms
And Go to auction details 1s 812ms
And Pass transport to carrier from auction details 1s 540ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 17s 967ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/TransportTransferMail.feature:52)
After Hooks.deleteTransportAfterTest() 795ms
After Hooks.cleanUserDetailsAfterTest() 1s 889ms
View Feature Transport files
Scenario Outline Check that the file is added to the transport after carrier acceptance when the transport has been passed to the carrier
Steps
Given Set token of apiUsername "super-admin-adama" 218ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 15s 914ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 614ms
And Accept transferred transport by Api 019ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Transport/File.feature:41)
And Login as "paa1-carrier@qa.qa-test" 000ms
Then Verify that "large_entrepreneur_declaration" document can be downloaded 000ms
After Hooks.deleteTransportAfterTest() 839ms
View Feature Transport files
Scenario Outline Check if it CMR documents are added to transport after creation
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 418ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 255ms
When Go to "TRANSPORT_TABLE" 421ms
And Show all transport "true" 342ms
Then Verify that transport has "1" CMR file 1s 644ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<1> but was:<2>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "1" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 685ms
View Feature Transport form
Scenario Outline Check if transport created without advice by similar button has correct values
Steps
Given Set "transport" inputs from JSON file "CREATE_TRANSPORT_ORDER" "super-admin-alrec" 001ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 4s 771ms
When Go to new transport "TRANSPORT_ORDER" 686ms
And Fill transport form 26s 200ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 948ms
And Show all transport "true" 352ms
And Go to transport details "TRANSPORT_ORDER" 4s 835ms
And Click create similar button 15s 229ms
And Fill "transport" form "CREATE_SIMILAR_TRANSPORT_ORDER" by "super-admin-alrec" 001ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 455ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:201)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Transport/TransportForm/TransportForm.feature:14)
And Open similar transport details 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 763ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct values
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 8s 138ms
When Go to new transport "DELIVERY" 15s 551ms
And Fill transport form 53s 077ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')] (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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:29)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')]
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: 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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
	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 Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
View Feature Transport form
Scenario Outline Check if transport created with advice by similar button has correct carrier
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "pna1-carrier" 001ms
And Login as "pna1-carrier" and set token of apiUsername "pna1-carrier" 2s 441ms
When Go to new transport "DELIVERY" 15s 541ms
And Fill transport form 52s 994ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')] (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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:53)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')]
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: 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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at sun.reflect.GeneratedMethodAccessor284.invoke(Unknown Source)
	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 Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_DELIVERY" by "pna1-carrier" 000ms
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule in "2" days 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Open similar transport details 000ms
Then Check is field "CARRIER" of type "autocomplete" equals "Przewoźnik Neuca Automat 1" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
View Feature Transport form
Scenario Outline Check if carrier can select supplier in transport form
Steps
Given Login as "pna1-carrier" 2s 132ms
When Click plan transport button 570ms
When Change filled value in transport details "company-step-0" "autocomplete" "DNA1" "0" 35s 077ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')] (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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "company-step-0" "autocomplete" "DNA1" "0"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:293)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[@data-field-name='company-step-0']//div[contains(@style, 'block;')]
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: 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 CucumberTests.Transport.Transport.fillAutocompleteInput(Transport.java:204)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:163)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at sun.reflect.GeneratedMethodAccessor303.invoke(Unknown Source)
	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)
Then Verify that value in field is equals details "company-step-0" "autocomplete" "DNA1" 000ms
View Feature Transport form
Scenario Outline Check if transport created by similar button has correct custom fields values
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 5s 128ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 269ms
And Show all transport "true" 334ms
And Go to transport details "TRANSPORT_ORDER" 4s 860ms
And Set custom fields values 1m 46s 333ms
And Create transport by create similar button 25s 495ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.waitUntilElementDisappear(BasePage.java:215)
	at CucumberTests.Transport.TransportFormTest.createTransportByCreateSimilarButton(TransportFormTest.java:82)
	at ✽.Create transport by create similar button(file:Features/Atom/Transport/TransportForm/TransportForm.feature:306)
And Open similar transport details 000ms
Then Verify that custom fields has added value 000ms
And Close transport details 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Verify that custom fields has added value 000ms
After Hooks.deleteAllTransports() 33s 101ms
View Feature Transport form
Scenario Outline Check if date and time custom field appeared in transport details after creating transport
Steps
Given Set token of apiUsername "super-admin-lisner" 228ms
And Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-lisner" 001ms
And Create custom field with "CREATE_DELIVERY_DATE_AND_TIME_CFD" by "super-admin-lisner" 3s 030ms
When Login as "lisner-admin" and set token of apiUsername "super-admin-lisner" 6s 101ms
And Go to new transport "DELIVERY" 658ms
And Fill transport form 16s 650ms
java.lang.AssertionError: Nie można wypełnić pola warehouse-zone-step-0, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/TransportForm/TransportForm.feature:387)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "date-and-time" in transport form is visible 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteCustomFieldAfterTest() 2s 750ms
View Feature Transport table
Scenario Outline Check if correct row is selected after using closest date transport button [A-3790]
Steps
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 5s 517ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 767ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 741ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 617ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 514ms
When Show closest date transport 253ms
Then Verify if "2" transport in table is selected 15s 082ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//tr[2][contains(@class,'checked-transport-row')]"}
  (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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
*** Element info: {Using=xpath, value=//tr[2][contains(@class,'checked-transport-row')]}
	at sun.reflect.GeneratedConstructorAccessor201.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 CucumberTests._PerformanceTests.TransportTableTest.verifyIfTransportInTableIsSelected(TransportTableTest.java:175)
	at ✽.Verify if "2" transport in table is selected(file:Features/Atom/Transport/TransportTable/TransportTable.feature:39)
After Hooks.deleteAllTransports() 1m 33s 412ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 228ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 164ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 255ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 985ms
And Set double window advice 000ms
And Login as "farmacol-admin" 6s 695ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 929ms
And Go to "TRANSPORT_TABLE" 554ms
And Get checkpoint colors for transport 032ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 7s 979ms
java.lang.NullPointerException
	at CucumberTests.TimeWindow.TimeWindowTest.lambda$firstLastWarehouseIndependentColor$8(TimeWindowTest.java:269)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1249)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
	at CucumberTests.TimeWindow.TimeWindowTest.firstLastWarehouseIndependentColor(TimeWindowTest.java:271)
	at CucumberTests.TimeWindow.TimeWindowTest.findProperColorForWindow(TimeWindowTest.java:229)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowHasProperColor(TimeWindowTest.java:193)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColors(TimeWindowTest.java:156)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:101)
	at ✽.Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:229)
After Hooks.deleteTransportAfterTest() 1s 189ms
After Hooks.rollbackTransportTypeSettings() 255ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 238ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 139ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 264ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 021ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 691ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 994ms
And Get checkpoint colors for transport 018ms
And Go to "TRANSPORT_TABLE" 550ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 5s 267ms
java.lang.NullPointerException
	at CucumberTests.TimeWindow.TimeWindowTest.lambda$firstLastWarehouseIndependentColor$8(TimeWindowTest.java:269)
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
	at java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1249)
	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:531)
	at CucumberTests.TimeWindow.TimeWindowTest.firstLastWarehouseIndependentColor(TimeWindowTest.java:271)
	at CucumberTests.TimeWindow.TimeWindowTest.findProperColorForWindow(TimeWindowTest.java:229)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowHasProperColor(TimeWindowTest.java:193)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfWindowsHasProperColorsInSchedule(TimeWindowTest.java:178)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:118)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.deleteTransportAfterTest() 1s 196ms
After Hooks.rollbackTransportTypeSettings() 277ms
Scenario Outline Check if it possible to edit user by my account. User must exist in the system
Steps
Given Login as "lantmannen-admin" 2s 103ms
When Edit user by my account 1s 415ms
Then Check if user details are successfully edited by my account tab 925ms
java.lang.AssertionError: Zmiany w moim koncie użytkownika nie zapisały się expected:<[NIMDA NENNAMTNAL, , ]> but was:<[LANTMANNEN ADMIN, , ]>
	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 CucumberTests.User.EditUserTest.userIsSuccessfullyEditedByMyAccount(EditUserTest.java:85)
	at ✽.Check if user details are successfully edited by my account tab(file:Features/Atom/Users/User.feature:6)