Project Number Date
ApolloFullRunnerReport apollo-test-2.50 30 cze 2021, 09:31

Failures Overview

The following summary displays scenarios that failed.

View Feature API Transport
Scenario Outline Check if response code contains expected status after editing transport by Api with non unique erpIdentifier [A-7521]
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 642ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 154ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 026ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 303ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 261ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_WITH_FILLED_ERP_IDENTIFIER" as "super-admin-piast" with "nonUniqueERPId" for api version "v1" 339ms
Then Check if response status code equals "422" 001ms
org.junit.ComparisonFailure: Odpowiedź zawiera kod 404 zamiast 422 expected:<4[22]> but was:<4[04]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Api.ApiTransportTest.checkIfResponseStatusCodeEquals(ApiTransportTest.java:133)
	at ✽.Check if response status code equals "422"(file:Features/Api/Transport.feature:136)
After Hooks.rollbackSettings() 002ms
After Hooks.deleteAllTransports() 1m 3s 388ms
View Feature API Transport
Scenario Outline Check if custom fields map is correct after creating a transport by Public API [A-7508]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 242ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 299ms
And Verify that custom fields from API are equivalent to custom fields from "CREATE_DELIVERY" as "super-admin-piast" 286ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.getMapOfNodeFromJSON(JsonApiUtil.java:475)
	at CucumberTests.Api.ApiTransportTest.checkIfAPICustomFieldsAreCorrect(ApiTransportTest.java:170)
	at ✽.Verify that custom fields from API are equivalent to custom fields from "CREATE_DELIVERY" as "super-admin-piast"(file:Features/Api/Transport.feature:145)
After Hooks.deleteTransportAfterApiTest() 771ms
View Feature Advice Mail
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 236ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 491ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 003ms
And Show all transport types 1s 169ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 51s 868ms
And Go to "TRANSPORT_TABLE" 423ms
And Go to transport details "CONTAINER" 2s 832ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 020ms
When Go to transport details "CONTAINER" 3s 525ms
And Fill transport form 5s 179ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 023ms
And Expand advice panel 263ms
And Edit advice in transport details 15s 304ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 475ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 3m 16s 317ms
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/AdviceMail.feature:39)
After Hooks.deleteTransportAfterTest() 970ms
After Hooks.cleanUserDetailsAfterTest() 1s 356ms
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 440ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 297ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Go to new transport "DELIVERY" 15s 526ms
And Fill transport form 46s 005ms
And Select option of periodic transport and fill settings "WEEKLY" 20s 699ms
And Click "save-transport" save button and wait for form to disappear 15s 779ms
Then Set advice window in schedule in "0" days 233ms
And Check is transport created in schedule and set transport id 3s 578ms
And Set week view 3s 394ms
Then Wait for schedule update 1s 149ms
Then Check if periodic transport for "WEEKLY" is created correctly 30s 240ms
java.lang.AssertionError: Okno awizacji nie pojawiło się dwa dni później w tygodniu: 1
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Schedule.SchedulePage.checkPeriodicTransportLocation(SchedulePage.java:345)
	at CucumberTests.Transport.PeriodicTransportTest.waitAMinuteAndCheckIfPeriodicTransportForIsCreatedCorectly(PeriodicTransportTest.java:77)
	at ✽.Check if periodic transport for "WEEKLY" is created correctly(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:16)
After Hooks.deleteAllTransports() 1m 27s 974ms
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 430ms
And Set access to periodic advice by API for company "SET_PERIODIC_TRANSPORT" as "super-admin-neuca" 414ms
And Create periodic transport "CREATE_PERIODIC_TR" by JSON file as "super-admin-neuca" 2s 089ms
When Go to "WAREHOUSE_TAB" 1s 049ms
And Set week view 3s 196ms
And Select warehouse "Katowice" 5s 621ms
And Open the middle periodic transport form from the schedule view 24s 225ms
org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element 
...
is not clickable at point (1193, 233). Other element would receive the click:
...
(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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684 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 Pages.Schedule.SchedulePage.openParticularPeriodicTransportFormFromSchedule(SchedulePage.java:279) at CucumberTests.Transport.PeriodicTransportTest.openTheMiddlePeriodicTransportFormFromTheScheduleView(PeriodicTransportTest.java:151) at ✽.Open the middle periodic transport form from the schedule view(file:Features/Atom/Transport/PeriodicTransport/PeriodicTransport.feature:32)
Then Change filled value in transport details "number-of-pallets-step-0" "number" "30" "0" 000ms
And Click save and-close and react on alert "dismiss" 000ms
And Check if rest of periodic transports is react correctly "noEditing" 000ms
After Hooks.deleteAllTransports() 1m 37s 190ms
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 423ms
And Go to "SETTINGS_TAB" 656ms
And Go to warehouse "Lantmannen Unibake Poland - Nieporęt" 1s 343ms
And Go to add new warehouse form 166ms
Then Check if transport type checkbox in new warehouse zone form is selected 106ms
When Fill new warehouse zone form 807ms
And Set new warehouse zone name 070ms
And Save new warehouse zone form 215ms
And Click add ramp button for previously created warehouse zone 813ms
And Fill new ramp form 3s 192ms
And Click save ramp button 1s 161ms
And Click back to warehouse button 1s 146ms
When Go to new transport "DELIVERY" 624ms
And Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 020ms
And Fill transport form 42s 854ms
And Change filled value in transport details "warehouse" "select" "Lantmannen Unibake Poland - Nieporęt" "0" 3s 722ms
And Wait "2" seconds 2s
And Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0" 16s 394ms
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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
*** Element info: {Using=xpath, value=//li//span[text()='abcde'] | //li[text()='abcde' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor215.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:226)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:211)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:280)
	at ✽.Change filled value in transport details "warehouse-zone-step-0" "select" "abcde" "0"(file:Features/Atom/Warehouse/Zones.feature:37)
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() 018ms
View Feature Company
Scenario Outline Check if it possible to edit company by super-admins [A-6812]
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 568ms
And Create company "Firma Piast" by JSON file as "super-admin-piast" 829ms
When Edit company "Firma Piast" 3s 189ms
And Wait "2" seconds 2s
Then Company is successfully edited 15s 030ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-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 Pages.Company.CompanyDetailsPage.getAlertSuccess(CompanyDetailsPage.java:39)
	at CucumberTests.Company.EditCompanyTest.companyIsSuccessfullyEdited(EditCompanyTest.java:66)
	at ✽.Company is successfully edited(file:Features/Atom/Companies/Company.feature:22)
After Hooks.deleteCompanyAfterTest() 296ms
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-2" and set token of apiUsername "super-admin-piast" 32s 482ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac dpa1-supplier-2 (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-2" and set token of apiUsername "super-admin-piast"(file:Features/Atom/Companies/Company.feature:93)
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-2" 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_SUPPLIER" "super-admin-alrec" 002ms
And Login as "daa1-supplier" and set token of apiUsername "super-admin-alrec" 32s 335ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac daa1-supplier (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" 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 with advice
Steps
Given Get inputs from database "CREATE_EXPORT" "super-admin-hochland" 020ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 971ms
When Go to new transport "EXPORT" 761ms
And Fill transport form 45s 496ms
And Click "save-transport" save button and wait for form to disappear 15s 804ms
And Set advice window in schedule 2s 364ms
And Check is transport created in schedule and set transport id 3s 034ms
And Go to "TRANSPORT_TABLE" 462ms
And Go to transport details "EXPORT" 2s 980ms
Then Check are transport values equals 323ms
org.junit.ComparisonFailure: Wartości w formularzu w polu free-pallet-places są niepoprawne, wartość na stronie:  wartość poprawna: 2 expected:<[2]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:14)
After Hooks.deleteTransportAfterTest() 1s 796ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport without advice
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-alrec" 020ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 581ms
When Go to new transport "TRANSPORT_ORDER" 704ms
And Fill transport form 33s 483ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 920ms
And Show all transport "true" 248ms
And Go to "TRANSPORT_TABLE" 414ms
And Go to transport details "TRANSPORT_ORDER" 2s 845ms
And Check are transport values equals 101ms
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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
	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 CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:120)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:43)
After Hooks.deleteTransportAfterTest() 700ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 910ms
And Get inputs from database "EDIT_WEIGHING" "super-admin-hochland" 020ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 197ms
And Show all transport "false" 078ms
When Go to transport details "WEIGHING" 2s 855ms
And Fill transport form 14s 235ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 901ms
And Go to transport details "WEIGHING" 2s 765ms
Then Check are transport values equals 2s 159ms
java.lang.AssertionError: Wartości w formularzu w polu assortment są niepoprawne, wartość na stronie: Antybiotyk wartość poprawna: Makulatura
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:76)
After Hooks.deleteTransportAfterTest() 675ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "keeeper-warehouseman" and set token of apiUsername "super-admin-keeeper" 6s 584ms
And Get inputs from database "EDIT_CONTAINER_WAREHOUSEMAN_CUSTOMFIELDS" "super-admin-keeeper" 021ms
And Create transport "CREATE_CONTAINER_KEEEPER_WAIMEA" by JSON file as "super-admin-keeeper" 1s 862ms
And Show all transport "false" 070ms
When Go to transport details "CONTAINER" 2s 723ms
And Fill transport form 11s 334ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 889ms
And Go to transport details "CONTAINER" 2s 690ms
Then Check are transport values equals 085ms
org.junit.ComparisonFailure: Wartości w formularzu w polu seal-number są niepoprawne, wartość na stronie:  wartość poprawna: 123456789 expected:<[123456789]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:76)
After Hooks.deleteTransportAfterTest() 663ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 951ms
And Get inputs from database "EDIT_WEIGHING" "super-admin-hochland" 026ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 180ms
And Show all transport "false" 079ms
When Go to transport details "WEIGHING" 2s 882ms
And Fill transport form 14s 197ms
And Click "save-transport" save button 1s 989ms
And Click cancel button in transport form 184ms
And Go to transport details "WEIGHING" 2s 748ms
Then Check are transport values equals 2s 164ms
java.lang.AssertionError: Wartości w formularzu w polu assortment są niepoprawne, wartość na stronie: Antybiotyk wartość poprawna: Makulatura
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:136)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Atom/Transport/CrudTransport.feature:138)
After Hooks.deleteTransportAfterTest() 606ms
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 962ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 4s 093ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 177ms
And Go to "TRANSPORT_TABLE" 410ms
And Go to transport details "DELIVERY" 2s 886ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 020ms
And Fill transport form 40s 878ms
And Open section: "discrepancy-report-panel" 1s 157ms
And Fill discrepancy report section 40s 921ms
And Go to transport details "DELIVERY" 2s 859ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 1s 606ms
And Generate discrepancy report 22s 160ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 3m 20s 678ms
Then Check if user got a mail 002ms
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 248ms
After Hooks.cleanUserDetailsAfterTest() 3s 645ms
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 647ms
When Go to "COMPANIES_TAB" 1s 034ms
And Go to company "Przewoźnik SKZ Automat 1" details 570ms
And Add carrier to carriers group "Kraj" 1s 817ms
Then Verify that carrier has been added to carriers group "Kraj" 253ms
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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
	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 CucumberTests.Company.EditCompanyTest.checkIfCarrierHasBeenAddedToCarriersGroup(EditCompanyTest.java:116)
	at ✽.Verify that carrier has been added to carriers group "Kraj"(file:Features/Atom/Grouping/CarrierGrouping.feature:22)
After Hooks.removeContractorsGroup() 217ms
View Feature Invitation
Scenario Outline Check if carrier gets invitation on mail address
Steps
Given Set token of apiUsername "super-admin-lantmannen" 242ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 499ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 3m 18s 169ms
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/Invitations/Invitation.feature:67)
After Hooks.deleteInvitationAfterTest() 195ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 228ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 1s 135ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 578ms
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.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.postObjectToApolloApi(RestUtil.java:80)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:171)
When Login as "piast-admin" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to invitation details 000ms
Then Reject invitation by button as user 000ms
When If user is login then logout 000ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Go to "REJECTED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 009ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:270)
	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)
After Hooks.cleanUserDetailsAfterTest() 880ms
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" 233ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 355ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 237ms
And Go to "INVITATIONS_TAB" 456ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 598ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 052ms
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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
*** 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:59)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:346)
After Hooks.deleteInvitationAfterTest() 030ms
After Hooks.cleanUserDetailsAfterTest() 1s 191ms
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" 229ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 761ms
When Create default mode of transportation by API with "pba1-carrier" 483ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Nowy środek transportu" 3m 19s 260ms
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 764ms
After Hooks.deleteModeOfTransportationAfterTest() 332ms
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 396ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 784ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 17s 554ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 537ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 094ms
And Go to mode of transportation details 282ms
And Add "WINTER_MAPPING" document to mode of transportation 15s 514ms
And Add "SUMMER_MAPPING" document to mode of transportation 15s 464ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 16s 202ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 586ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 099ms
And If user is login then logout 289ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 2s 705ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 609ms
And Go to mode of transportation details 380ms
And Accept "WINTER_MAPPING" document 16s 260ms
And Accept "SUMMER_MAPPING" document 16s 251ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 16s 444ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 089ms
And Go to mode of transportation details 325ms
And Approve mode of transportation 160ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 524ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 073ms
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() 459ms
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" 220ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 115ms
And Mark custom fields as not obligatory 006ms
And Login as "dayco-admin" 2s 175ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 088ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 133ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 025ms
When Go to "TRANSPORT_TABLE" 331ms
And Click button advice in transport table "OWN_COLLECTION" 1s 473ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 977ms
And Go to "TRANSPORT_TABLE" 458ms
And Find transport in table with status "planned-magazyn-tychy" 3s 676ms
And Confirm statuses until reach "process-ended" 16s 649ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 502ms
And Show "OWN_COLLECTION" 170ms
And Verify that created transport is "true" in transport table 1m 32s 257ms
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:120)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 1s 012ms
After Hooks.rollbackAllCustomFieldsSettings() 468ms
After Hooks.rollbackSettings() 144ms
View Feature Reject Transport
Scenario Outline Check if it is possible to accept and reject transport by carrier
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 723ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 537ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 646ms
When Accept or reject "accept" transferred transport 11s 652ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@class='btn btn-sm margin-bottom accept-transaction-button'] (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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
	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.CarrierTransportAction.acceptOrRejectTransferredTransport(CarrierTransportAction.java:55)
	at ✽.Accept or reject "accept" transferred transport(file:Features/Atom/Transport/TransportTransfer/RejectTransport.feature:18)
Then Verify that transport is accept or reject "accept" 000ms
After Hooks.deleteTransportAfterTest() 661ms
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 919ms
When Go to "WAREHOUSE_TAB" 979ms
And Go to template schedule 1s 187ms
And Check all days in week 542ms
Then Check if pallet limit counter is visible 095ms
And Set limit to "999" 924ms
And Save template 340ms
And Check if set limit "999" is visible in schedule 900ms
org.junit.ComparisonFailure: Widoczny limit palet jest inny niż ustalony w harmonogramie expected:<[999]> but was:<[600]>
	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:25)
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 798ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 123ms
When Go to "TRANSPORT_TABLE" 388ms
And Go to transport details "DELIVERY" 2s 874ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 865ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 531ms
And Open section: "discrepancy-report-panel" 1s 166ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 021ms
And Fill transport form 40s 875ms
And Fill discrepancy report section without closing the form 22s 262ms
And Generate discrepancy report 19s 948ms
And Download discrepancy report 313ms
Then Verify that discrepancy report file has correct values 15s 632ms
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:256)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 1s 016ms
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" 2s 962ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 070ms
When Go to "TRANSPORT_TABLE" 432ms
And Go to transport details "DELIVERY" 2s 944ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 018ms
And Fill transport form 40s 784ms
And Open section: "discrepancy-report-panel" 1s 160ms
And Fill discrepancy report section without closing the form 22s 265ms
And Generate discrepancy report 20s 510ms
And Download discrepancy report 353ms
And Verify that discrepancy report file has correct values 15s 580ms
java.nio.file.NoSuchFileException: /home/teamcity/Downloads/60_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:256)
	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() 973ms
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 415ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 617ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 183ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 197ms
And Go to "WAREHOUSE_TAB" 1s 247ms
And Select warehouse "Serownia" 1s 559ms
And Set week view 1s 244ms
And Show yesterday 1s 152ms
And Move window into the past 428ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 3m 22s 178ms
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 038ms
After Hooks.cleanUserDetailsAfterTest() 1s 866ms
After Hooks.rollbackAddedAuthorities() 154ms
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" 7s 668ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 189ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 104ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 990ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 989ms
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 121ms
Then If user is login then logout 257ms
And Login as "swisskrono-admin" 2s 535ms
And Go to auction details 2s 165ms
And Pass transport to carrier from auction details 1s 512ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 20s 055ms
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:53)
After Hooks.deleteTransportAfterTest() 962ms
After Hooks.cleanUserDetailsAfterTest() 1s 866ms
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 529ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 235ms
When Go to "TRANSPORT_TABLE" 423ms
And Show all transport "true" 249ms
Then Verify that transport has "1" CMR file 1s 611ms
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() 687ms
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" 4s 831ms
And Create transport "CREATE_TRANSPORT_WITH_CUSTOM_FIELDS" by JSON file as "super-admin-alrec" 2s 271ms
And Show all transport "true" 245ms
And Go to transport details "TRANSPORT_ORDER" 2s 937ms
And Set custom fields values 1m 46s 223ms
And Create transport by create similar button 25s 954ms
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.JMAmfP}, 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: 3595313b213fdae8380e63c3ae803684
	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:88)
	at ✽.Create transport by create similar button(file:Features/Atom/Transport/TransportForm/TransportForm.feature:307)
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 224ms
View Feature Transport form
Scenario Outline Check if warehouse working hour is validate correctly when warehouse is not working 24h [A-7572]
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 470ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 093ms
When Go to "TRANSPORT_TABLE" 438ms
And Go to transport details "TRANSPORT" 2s 833ms
And Change filled value in transport details "warehouse-select-step-1" "select" "Magazyn S7" "0" 3s 815ms
And Calculate date and hour for fill transport details "time-range-from-date-1" "today" "07:00" 066ms
And Change date value in field with calendar in transport details "time-range-from-date-1" "calculatedValue" 2s 024ms
And Click "save-transport" save button 905ms
Then Check if warehouse working hour is validate correctly "no" 077ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.junit.Assert.assertFalse(Assert.java:74)
	at CucumberTests.Transport.TransportFormTest.checkIfWarehouseWorkingHourIsValidateCorrectly(TransportFormTest.java:601)
	at ✽.Check if warehouse working hour is validate correctly "no"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:412)
After Hooks.deleteAllTransports() 47s 823ms
View Feature Transport form
Scenario Outline Check if warehouse working hour is validate correctly when warehouse is not working 24h [A-7572]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 505ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 2s 003ms
When Go to "TRANSPORT_TABLE" 387ms
And Go to transport details "EXTERNAL_DELIVERY" 2s 766ms
And Change filled value in transport details "warehouse-select-step-1" "select" "Rogoźnica Przyjęcia" "0" 3s 827ms
And Calculate date and hour for fill transport details "time-range-from-date-1" "no" "06:00" 079ms
And Change date value in field with calendar in transport details "time-range-from-date-1" "calculatedValue" 2s 073ms
And Click "save-transport" save button 893ms
Then Check if warehouse working hour is validate correctly "no" 098ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at org.junit.Assert.assertFalse(Assert.java:74)
	at CucumberTests.Transport.TransportFormTest.checkIfWarehouseWorkingHourIsValidateCorrectly(TransportFormTest.java:601)
	at ✽.Check if warehouse working hour is validate correctly "no"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:412)
After Hooks.deleteAllTransports() 47s 827ms
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 838ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-2" days 17s 742ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "-1" days 17s 546ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "1" days 17s 627ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" in "2" days 17s 556ms
When Show closest date transport 282ms
Then Verify if "2" transport in table is selected 15s 093ms
java.lang.AssertionError: Został zaznaczony niepoprawny wiersz w tabeli!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyIfTransportInTableIsSelected(TransportTableTest.java:180)
	at ✽.Verify if "2" transport in table is selected(file:Features/Atom/Transport/TransportTable/TransportTable.feature:39)
After Hooks.deleteAllTransports() 1m 33s 592ms
View Feature Transport transfer full scenario
Scenario Outline Check if possible to edit transport after advice cancellation.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 698ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 022ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 033ms
When Show all transport types 1s 160ms
And Click button advice in transport table "DELIVERY" 228ms
And Set advice window in schedule 3s 330ms
And Click button cancel in advice form 16s 176ms
And Go to "TRANSPORT_TABLE" 443ms
When Go to transport details "DELIVERY" 2s 727ms
And Fill transport form 1m 8s 061ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 492ms
And Go to transport details "DELIVERY" 2s 825ms
Then Check are transport values equals 160ms
org.junit.ComparisonFailure: Wartości w formularzu w polu percentage-of-execution są niepoprawne, wartość na stronie:  wartość poprawna: 22% expected:<[22%]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:258)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:238)
	at ✽.Check are transport values equals(file:Features/Scenario/TransportTransfer.feature:39)
After Hooks.deleteTransportAfterTest() 867ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 219ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 158ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 258ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 2s 094ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 576ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 57s 454ms
And Get checkpoint colors for transport 023ms
And Go to "TRANSPORT_TABLE" 567ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 9s 560ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	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 126ms
After Hooks.rollbackTransportTypeSettings() 263ms