Project Number Date
ApolloFullRunnerReport apollo-test-2.80 14 lip 2021, 05:39

Failures Overview

The following summary displays scenarios that failed.

View Feature Advice Mail
Scenario Outline Check if mail was sent to creator after creating advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 343ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 089ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:6)
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 000ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 000ms
And Show all transport types 000ms
And Click button advice in transport table "DELIVERY" 000ms
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
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 074ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 Advice Mail
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 301ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 098ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:25)
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 000ms
And Show all transport types 000ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 077ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 Advice Mail
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 592ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 288ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 334ms
And Show all transport types 1s 161ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 49s 580ms
And Go to "TRANSPORT_TABLE" 475ms
And Go to transport details "LOAD" 2s 821ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 019ms
When Go to transport details "LOAD" 3s 534ms
And Fill transport form 28s 752ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 022ms
And Expand advice panel 246ms
And Edit advice in transport details 21s 344ms
And Click "save-transport-and-close" save button and wait for form to disappear 491ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	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/Mail/AdviceMail.feature:37)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 133ms
After Hooks.cleanUserDetailsAfterTest() 198ms
View Feature Advice Mail
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
Given Set token of apiUsername "super-admin-skd" 117ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/16994123 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:49)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 075ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/16994123 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 Advice Mail
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 114ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 036ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 215ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 3s 262ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 336ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 3m 19s 109ms
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:70)
After Hooks.deleteTransportAfterTest() 278ms
After Hooks.cleanUserDetailsAfterTest() 290ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 042ms
View Feature Advice transport
Scenario Outline Check if possible to edit advice in transport details.
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 238ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 327ms
And Show all transport types 1s 174ms
And Create advice "CREATE_ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 53s 109ms
And Go to "TRANSPORT_TABLE" 510ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 022ms
When Go to transport details "CONTAINER" 2s 819ms
And Fill transport form 5s 164ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 024ms
And Expand advice panel 15s 084ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='advice-panel']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@id='advice-panel']}
	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.Transport.AdviceTransport.expandAdvicePanel(AdviceTransport.java:133)
	at ✽.Expand advice panel(file:Features/Atom/Advice/AdviceTransport.feature:34)
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "CONTAINER" 000ms
And Expand advice panel 000ms
Then Check are advice values equals after edition 000ms
After Hooks.deleteTransportAfterTest() 104ms
View Feature Advice transport
Scenario Outline Check if possible to edit advice in transport details.
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 211ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 338ms
And Show all transport types 1s 141ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 49s 796ms
And Go to "TRANSPORT_TABLE" 503ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 023ms
When Go to transport details "LOAD" 2s 815ms
And Fill transport form 28s 898ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 028ms
And Expand advice panel 283ms
And Edit advice in transport details 21s 500ms
And Click "save-transport-and-close" save button and wait for form to disappear 518ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	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/Advice/AdviceTransport.feature:36)
And Go to transport details "LOAD" 000ms
And Expand advice panel 000ms
Then Check are advice values equals after edition 000ms
After Hooks.deleteTransportAfterTest() 165ms
View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 277ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 344ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 028ms
When Show all transport types 1s 166ms
And Click button advice in transport table "CONTAINER" 210ms
And Set advice window in schedule 2s 738ms
And Fill advice form 14s 924ms
And Click advice save button and wait for advice form to disappear 10s 809ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
	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.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:169)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Advice/AdviceTransport.feature:57)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "CONTAINER" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 202ms
View Feature Advice transport
Scenario Outline Check if it is possible to advice by advice button in transport table
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 450ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 368ms
And Get inputs from database "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 025ms
When Show all transport types 1s 172ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 252ms
And Set advice window in schedule 7s 102ms
And Fill advice form 15s 139ms
java.lang.AssertionError: Nie można wypełnić pola phone-number-prefix, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Advice/AdviceTransport.feature:56)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 121ms
View Feature Auctions Mail
Scenario Outline Check mail after bid has been added to auction
Steps
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 3s 331ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 093ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/630506 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AuctionMail.feature:33)
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 000ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 000ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 000ms
And Wait till auction end 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Dodano nową ofertę" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 077ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/630506 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 CRUD ramp
Scenario Outline Check if it is possible to edit ramp
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 088ms
And Go to "SETTINGS_TAB" 657ms
And Go to warehouse "Gądki" 1s 365ms
And Click add ramp button 1s 182ms
And Fill new ramp form 3s 252ms
And Click save ramp button 1s 145ms
And Click back to warehouse button 1s 204ms
And Set ramp id 15s 088ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@data-field-name='ramp-section']//p[text()='Rampa testowa' and not(contains(@class, 'disabled'))]//a}
	at sun.reflect.GeneratedConstructorAccessor217.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.Settings.WarehousePage.getEditRampButton(WarehousePage.java:40)
	at CucumberTests.Warehouse.RampTest.getRampId(RampTest.java:34)
	at CucumberTests.Warehouse.RampTest.setRampId(RampTest.java:80)
	at ✽.Set ramp id(file:Features/Atom/Ramp/Ramp.feature:12)
When Click edit ramp button 000ms
And Fill edit ramp form 000ms
And Click save ramp button 000ms
And Click back to warehouse button 000ms
Then Verify if ramp is visible in warehouse details 000ms
After Hooks.deleteRampAfterTest() 001ms
View Feature Company
Scenario Outline Check if admin can manage partnership of supplier with carrier in contractor's details - adding partnership [A-7386]
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 035ms
And Go to "COMPANIES_TAB" 701ms
And Go to company "Dostawca Adama Automat 1" details 523ms
Then Verify that user has correct partnership management permissions "adama-admin" 371ms
And Set existing partnerships 15s 112ms
When Go to form for adding a new single partnership 211ms
Then Verify that partnership form is visible 112ms
And Verify that each company suggested in partnership form is "Przewoźnik" 1s 279ms
When Fill partnership form 16s 979ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@type='submit']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//button[@type='submit']}
	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.checkElementIsDisabled(BasePage.java:210)
	at CucumberTests.Company.EditCompanyTest.fillPartnershipForm(EditCompanyTest.java:209)
	at ✽.Fill partnership form(file:Features/Atom/Companies/Company.feature:81)
Then Check if "single" contractor is "visible" on partnership list "connectedCompany" 000ms
When Go to "CARRIER_TAB" 000ms
And Go to details of company in partnership 000ms
Then Check if "single" contractor is "invisible" on partnership list "Dostawca Adama Automat 1" 000ms
After Hooks.removeAllPartnership() 17s 231ms
View Feature Company
Scenario Outline Check if admin can manage partnership of supplier with carrier in contractor's details - adding partnership [A-7386]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 675ms
And Go to "COMPANIES_TAB" 823ms
And Go to company "Przewoźnik Neuca Automat 3" details 539ms
Then Verify that user has correct partnership management permissions "neuca-admin" 338ms
And Set existing partnerships 15s 105ms
When Go to form for adding a new single partnership 231ms
Then Verify that partnership form is visible 103ms
And Verify that each company suggested in partnership form is "Dostawca" 1s 330ms
When Fill partnership form 32s 418ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@type='submit']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//button[@type='submit']}
	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.checkElementIsDisabled(BasePage.java:210)
	at CucumberTests.Company.EditCompanyTest.fillPartnershipForm(EditCompanyTest.java:209)
	at ✽.Fill partnership form(file:Features/Atom/Companies/Company.feature:81)
Then Check if "single" contractor is "visible" on partnership list "connectedCompany" 000ms
When Go to "COMPANIES_TAB" 000ms
And Go to details of company in partnership 000ms
Then Check if "single" contractor is "visible" on partnership list "Przewoźnik Neuca Automat 3" 000ms
After Hooks.removeAllPartnership() 17s 192ms
View Feature Crud Transport
Scenario Outline Check if it possible to create new transport with advice
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 020ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 332ms
When Go to new transport "DELIVERY" 604ms
And Fill transport form 13s 505ms
And Click "save-transport" save button and wait for form to disappear 30s 205ms
And Set advice window in schedule 2s 397ms
And Check is transport created in schedule and set transport id 15s 106ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.getTransportId(SchedulePage.java:167)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:160)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/Transport/CrudTransport.feature:11)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Check are transport values equals 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_OWN_COLLECTION" "super-admin-adama" 022ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 354ms
When Go to new transport "OWN_COLLECTION" 656ms
And Fill transport form 20s 598ms
And Click "save-transport" save button and wait for form to disappear 30s 225ms
And Set advice window in schedule 2s 364ms
And Check is transport created in schedule and set transport id 15s 114ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.getTransportId(SchedulePage.java:167)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:160)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/Transport/CrudTransport.feature:11)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 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_DELIVERY" "super-admin-alrec" 021ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 190ms
When Go to new transport "DELIVERY" 645ms
And Fill transport form 21s 172ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='Magazyn Alrec Łódź'] | //li[text()='Magazyn Alrec Łódź' 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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//li//span[text()='Magazyn Alrec Łódź'] | //li[text()='Magazyn Alrec Łódź' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor217.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.CreateTransport.fillTransportForm(CreateTransport.java:183)
	at ✽.Fill transport form(file:Features/Atom/Transport/CrudTransport.feature:8)
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
Then 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_TRANSPORT_ORDER" "super-admin-alrec" 021ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 109ms
When Go to new transport "TRANSPORT_ORDER" 694ms
And Fill transport form 29s 856ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//li//span[text()='Magazyn Alrec Łódź'] | //li[text()='Magazyn Alrec Łódź' 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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//li//span[text()='Magazyn Alrec Łódź'] | //li[text()='Magazyn Alrec Łódź' and @role='option']}
	at sun.reflect.GeneratedConstructorAccessor217.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.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 "true" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
And Check are transport values equals 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_INBOUND_WITHOUT_WAREHOUSES" "super-admin-alrec" 021ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 222ms
When Go to new transport "INBOUND" 661ms
And Fill transport form 42s 938ms
And Click "save-transport-and-close" save button and wait for form to disappear 25s 701ms
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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
	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:198)
	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/CrudTransport.feature:39)
And Show all transport "true" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "INBOUND" 000ms
And Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 213ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-adama" 020ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 105ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@53d13a22
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/CrudTransport.feature:70)
And Show all transport "false" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "DELIVERY" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 112ms
And Get inputs from database "EDIT_OWN_COLLECTION" "super-admin-adama" 019ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-adama" 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@3ff681cf
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/CrudTransport.feature:70)
And Show all transport "false" 000ms
When Go to transport details "OWN_COLLECTION" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if it is possible to edit transport
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 243ms
And Get inputs from database "EDIT_TANKER_GRANULATE_DELIVERY" "super-admin-keeeper" 018ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 439ms
And Show all transport "false" 077ms
When Go to transport details "TANKER_GRANULATE_DELIVERY" 2s 835ms
And Fill transport form 40s 891ms
And Click "save-transport-and-close" save button and wait for form to disappear 467ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	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/CrudTransport.feature:74)
And Go to transport details "TANKER_GRANULATE_DELIVERY" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 250ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 138ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-adama" 023ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 087ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@2d17f63f
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/CrudTransport.feature:131)
And Show all transport "false" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport" save button 000ms
And Click cancel button in transport form 000ms
And Go to transport details "DELIVERY" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 086ms
And Get inputs from database "EDIT_OWN_COLLECTION" "super-admin-adama" 020ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-adama" 084ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@666cfb6c
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/CrudTransport.feature:131)
And Show all transport "false" 000ms
When Go to transport details "OWN_COLLECTION" 000ms
And Fill transport form 000ms
And Click "save-transport" save button 000ms
And Click cancel button in transport form 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Crud Transport
Scenario Outline Check if it is possible use save and cancel combination after editing transport
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 294ms
And Get inputs from database "EDIT_TANKER_GRANULATE_DELIVERY" "super-admin-keeeper" 018ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 488ms
And Show all transport "false" 077ms
When Go to transport details "TANKER_GRANULATE_DELIVERY" 2s 830ms
And Fill transport form 40s 411ms
And Click "save-transport" save button 854ms
And Click cancel button in transport form 155ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 2s 642ms
Then Check are transport values equals 2s 114ms
java.lang.AssertionError: Wartości w formularzu w polu verifications-of-transport są niepoprawne, wartość na stronie:  wartość poprawna: TAK
	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() 144ms
View Feature DedicatedWindow
Scenario Outline Check if it is possible to resize dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 533ms
And Go to "WAREHOUSE_TAB" 1s 158ms
And Select "PHA1" to create dedicated window for 2s 484ms
And Click in free spot in schedule page to create dedicated window 2s 195ms
When Check if dedicated window for "PHA1" is in the schedule 144ms
Then Set time window height "2" "dedicatedWindow" 5s 670ms
And Check height of the time window after expanding by "2" in "dedicatedWindow" 067ms
org.junit.ComparisonFailure: Okno nie zmieniło swojego rozmiaru expected:<[6]0,00> but was:<[2]0,00>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:49)
	at ✽.Check height of the time window after expanding by "2" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:38)
And Set time window height "-2" "dedicatedWindow" 000ms
And Check height of the time window after expanding by "-2" in "dedicatedWindow" 000ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 292ms
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 520ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 158ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/23488184 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/DiscrepancyReportMail.feature:6)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 000ms
And Fill transport form 000ms
And Open section: "discrepancy-report-panel" 000ms
And Fill discrepancy report section 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 000ms
And Generate discrepancy report 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Utworzono protokół niezgodności" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/23488184 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	at sun.reflect.GeneratedMethodAccessor249.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.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 Edit transport using pencil
Scenario Outline Check if it possible to edit transport by pencil
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 315ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 187ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@404bf173
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/PencilEdition.feature:6)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
Then Check if transport is in new location in schedule 000ms
And Check if dates in transport form are correct 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Edit transport using pencil
Scenario Outline Check if it possible to edit transport after editing by pencil button
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 123ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@445905b6
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/PencilEdition.feature:43)
And Show all transport "false" 000ms
When Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Move advice window "3" 000ms
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature Filters
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-sempertrans" 146ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 319ms
When Login as "sempertrans-admin" 2s 131ms
And Go to "TRANSPORT_TABLE" 431ms
And Show all transport "false" 083ms
And Select transportType "DELIVERY" 1s 276ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 259ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 1s 337ms
And Select transportType "DELIVERY" 1s 267ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 278ms
Then Verify if new transport appear in transport table with polling "true" 022ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at CucumberTests.Filters.FilterTransportTest.verifyThatClassificationResourceIsInClassificationsTable(FilterTransportTest.java:71)
	at ✽.Verify if new transport appear in transport table with polling "true"(file:Features/Atom/Filters/Filter.feature:61)
After Hooks.deleteAllTransports() 1m 2s 405ms
View Feature Filters
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-alrec" 128ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 436ms
When Login as "alrec-admin" 2s 099ms
And Go to "TRANSPORT_TABLE" 367ms
And Show all transport "true" 233ms
And Select transportType "DELIVERY" 1s 279ms
And Fill text based "CONTRACTOR" filter with "DAA1" 247ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 1s 433ms
And Select transportType "DELIVERY" 1s 222ms
And Fill text based "CONTRACTOR" filter with "DAA1" 222ms
Then Verify if new transport appear in transport table with polling "true" 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at CucumberTests.Filters.FilterTransportTest.verifyThatClassificationResourceIsInClassificationsTable(FilterTransportTest.java:71)
	at ✽.Verify if new transport appear in transport table with polling "true"(file:Features/Atom/Filters/Filter.feature:61)
After Hooks.deleteAllTransports() 47s 552ms
View Feature Filters
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-sempertrans" 118ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 321ms
When Login as "sempertrans-admin" 2s 018ms
And Go to "TRANSPORT_TABLE" 419ms
And Show all transport "false" 084ms
And Select transportType "DELIVERY" 1s 271ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 250ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 1s 361ms
And Select transportType "DELIVERY" 1s 263ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 244ms
Then Verify if new transport appear in transport table with polling "false" 014ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at CucumberTests.Filters.FilterTransportTest.verifyThatClassificationResourceIsInClassificationsTable(FilterTransportTest.java:71)
	at ✽.Verify if new transport appear in transport table with polling "false"(file:Features/Atom/Filters/Filter.feature:61)
After Hooks.deleteAllTransports() 1m 2s 244ms
View Feature Filters
Scenario Outline Check if transports are visible in table when using filter that does\doesn't apply to all created transports
Steps
Given Set token of apiUsername "super-admin-alrec" 120ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 343ms
When Login as "alrec-admin" 2s 041ms
And Go to "TRANSPORT_TABLE" 401ms
And Show all transport "true" 269ms
And Select transportType "DELIVERY" 1s 310ms
And Fill text based "CONTRACTOR" filter with "DAA1" 244ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 1s 445ms
And Select transportType "DELIVERY" 1s 214ms
And Fill text based "CONTRACTOR" filter with "DAA1" 228ms
Then Verify if new transport appear in transport table with polling "false" 013ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at CucumberTests.Filters.FilterTransportTest.verifyThatClassificationResourceIsInClassificationsTable(FilterTransportTest.java:71)
	at ✽.Verify if new transport appear in transport table with polling "false"(file:Features/Atom/Filters/Filter.feature:61)
After Hooks.deleteAllTransports() 47s 645ms
View Feature Gray Window atom tests
Scenario Outline Check if it is possible to move gray window in the same day at the same ramp
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 012ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 165ms
When Go to "WAREHOUSE_TAB" 546ms
And Select warehouse "Magazyn Alrec Łódź" 15s 237ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/TimeWindow/GrayWindow.feature:9)
And Go to next day in schedule 000ms
And Move gray window to new location 000ms
Then Check if gray window is in new location 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 157ms
View Feature Gray Window atom tests
Scenario Outline Check if possible to create gray window
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 016ms
When Go to "WAREHOUSE_TAB" 573ms
And Select warehouse "Magazyn Alrec Łódź" 15s 244ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/TimeWindow/GrayWindow.feature:24)
When Click in free spot in schedule page to create gray window 000ms
Then Check if gray window is in the schedule 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 000ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:208)
	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 Gray Window atom tests
Scenario Outline Check if possible to delete gray window
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 321ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 060ms
When Go to "WAREHOUSE_TAB" 593ms
And Select warehouse "Magazyn Alrec Łódź" 15s 256ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/TimeWindow/GrayWindow.feature:39)
And Set week view 000ms
When Delete gray window from schedule 000ms
Then Check if gray window is no longer in schedule 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 108ms
View Feature Gray Window atom tests
Scenario Outline Check if it possible to resize gray window
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 057ms
And Create "CREATE_GRAY_WINDOW_MAL" window by JSON file for test as "super-admin-alrec" 074ms
When Go to "WAREHOUSE_TAB" 583ms
And Select warehouse "Magazyn Alrec Łódź" 15s 233ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/TimeWindow/GrayWindow.feature:55)
And Set week view 000ms
And Set time window height "4" "grayWindow" 000ms
Then Check height of the time window after expanding by "4" in "grayWindow" 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 113ms
View Feature Gray Window atom tests
Scenario Outline Check if it is possible to create note on gray window [A-3803]
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 955ms
And Go to "WAREHOUSE_TAB" 573ms
And Select warehouse "Magazyn Alrec Łódź" 15s 218ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/TimeWindow/GrayWindow.feature:82)
When Click in free spot in schedule page to create gray window 000ms
And Add note text "Testowa notatka" on gray window 000ms
Then Verify if added text "Testowa notatka" is visible on gray window note 000ms
Hooks
After Hooks.deleteAllGrayWindowsAfterTest() 001ms
java.lang.NullPointerException: Nie udalo sie pobrać id szarego okna
	at CucumberTests.Hooks.deleteAllGrayWindowsAfterTest(Hooks.java:208)
	at sun.reflect.GeneratedMethodAccessor285.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.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-piast" 122ms
And Delete invitations with email "automatyy19q@test.pl" 014ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 468ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 473ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@2c8eb04e
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:25)
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 000ms
And Fill tax id registration page "byJSON" 000ms
And Verify that user is redirected to registration page 000ms
And Register to application "SUPPLIER" 000ms
Then Check if user can be logged "automatyy19q@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 199ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:301)
	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" 120ms
And Delete invitations with email "automatyy2871q@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 491ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 175ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@43ebc9b5
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:25)
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 000ms
And Fill tax id registration page "byJSON" 000ms
And Verify that user is redirected to registration page 000ms
And Register to application "SUPPLIER" 000ms
Then Check if user can be logged "automatyy2871q@test.pl" 000ms
Hooks
After Hooks.cleanUpAfterTest() 164ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:301)
	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" 124ms
And Delete invitations with email "automaty31415@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 466ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 301ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@cc3d2e4
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:48)
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 000ms
And Fill tax id registration page "byJSON" 000ms
And Register to application "SUPPLIER" 000ms
And Wait "5" seconds 000ms
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() 270ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:301)
	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-alrec" 119ms
And Delete invitations with email "automaty2871q@test.pl" 012ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 491ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 169ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@4f0e935d
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:48)
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 000ms
And Fill tax id registration page "byJSON" 000ms
And Register to application "SUPPLIER" 000ms
And Wait "5" seconds 000ms
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() 170ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:301)
	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 user has accepted invitation from principal after accepting invitation by another user from company
Steps
Given Set token of apiUsername "super-admin-farmacol" 118ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 252ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 299ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@74d5c83
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:85)
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 000ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Accept invitation 000ms
And If user is login then logout 000ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 000ms
And Verify if user has visible "no waiting" invitation 000ms
And Verify if user has visible "accepted" invitation 000ms
And Verify if user can see "Farmacol" on principal switch dropdown 000ms
After Hooks.cleanUserDetailsAfterTest() 202ms
View Feature Invitation
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 250ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 937ms
And Go to "USERS_TAB" 1s 272ms
And Find user "automaty1591qa@test.pl" 17s 624ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty1591qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
After Hooks.cleanUpAfterTest() 1s 137ms
View Feature Invitation
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 080ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 1s 618ms
And Go to "USERS_TAB" 1s 003ms
And Find user "automaty1231qa@test.pl" 17s 539ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty1231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
After Hooks.cleanUpAfterTest() 845ms
View Feature Invitation
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 262ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 702ms
And Go to "USERS_TAB" 1s 141ms
And Find user "automaty9231qa@test.pl" 17s 587ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty9231qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
After Hooks.cleanUpAfterTest() 1s 039ms
View Feature Invitation
Scenario Outline Check if invitation cant be sent to already used username
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 767ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 923ms
And Go to "USERS_TAB" 1s 228ms
And Find user "automaty7221qa@test.pl" 17s 581ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//./ancestor::tr//td[@data-field-name='edit']//a"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//./ancestor::tr//td[@data-field-name='edit']//a}
	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.findElement(RemoteWebElement.java:179)
	at org.openqa.selenium.remote.RemoteWebElement.findElementByXPath(RemoteWebElement.java:255)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebElement.findElement(RemoteWebElement.java:175)
	at Pages.User.UsersPage.findLinkToUserEdition(UsersPage.java:32)
	at Pages.User.UsersPage.goToUserEdition(UsersPage.java:25)
	at CucumberTests.User.EditUserTest.findUser(EditUserTest.java:158)
	at ✽.Find user "automaty7221qa@test.pl"(file:Features/Atom/Invitations/Invitation.feature:105)
And Change user details "email" to "apolloautomattest@test.pl" 000ms
And Save user details 000ms
When Go to "INVITATIONS_TAB" 000ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 000ms
Then Verify that invitation can't be sent on already used username 000ms
After Hooks.cleanUpAfterTest() 1s 220ms
View Feature Invitation
Scenario Outline Check if accepted invitation is visible in accepted tab
Steps
Given Set token of apiUsername "super-admin-piast" 122ms
And Delete invitations with email "automaty31415@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 011ms
And If user is login then logout 619ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 189ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@6e44f06c
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:139)
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "byJSON" 000ms
And Register to application "SUPPLIER" 000ms
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() 184ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.cleanUpAfterTest(Hooks.java:301)
	at sun.reflect.GeneratedMethodAccessor237.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.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 expired invitation is visible in expired tab
Steps
Given Set token of apiUsername "super-admin-piast" 121ms
And Delete invitations with email "automaty31415@test.pl" 014ms
And If user is login then logout 15s 079ms
Given Set token of apiUsername "super-admin-piast" 119ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 059ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 054ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 190ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@22d989c0
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:160)
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to "EXPIRED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	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.rollbackSettings() 046ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 124ms
And Delete invitations with email "automaty31415@test.pl" 012ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 105ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file(file:Features/Atom/Invitations/Invitation.feature:173)
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
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() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	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() 073ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 260ms
And Delete invitations with email "automatyy43@test.pl" 015ms
When Go to "INVITATIONS_TAB" 494ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 353ms
Then Check content of message about invitation "GUSAlert" 15s 046ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 028ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 209ms
And Delete invitations with email "automatyy45@test.pl" 017ms
When Go to "INVITATIONS_TAB" 488ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 337ms
Then Check content of message about invitation "GUSAlert" 15s 034ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 026ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 197ms
And Delete invitations with email "automatyy46@test.pl" 015ms
When Go to "INVITATIONS_TAB" 496ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 387ms
Then Check content of message about invitation "GUSAlert" 15s 044ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 801ms
And Delete invitations with email "automatyy47@test.pl" 014ms
When Go to "INVITATIONS_TAB" 460ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 489ms
Then Check content of message about invitation "GUSAlert" 15s 060ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 255ms
And Delete invitations with email "automatyy48@test.pl" 014ms
When Go to "INVITATIONS_TAB" 453ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 448ms
Then Check content of message about invitation "GUSAlert" 15s 078ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Scenario Outline Check if the registrant provided a non-compliant NIP, the appropriate message will be displayed [A-7285]
Steps
Given Set token of apiUsername "super-admin-piast" 224ms
And Delete invitations with email "automatyy99@test.pl" 015ms
And If user is login then logout 586ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 394ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 355ms
And Verify that user is redirected to registration page 278ms
And Fill tax id registration page "notbyJSON" 15s 078ms
java.lang.AssertionError: Formularz do podania NIP'u nie pojawił się
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.RegistrationTest.fillTaxIdRegistrationPage(RegistrationTest.java:131)
	at ✽.Fill tax id registration page "notbyJSON"(file:Features/Atom/Invitations/Invitation.feature:218)
Then Check if non-compliant NIP message is displayed 000ms
After Hooks.deleteInvitationAfterTest() 048ms
View Feature Invitation
Scenario Outline Check if permission to edit data from the GUS works correctly [A-7284]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 939ms
And Delete invitations with email "automatyy3333@test.pl" 016ms
When Go to "INVITATIONS_TAB" 478ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 2s 383ms
Then Check content of message about invitation "GUSAlert" 15s 071ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:243)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 000ms
And Fill tax id registration page "notByJSON" 000ms
And Register to application "CARRIER" 000ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 000ms
And Go to "COMPANIES_TAB" 000ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 000ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 000ms
Hooks
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 206ms
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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable(Hooks.java:666)
	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 permission to edit data from the GUS works correctly [A-7284]
Steps
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 588ms
And Delete invitations with email "automatyy3338@test.pl" 015ms
When Go to "INVITATIONS_TAB" 504ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 2s 367ms
Then Check content of message about invitation "GUSAlert" 15s 137ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:243)
And If user is login then logout 000ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 000ms
And Fill tax id registration page "notByJSON" 000ms
And Register to application "CARRIER" 000ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 000ms
And Go to "COMPANIES_TAB" 000ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 000ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 000ms
Hooks
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 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:206)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:182)
	at CucumberTests.Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable(Hooks.java:666)
	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" 131ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 241ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 946ms
And Go to "INVITATIONS_TAB" 475ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 237ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:409)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:44)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:51)
	at ✽.Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL"(file:Features/Atom/Invitations/Invitation.feature:347)
And Wait "3" seconds 000ms
Then Create invitation success alert is displayed 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	at sun.reflect.GeneratedMethodAccessor238.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.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() 223ms
View Feature Invoice
Scenario Outline Check default value of currency in invoice form [A-7389]
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 3s 245ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 415ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 097ms
When Click invoice button 2s 651ms
And Set default invoice currency value 158ms
Then Check that default currency value in invoice form is "EUR" 140ms
When Change invoice default currency value in database for "USD" transport type alias "SMALLS_IMPORT" and principal alias "swisskrono" 102ms
And Clear all cache 2s 377ms
And Login as "swisskrono-admin" 2s 518ms
And Go to "TRANSPORT_TABLE" 361ms
And Show all transport types 1s 182ms
And Click invoice button 289ms
Then Check that default currency value in invoice form is "USD" 168ms
java.lang.AssertionError: Domyślną walutą dla tego pryncypała powinno być USD!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.InvoiceTest.checkThatDefaultCurrencyValueInInvoiceFormIs(InvoiceTest.java:33)
	at ✽.Check that default currency value in invoice form is "USD"(file:Features/Atom/Transport/TransportTable/Invoice.feature:17)
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.rollbackInvoiceCurrency() 2s 291ms
View Feature Invoice
Scenario Outline Check default value of currency in invoice form [A-7389]
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 831ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 427ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 099ms
When Click invoice button 2s 713ms
And Set default invoice currency value 202ms
Then Check that default currency value in invoice form is "EUR" 153ms
When Change invoice default currency value in database for "USD" transport type alias "SMALLS_EXPORT" and principal alias "swisskrono" 113ms
And Clear all cache 2s 213ms
And Login as "swisskrono-admin" 2s 513ms
And Go to "TRANSPORT_TABLE" 419ms
And Show all transport types 1s 180ms
And Click invoice button 296ms
Then Check that default currency value in invoice form is "USD" 188ms
java.lang.AssertionError: Domyślną walutą dla tego pryncypała powinno być USD!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.InvoiceTest.checkThatDefaultCurrencyValueInInvoiceFormIs(InvoiceTest.java:33)
	at ✽.Check that default currency value in invoice form is "USD"(file:Features/Atom/Transport/TransportTable/Invoice.feature:17)
After Hooks.deleteTransportAfterTest() 241ms
After Hooks.rollbackInvoiceCurrency() 2s 179ms
View Feature Login feature
Scenario Outline Verify that password reset cancel login blockade [A-7286]
Steps
Given Set token of apiUsername "super-admin-skd" 122ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 026ms
Given Failed login as "swiss-krono-delivery-admin" 1s 344ms
Then Verify that login error reason is "auth.invalidLoginOrPassword" 319ms
Given Try login as "swiss-krono-delivery-admin" 1s 440ms
Then Verify that login error reason is "auth.accountLocked" 15s 102ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-field-name='login-error-reason']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@data-field-name='login-error-reason']}
	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.LoginPage.findLoginErrorAlert(LoginPage.java:67)
	at CucumberTests.LoginTest.verifyThatLoginErrorReasonIs(LoginTest.java:114)
	at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:17)
Given Click remind password button 000ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 000ms
And Send remind password form with email "apolloautomattest@gmail.com" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Restart hasła! | Password reset!" 000ms
And Extract password from mail 000ms
And Reset password from link 000ms
Then Login as "swiss-krono-delivery-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 016ms
After Hooks.unlockUsers() 132ms
View Feature Login feature
Scenario Outline Check if blocking of user will end after a lockout time [A-7288]
Steps
Given Set token of apiUsername "super-admin-sempertrans" 220ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 029ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 023ms
When Failed login as "sempertrans-admin" 1s 269ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 275ms
And Failed login as "sempertrans-admin" 1s 202ms
And Verify that login error reason is "auth.accountLocked" 281ms
org.junit.ComparisonFailure: expected: but was:
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests.LoginTest.verifyThatLoginErrorReasonIs(LoginTest.java:116)
	at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:55)
Then Wait "62" seconds 000ms
And Login as "sempertrans-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 027ms
After Hooks.unlockUsers() 129ms
View Feature Login feature
Scenario Outline Check if blocking of user will end after a lockout time [A-7288]
Steps
Given Set token of apiUsername "super-admin-adama" 116ms
And Prepare parameter "NUMBER_OF_FAILED_LOGIN_ATTEMPTS" with value: "1" 034ms
And Prepare parameter "BLOCKED_USER_DURATION_IN_MINUTES" with value: "1" 021ms
When Failed login as "adama-admin" 1s 196ms
And Verify that login error reason is "auth.invalidLoginOrPassword" 317ms
And Failed login as "adama-admin" 1s 274ms
And Verify that login error reason is "auth.accountLocked" 315ms
org.junit.ComparisonFailure: expected: but was:
	at org.junit.Assert.assertEquals(Assert.java:115)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests.LoginTest.verifyThatLoginErrorReasonIs(LoginTest.java:116)
	at ✽.Verify that login error reason is "auth.accountLocked"(file:Features/Atom/Logins/Login.feature:55)
Then Wait "62" seconds 000ms
And Login as "adama-admin" 000ms
And User is successfully logged 000ms
After Hooks.rollbackParameters() 027ms
After Hooks.unlockUsers() 149ms
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" 116ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 042ms
And Mark custom fields as not obligatory 006ms
And Login as "dayco-admin" 1s 988ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 360ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 071ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 029ms
When Go to "TRANSPORT_TABLE" 357ms
And Click button advice in transport table "OWN_COLLECTION" 1s 761ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 449ms
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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
	at sun.reflect.GeneratedConstructorAccessor220.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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)
	at CucumberTests.Transport.AdviceTransport.adviceTransport(AdviceTransport.java:72)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:60)
	at ✽.Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:46)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned-magazyn-tychy" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait "12" seconds 000ms
Then Go to "ARCHIVE_TAB" 000ms
And Show "OWN_COLLECTION" 000ms
And Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 098ms
After Hooks.rollbackAllCustomFieldsSettings() 146ms
After Hooks.rollbackSettings() 039ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 019ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 504ms
When Add transport by SKApi in "MGW" 028ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 541ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 024ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 361ms
When Add transport by SKApi in "MGW" 026ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 545ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "CONTAINER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 020ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 415ms
When Add transport by SKApi in "MGW" 019ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 486ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 019ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 3s 556ms
When Add transport by SKApi in "HRL" 025ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 630ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 020ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 465ms
When Add transport by SKApi in "HRL" 023ms
Then Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 632ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "CONTAINER" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi
Steps
Given Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 023ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 418ms
When Add transport by SKApi in "HRL" 032ms
Then Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 458ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "OWN_COLLECTION" 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it possible to create new transport by SKApi with specific client name
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 021ms
And Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 359ms
And Set another client name "Pepsi" 001ms
When Add transport by SKApi in "MGW" 024ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 591ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:27)
And Check client name in database "Pepsi" "TRANSPORT_ORDER" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK API - Creation of the Transport
Scenario Outline Check if it transport created by SKApi without `warehouse_alias` field is in default warehouse
Steps
Given Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 023ms
And Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz" 2s 340ms
When Add transport by SKApi in "" 026ms
Then Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 509ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:38)
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check if transport has warehouse "MGW" in step section "0" 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 422ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 022ms
And Add transport by SKApi in "MGW" 020ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 459ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When Click button advice in transport table "CONTAINER" 000ms
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 "CONTAINER" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 457ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 020ms
And Add transport by SKApi in "MGW" 022ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 015ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 547ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When Click button advice in transport table "OWN_COLLECTION" 000ms
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 "OWN_COLLECTION" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 546ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 023ms
And Add transport by SKApi in "MGW" 022ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 016ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 518ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When Click button advice in transport table "TRANSPORT_ORDER" 000ms
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 "TRANSPORT_ORDER" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 239ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 025ms
And Add transport by SKApi in "MGW" 022ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 016ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 591ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When Click button advice in transport table "OWN_COLLECTION" 000ms
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
Then Check advice data in SK API database "OWN_COLLECTION" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK Api - Advice transport
Scenario Outline Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 296ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 025ms
And Add transport by SKApi in "MGW" 020ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 016ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 522ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When Click button advice in transport table "CONTAINER" 000ms
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
Then Check advice data in SK API database "CONTAINER" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK Api - Advice transport
Scenario Outline Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 391ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 021ms
And Add transport by SKApi in "MGW" 022ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 015ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 551ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When Click button advice in transport table "TRANSPORT_ORDER" 000ms
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
Then Check advice data in SK API database "TRANSPORT_ORDER" 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if not possible to advice transport in the past when advice is created from transports table and transport is created by sk API
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 342ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 020ms
And Add transport by SKApi in "MGW" 021ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 466ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:50)
When Click button advice in transport table "CONTAINER" 000ms
And Set advice window in schedule in the past 000ms
And Fill advice form 000ms
And Click advice save button to check error message 000ms
Then Check if possible advice alert is displayed 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 448ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 024ms
And Add transport by SKApi in "MGW" 023ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 016ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 1m 33s 545ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And Create advice "CREATE_ADVICE" "OWN_COLLECTION" "super-admin-skz" 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "OWN_COLLECTION" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Fill arrival date field 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
Then Check advice data in database after edition "OWN_COLLECTION" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK Api - Advice transport
Scenario Outline Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 376ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 023ms
And Add transport by SKApi in "MGW" 019ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 016ms
And Check is transport "CONTAINER" created in transport table and set transport id 1m 33s 545ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And Create advice "CREATE_ADVICE" "CONTAINER" "super-admin-skz" 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "CONTAINER" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Fill arrival date field 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
Then Check advice data in database after edition "CONTAINER" 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature SK Api - Advice transport
Scenario Outline Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 295ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 027ms
And Add transport by SKApi in "MGW" 023ms
And Get inputs from database "EDIT_ADVICE" "super-admin-skz" 016ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 605ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And Create advice "CREATE_ADVICE" "TRANSPORT_ORDER" "super-admin-skz" 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Go to transport details "TRANSPORT_ORDER" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Fill arrival date field 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
Then Check advice data in database after edition "TRANSPORT_ORDER" 000ms
After Hooks.deleteTransportAfterTest() 001ms
View Feature SK Api - Statuses confirmation
Scenario Outline Check if it is possible to confirm statuses by SkApi
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 186ms
When Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 024ms
And Add transport by SKApi in "MGW" 1s 759ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 1m 33s 513ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
	at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiConfirmStatuses.feature:8)
And Click button advice in transport table "TRANSPORT_ORDER" 000ms
And Set advice window in schedule 000ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Find transport in table with status "planned" 000ms
And Confirm statuses until reach "left-the-factory" through SKAPI 000ms
Then Check if transport has "left-the-factory" 000ms
After Hooks.deleteTransportAfterTest() 000ms
View Feature Schedule
Scenario Outline Check if it is possible to click on every spot in schedule
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 173ms
When Go to "WAREHOUSE_TAB" 597ms
And Select warehouse "Magazyn Alrec Łódź" 15s 262ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/Schedule/Schedule.feature:6)
And Select view "DAY" 000ms
Then Click on every spot and check if time window was created 000ms
And Check if warehouse is empty 000ms
View Feature Schedule
Scenario Outline Check if it is possible to click on every spot in template schedule
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 342ms
When Go to "WAREHOUSE_TAB" 539ms
And Select warehouse "Magazyn Alrec Łódź" 15s 202ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//ul//span[contains(@class,'') and text()='Magazyn Alrec Łódź']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.selectWarehouseFromSelect(SchedulePage.java:245)
	at CucumberTests.GrayWindow.CreateGrayWindowTest.selectWarehouse(CreateGrayWindowTest.java:121)
	at ✽.Select warehouse "Magazyn Alrec Łódź"(file:Features/Atom/Schedule/Schedule.feature:21)
And Go to template schedule 000ms
Then Click on every spot and check if time window was created 000ms
And Check if warehouse is empty 000ms
View Feature Sorting
Scenario Outline Check if transports are correctly sorted after logging in again
Steps
Given Set token of apiUsername "super-admin-neuca" 115ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 075ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 15s 339ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 15s 482ms
When Confirm status "ARRIVE" by Public API "v1" 211ms
And Login as "neuca-admin" 1s 971ms
When Go to "TRANSPORT_TABLE" 578ms
And Click button "STATUS" "2" times 3s 279ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 140ms
Then If user is login then logout 423ms
And Login as "neuca-admin" 1s 744ms
And Go to "TRANSPORT_TABLE" 605ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 151ms
java.lang.AssertionError: Niepoprawna kolejność elementów expected:<[Zaplanowany, Na terenie]> but was:<[Na terenie, Zaplanowany]>
	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.Sorting.SortingTest.verifyThatValuesInAreSortedIn(SortingTest.java:86)
	at ✽.Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY"(file:Features/Atom/Sorting/Sorting.feature:87)
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 32s 547ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses by user
Steps
Given Set token of apiUsername "super-admin-adama" 117ms
And Get custom field settings for "DELIVERY" transport type and "adama" company 041ms
And Mark custom fields as not obligatory 008ms
And Login as "adama-admin" 2s 461ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 440ms
When Find transport in table with status "planned" 3s 706ms
And Confirm statuses until reach "process-ended" 30s 353ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor217.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:300)
	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:11)
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 122ms
After Hooks.rollbackAllCustomFieldsSettings() 132ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - with advice step
Steps
Given Set token of apiUsername "super-admin-hochland" 120ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 068ms
And Mark custom fields as not obligatory 1s 142ms
And Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland" 110ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 302ms
And Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 002ms
And Login as "hochland-admin" 3s 572ms
And Show all transport types 1s 183ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 275ms
And Set advice window in schedule 7s 046ms
And Fill advice form 15s 070ms
java.lang.AssertionError: Nie można wypełnić pola car-registration-number, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:137)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "during-load" 000ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.rollbackAllCustomFieldsSettings() 1s 224ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses when there is customFields blockade and conditions are fulfilled - with advice step
Steps
Given Set token of apiUsername "super-admin-keeeper" 116ms
And Get custom field settings for "LOAD" transport type and "keeeper" company 043ms
And Mark custom fields as not obligatory 192ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 001ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_LOAD_SANITARY_CONDITIONS_CFD" in "LOAD" - "keeeper" by "super-admin-keeeper" 085ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 295ms
And Login as "keeeper-admin" 2s 616ms
And Show all transport types 1s 194ms
And Click button advice in transport table "LOAD" 228ms
And Set advice window in schedule 2s 725ms
And Fill advice form 15s 719ms
And Click advice save button and wait for advice form to disappear 31s 056ms
And Go to "TRANSPORT_TABLE" 426ms
And Find transport in table with status "advice-added" 3s 686ms
When Confirm statuses until reach "arrived" 5s 706ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 482ms
And Check if next status is not possible to confirm in status confirmation modal 242ms
And Set "transport" inputs from JSON file "EDIT_LOAD" "super-admin-keeeper" 001ms
And Click cancel in status confirmation modal 15s 356ms
And Go to transport details "LOAD" 2s 808ms
And Open section: "advice-panel" 1s 172ms
And Fill transport form 28s 683ms
And Click "save-transport-and-close" save button and wait for form to disappear 250ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	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/Statuses/ConfirmStatuses.feature:193)
And Go to transport details "LOAD" 000ms
And Open section: "advice-panel" 000ms
And Fill "meeting-sanitary-and-technical-conditions" in transport form 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 131ms
After Hooks.rollbackAllCustomFieldsSettings() 247ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses when there is customFields blockade and conditions are fulfilled - with advice step
Steps
Given Set token of apiUsername "super-admin-hochland" 118ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 067ms
And Mark custom fields as not obligatory 1s 169ms
And Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 001ms
And Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland" 099ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 300ms
And Login as "hochland-admin" 3s 432ms
And Show all transport types 1s 171ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 275ms
And Set advice window in schedule 7s 031ms
And Fill advice form 15s 131ms
java.lang.AssertionError: Nie można wypełnić pola car-registration-number, 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.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
	at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:181)
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "during-load" 000ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
And Set "transport" inputs from JSON file "EDIT_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 000ms
And Click cancel in status confirmation modal 000ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 000ms
And Open section: "advice-panel" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 000ms
And Open section: "advice-panel" 000ms
And Fill "warehouseman-(u)" in transport form 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 110ms
After Hooks.rollbackAllCustomFieldsSettings() 1s 276ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses when there is customFields blockade and conditions are fulfilled - without advice step
Steps
Given Set token of apiUsername "super-admin-keeeper" 117ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 041ms
And Mark custom fields as not obligatory 150ms
And Set "transport" inputs from JSON file "EDIT_TANKER_GRANULATE_DELIVERY" "super-admin-keeeper" 001ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_TANKER_GRANULATE_DELIVERY_SANITARY_CONDITIONS_CFD" in "TANKER_GRANULATE_DELIVERY" - "keeeper" by "super-admin-keeeper" 088ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 469ms
And Login as "keeeper-admin" 2s 664ms
And Go to "TRANSPORT_TABLE" 423ms
And Find transport in table with status "planned" 3s 663ms
When Confirm statuses until reach "arrived" 5s 761ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 605ms
And Check if next status is not possible to confirm in status confirmation modal 280ms
And Click cancel in status confirmation modal 15s 397ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 2s 823ms
And Fill transport form 40s 908ms
And Click "save-transport-and-close" save button and wait for form to disappear 254ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	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/Statuses/ConfirmStatuses.feature:222)
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 211ms
After Hooks.rollbackAllCustomFieldsSettings() 200ms
View Feature Status rejection
Scenario Outline Check if it is possible to reject status by guard in transport table
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 480ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 099ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/214077014 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Statuses/RejectStatuses.feature:6)
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 000ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 000ms
And Check if reject date is not visible 000ms
When Reject status: Book of disinfection 000ms
And Check if reject date is visible 000ms
Then If user is login then logout 000ms
And Login as "lantmannen-admin" 000ms
And Check if note was added to transport after status rejection 000ms
And Check if history note was added to transport after status rejection - "LOAD" 000ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nieaktualna księga mycia i dezynfekcji" 000ms
And Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 070ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/214077014 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	at sun.reflect.GeneratedMethodAccessor249.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.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 Template
Scenario Outline Check if it is possible save template
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 182ms
When Go to "WAREHOUSE_TAB" 721ms
And Go to template schedule 1s 174ms
And Create template 511ms
Then Check if time windows are in warehouse 19s 244ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@data-window-type='state-disabled'] | //div[@data-window-type='state-template']}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.checkIfWindowsAreInWarehouseAfterCreateTemplate(SchedulePage.java:217)
	at CucumberTests.Schedule.TemplateTest.checkIfTimeWindowsAreInWarehouse(TemplateTest.java:33)
	at ✽.Check if time windows are in warehouse(file:Features/Atom/Schedule/Template.feature:9)
After Hooks.deleteTemplateAfterTest() 121ms
View Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if discrepancy report section will open with validation errors
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 293ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 023ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 486ms
And Go to transport details "DELIVERY" 2s 956ms
And Fill transport form 40s 938ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 274ms
When Go to transport details "DELIVERY" 2s 861ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 700ms
And Click "save-transport" save button 904ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 071ms
And Verify that discrepancy report section contains validation errors 065ms
java.lang.AssertionError: Sekcja: Protokół Niezgodności nie posiada klasy 'has-error'!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportSectionContainsValidationErrors(TransportFormTest.java:184)
	at ✽.Verify that discrepancy report section contains validation errors(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:29)
After Hooks.deleteTransportAfterTest() 224ms
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 349ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 526ms
When Go to "TRANSPORT_TABLE" 441ms
And Go to transport details "DELIVERY" 2s 977ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 993ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 554ms
And Open section: "discrepancy-report-panel" 1s 172ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 029ms
And Fill transport form 40s 973ms
And Fill discrepancy report section without closing the form 22s 366ms
And Generate discrepancy report 1s 510ms
And Download discrepancy report 386ms
Then Verify that discrepancy report file has correct values 022ms
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.findLastDiscrepancyReportId(ApolloSelectDbService.java:159)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:255)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 239ms
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 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 512ms
When Go to "TRANSPORT_TABLE" 422ms
And Go to transport details "DELIVERY" 2s 924ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 022ms
And Fill transport form 41s 006ms
And Open section: "discrepancy-report-panel" 1s 128ms
And Fill discrepancy report section without closing the form 22s 376ms
And Generate discrepancy report 16s 425ms
And Download discrepancy report 369ms
And Verify that discrepancy report file has correct values 016ms
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.findLastDiscrepancyReportId(ApolloSelectDbService.java:159)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:255)
	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() 230ms
View Feature Transport Form - Steps section scenarios
Scenario Outline Check if step time range dates are correct in transport form due to transport type settings [A-7120]
Steps
Given Set token of apiUsername "super-admin-alrec" 118ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 115ms
And Get "TRANSPORT_ORDER" settings from "alrec" 093ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep;numberOfDaysAddedToNextSteps", "10;20" 068ms
And Login as "alrec-admin" 2s 229ms
And Go to "TRANSPORT_TABLE" 364ms
When Go to new transport "TRANSPORT_ORDER" 690ms
And Add step "unload" 202ms
Then Check if time range from in step 0 in "Magazyn Alrec Łódź" is in 10 days 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getWorkStartHourInWarehouse(ApolloSelectDbService.java:394)
	at CucumberTests.Transport.TransportFormTest.checkIfTimeRangeFromInStepInIsInDays(TransportFormTest.java:547)
	at ✽.Check if time range from in step 0 in "Magazyn Alrec Łódź" is in 10 days(file:Features/Atom/Transport/TransportForm/StepsSection.feature:188)
And Check if time range to in step 0 in "Magazyn Alrec Łódź" is in 11 days 000ms
And Check if time range from in step 1 is in 20 days 000ms
And Check if time range to in step 1 is in 21 days 000ms
And Check if time range from in step 2 is in 20 days 000ms
And Check if time range to in step 2 is in 21 days 000ms
After Hooks.rollbackTransportTypeSettings() 063ms
After Hooks.rollbackAddedActionAuthorities() 050ms
View Feature Transport Form - Steps section scenarios
Scenario Outline Check if step time range dates are correct in transport form due to transport type settings [A-7120]
Steps
Given Set token of apiUsername "super-admin-alrec" 116ms
And Add action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 101ms
And Get "TRANSPORT_ORDER" settings from "alrec" 071ms
And Set transportType settings with values: "numberOfDaysAddedToFirstStep;numberOfDaysAddedToNextSteps", "10;20" 069ms
And Login as "alrec-admin" 2s 231ms
And Go to "TRANSPORT_TABLE" 428ms
When Go to new transport "TRANSPORT_ORDER" 680ms
And Add step "unload" 242ms
Then Check if time range from in step 0 in "Magazyn Alrec Łódź" is in 10 days 011ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getWorkStartHourInWarehouse(ApolloSelectDbService.java:394)
	at CucumberTests.Transport.TransportFormTest.checkIfTimeRangeFromInStepInIsInDays(TransportFormTest.java:547)
	at ✽.Check if time range from in step 0 in "Magazyn Alrec Łódź" is in 10 days(file:Features/Atom/Transport/TransportForm/StepsSection.feature:208)
And Check if time range to in step 0 in "Magazyn Alrec Łódź" is in 11 days 000ms
And Check if time range from in step 1 is in 20 days 000ms
And Check if time range to in step 1 is in 21 days 000ms
And Check if time range from in step 2 is in 20 days 000ms
And Check if time range to in step 2 is in 21 days 000ms
After Hooks.rollbackTransportTypeSettings() 071ms
After Hooks.rollbackAddedActionAuthorities() 054ms
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 204ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 339ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 371ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 15s 086ms
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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
	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() 089ms
After Hooks.cleanUserDetailsAfterTest() 257ms
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 187ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 356ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 340ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 15s 242ms
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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
	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() 223ms
After Hooks.cleanUserDetailsAfterTest() 299ms
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 933ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 442ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 348ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 176ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 234ms
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" 238ms
Then If user is login then logout 491ms
And Login as "swisskrono-admin" 1s 935ms
And Go to auction details 1s 497ms
And Pass transport to carrier from auction details 1s 484ms
And Get mail "apolloautomattest@gmail.com" message from mail account with "Nie otrzymano zlecenia" 3m 19s 880ms
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() 236ms
After Hooks.cleanUserDetailsAfterTest() 412ms
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 178ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 346ms
When Go to "TRANSPORT_TABLE" 336ms
And Show all transport "true" 258ms
Then Verify that transport has "1" CMR file 1s 514ms
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() 082ms
View Feature Transport form
Scenario Outline Check if user can add description to transport
Steps
Given Set token of apiUsername "super-admin-hochland" 120ms
And Add action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 106ms
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 123ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/21061239 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.addAccessToTheWarehouseToTheUserByJSONFileAs(EditUserTest.java:151)
	at ✽.Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file(file:Features/Atom/Transport/TransportForm/TransportForm.feature:141)
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 000ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 000ms
Then Verify that "transport-description" in transport has value "opis" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedActionAuthorities() 048ms
After Hooks.rollbackWarehousesAccess() 079ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/21061239 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.rollbackWarehousesAccess(Hooks.java:531)
	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 Transport form
Scenario Outline Check if user can't add description to transport
Steps
Given Set token of apiUsername "super-admin-hochland" 116ms
And Create transport "CREATE_DELIVERY_WARM_KAZMIERZ" by JSON file as "super-admin-hochland" 1s 537ms
And Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 159ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthority(ActionAuthorityTest.java:68)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthorityWith(ActionAuthorityTest.java:62)
	at ✽.Remove action authority with: "hochland" "hochland-warehouseman" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:156)
And Add access to the warehouse "Magazyn Ciepły Kaźmierz" to the user "hochland-warehouseman" by JSON file 000ms
And Login as "hochland-warehouseman" and set token of apiUsername "super-admin-hochland" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "transport-description" in transport form is disabled 000ms
Hooks
After Hooks.deleteTransportAfterTest() 140ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
After Hooks.rollbackWarehousesAccess() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.rollbackWarehousesAccess(Hooks.java:528)
	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 Transport form
Scenario Outline Check if user can't see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 115ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 142ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthority(ActionAuthorityTest.java:68)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthorityWith(ActionAuthorityTest.java:62)
	at ✽.Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:185)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is not visible 000ms
After Hooks.deleteTransportAfterTest() 003ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can't see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-adama" 117ms
And Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 104ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthority(ActionAuthorityTest.java:68)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthorityWith(ActionAuthorityTest.java:62)
	at ✽.Remove action authority with: "adama" "adama-admin" "TRANSPORT" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:185)
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 000ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT" 000ms
Then Verify that "CARRIER" in transport form is not visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can't see `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-alrec" 116ms
And Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 115ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthority(ActionAuthorityTest.java:68)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthorityWith(ActionAuthorityTest.java:62)
	at ✽.Remove action authority with: "alrec" "alrec-admin" "TRANSPORT_ORDER" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:185)
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 000ms
And Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 000ms
And Show all transport "true" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Verify that "CARRIER" in transport form is not visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can't edit `carrierCompany` field in transport form
Steps
Given Set token of apiUsername "super-admin-hochland" 118ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "ACCESS_CARRIER_COMPANY_FIELD" "UNLIMITED" 104ms
And Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED" 139ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthority(ActionAuthorityTest.java:68)
	at CucumberTests.Utils.ActionAuthorityTest.removeActionAuthorityWith(ActionAuthorityTest.java:62)
	at ✽.Remove action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_CARRIER_COMPANY_FIELD" "UNLIMITED"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:219)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 000ms
And Show all transport "false" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "CARRIER" in transport form is disabled 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackAddedActionAuthorities() 051ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if user can add description to archived transport
Steps
Given Set token of apiUsername "super-admin-adama" 115ms
And Get custom field settings for "DELIVERY" transport type and "" company 038ms
And Mark custom fields as not obligatory 004ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@6eaa05cd
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:237)
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED" 000ms
And Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED" 000ms
And Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED" 000ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 000ms
When Find transport in table with status "planned" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait "90" seconds 000ms
And Go to "ARCHIVE_TAB" 000ms
And Show "DELIVERY" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "transport-description" "text" "opis" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Wait "7" seconds 000ms
And Go to transport details "DELIVERY" 000ms
Then Verify that "transport-description" in transport has value "opis" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackAllCustomFieldsSettings() 004ms
After Hooks.rollbackAddedActionAuthorities() 000ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
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 329ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 018ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 321ms
When Show all transport types 1s 136ms
And Click button advice in transport table "DELIVERY" 268ms
And Set advice window in schedule 2s 967ms
And Click button cancel in advice form 15s 516ms
And Go to "TRANSPORT_TABLE" 440ms
When Go to transport details "DELIVERY" 2s 912ms
And Fill transport form 1m 8s 506ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 228ms
And Go to transport details "DELIVERY" 2s 891ms
Then Check are transport values equals 256ms
org.junit.ComparisonFailure: Wartości w formularzu w polu CARRIER są niepoprawne, wartość na stronie: Przewoźnik Piast Automat 1 wartość poprawna: Przewoźnik Piast Automat 2 expected:<...oźnik Piast Automat [2]> but was:<...oźnik Piast Automat [1]>
	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() 125ms
View Feature TransportWindow atom tests
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 118ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 090ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /algorithm-settings/206914331 - status odpowiedzi: 422 , komunikat:  [errors:[Operacja nie powiodła się. Prosimy spróbować ponownie a, jeśli problem się powtarza, o kontakt z info@logintegra.com.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.AlgorithmSetting.AlgorithmSettingTest.setAlgorithmSettingIn(AlgorithmSettingTest.java:91)
	at ✽.Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera"(file:Features/Atom/TimeWindow/TransportWindow.feature:134)
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 000ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 000ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 000ms
When Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "25" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.clearAlgorithmSettings() 099ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <500>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Hooks.lambda$clearAlgorithmSettings$3(Hooks.java:490)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.clearAlgorithmSettings(Hooks.java:489)
	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 TransportWindow atom tests
Scenario Outline Check if window counter value in schedule changes
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 259ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 075ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 326ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 49s 670ms
And Check if time window counter value equals "1" 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
	at Pages.Schedule.SchedulePage.getNumberOfWindowsInScheduleFromCounter(SchedulePage.java:323)
	at CucumberTests.Schedule.ScheduleTest.checkIfTimeWindowCounterValueEquals(ScheduleTest.java:141)
	at ✽.Check if time window counter value equals "1"(file:Features/Atom/TimeWindow/TransportWindow.feature:155)
And Select view "DAYS_2" 000ms
And Move advice window "2" 000ms
And Select view "DAY" 000ms
Then Check if time window counter value equals "0" 000ms
And Delete created transport by API 000ms
And Check if time window counter value equals "0" 000ms
And Click in free spot in schedule page to create gray window 000ms
And Check if time window counter value equals "0" 000ms
And Click in free spot in schedule page to create dedicated window 000ms
And Check if time window counter value equals "0" 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.rollbackAddedAuthorities() 000ms
View Feature TransportWindow atom tests
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 020ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 729ms
When Go to new transport "DELIVERY" 644ms
And Fill transport form 13s 407ms
And Click "save-transport" save button and wait for form to disappear 30s 182ms
And Set advice window in schedule 2s 391ms
And Check is transport created in schedule and set transport id 15s 113ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]"}
  (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.24pGIu}, 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: 51475326496d3b0129efabd3aba6e551
*** Element info: {Using=xpath, value=//div[@id='slot-78917108-2021-07-15-07-15']//div[@data-transport-id]}
	at sun.reflect.GeneratedConstructorAccessor217.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.Schedule.SchedulePage.getTransportId(SchedulePage.java:167)
	at CucumberTests.Transport.AdviceTransport.checkIsTransportCreatedInScheduleAndSetTransportId(AdviceTransport.java:160)
	at ✽.Check is transport created in schedule and set transport id(file:Features/Atom/TimeWindow/TransportWindow.feature:178)
And Go to "TRANSPORT_TABLE" 000ms
When Click on time window date 000ms
And Open transport form when in schedule 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
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" 119ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 076ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 073ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 327ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 591ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 379ms
And Go to "TRANSPORT_TABLE" 498ms
And Get checkpoint colors for transport 024ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 079ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfTransportHasProperColor(TimeWindowTest.java:128)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:100)
	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() 143ms
After Hooks.rollbackTransportTypeSettings() 106ms
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" 117ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 070ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 075ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 354ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 116ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 336ms
And Go to "TRANSPORT_TABLE" 538ms
And Get checkpoint colors for transport 017ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 082ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	at CucumberTests.TimeWindow.TimeWindowTest.checkIfTransportHasProperColor(TimeWindowTest.java:128)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsChangeInColumnProperlyWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:100)
	at ✽.Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false"(file:Features/Atom/TimeWindow/TransportWindow.feature:229)
After Hooks.deleteTransportAfterTest() 260ms
After Hooks.rollbackTransportTypeSettings() 082ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 117ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 075ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 070ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 347ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 161ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 433ms
And Get checkpoint colors for transport 013ms
And Go to "TRANSPORT_TABLE" 503ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 767ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.NOT_FOUND
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	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() 186ms
After Hooks.rollbackTransportTypeSettings() 085ms
View Feature TransportWindow atom tests
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 073ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 079ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 231ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 340ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 53s 097ms
And Get checkpoint colors for transport 015ms
And Go to "TRANSPORT_TABLE" 589ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 741ms
java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.support.Colors.
	at java.lang.Enum.valueOf(Enum.java:238)
	at org.openqa.selenium.support.Colors.valueOf(Colors.java:23)
	at org.openqa.selenium.support.Color$NamedColorConverter.getColor(Color.java:303)
	at org.openqa.selenium.support.Color.fromString(Color.java:46)
	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 "false"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.deleteTransportAfterTest() 177ms
After Hooks.rollbackTransportTypeSettings() 130ms
Scenario Outline Check if it is possible to delete user
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 242ms
And Delete invitations with email "automaty@test.pl" 015ms
And Create and accept invitation by JSON file as "super-admin-skz" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 220ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@49dacbea
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:74)
	at ✽.Create and accept invitation by JSON file as "super-admin-skz" for "automaty@test.pl" "CREATE_CARRIER_INVITATION"(file:Features/Atom/Users/User.feature:19)
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
When Delete user "automaty@test.pl" 000ms
Then Success alert is displayed 000ms
And User not displayed in users list "automaty@test.pl" 000ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:285)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:277)
	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)
Scenario Outline Check if it is possible to delete user
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 236ms
And Delete invitations with email "automaty@test.pl" 014ms
And Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 276ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@79f0d754
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:74)
	at ✽.Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION"(file:Features/Atom/Users/User.feature:19)
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
When Delete user "automaty@test.pl" 000ms
Then Success alert is displayed 000ms
And User not displayed in users list "automaty@test.pl" 000ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:285)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:277)
	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)
Scenario Outline Check if it possible to add queues to user
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 257ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION" 177ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@3c79fb92
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:74)
	at ✽.Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION"(file:Features/Atom/Users/User.feature:41)
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
And Find user "automaty@test.pl" 000ms
And Add queues to user account "opał" 000ms
And Save user details 000ms
And Click edit button in user details page 000ms
Then Verify that the user is assigned the appropriate queues "opał" 000ms
Hooks
After Hooks.deleteUserAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:285)
	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)
Scenario Outline Check if user has access to the queues
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 076ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION" 169ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@6e2e0121
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:74)
	at ✽.Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION"(file:Features/Atom/Users/User.feature:56)
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
And Find user "automaty@test.pl" 000ms
Then Verify that the user is assigned the appropriate queues "igla. okrągłe HDS;trociny" 000ms
Hooks
After Hooks.deleteUserAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:285)
	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)