Project Number Date
ApolloFullRunnerReport apollo-test-2.87 20 lip 2021, 04:12

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackAllCustomFieldsSettings 306 31 236 0 0 573 5 33 38 22m 21s 619ms Failed
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-neuca" 250ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 178ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 119ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 029ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 664ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T18:00:00Z, windowSizeInMinutes:45, rampName:Katowice - R6], detail:Nie możemy zarezerwować okna czasowego o długości 45 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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 CucumberTests.Transport.CreateTransport.createMultipleByJSONFileAs(CreateTransport.java:71)
	at ✽.Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Filters/Filter.feature:167)
Then Login as "neuca-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if sorting by 'Finished' status is working correctly 000ms
Hooks
After Hooks.deleteTransportsAfterTest() 022ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224027210/delete - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/transports/224027210/delete, error:Unauthorized, message:No message available, timestamp:1626724541788, status:401]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteTransportsAfterTest(Hooks.java:201)
	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.rollbackAllCustomFieldsSettings() 357ms
After Hooks.rollbackSettings() 023ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem settings/217076924 - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/settings/217076924, error:Unauthorized, message:No message available, timestamp:1626724542169, status:401]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.rollbackSettings(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 Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-hochland" 242ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 202ms
And Mark custom fields as not obligatory 2s 713ms
And Login as "hochland-admin" 9s 717ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 170ms
When Find transport in table with status "advice-added" 3s 719ms
And Confirm statuses until reach "process-ended" 21s 827ms
Then Check if transport has "process-ended" 069ms
After Hooks.deleteTransportAfterTest() 10s 185ms
After Hooks.rollbackAllCustomFieldsSettings() 5s 014ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-pgf" 229ms
And Get custom field settings for "UNLOAD" transport type and "pgf" company 108ms
And Mark custom fields as not obligatory 005ms
And Login as "pgf-admin" 5s 007ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 17s 669ms
When Find transport in table with status "planned" 17s 538ms
And Confirm statuses until reach "process-ended" 12s 575ms
Then Check if transport has "process-ended" 064ms
After Hooks.deleteTransportAfterTest() 10s 115ms
After Hooks.rollbackAllCustomFieldsSettings() 429ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses by user
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-adama" 211ms
And Get custom field settings for "DELIVERY" transport type and "adama" company 108ms
And Mark custom fields as not obligatory 005ms
And Login as "adama-admin" 5s 089ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 2s 716ms
When Find transport in table with status "planned" 3s 697ms
And Confirm statuses until reach "process-ended" 30s 376ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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() 10s 116ms
After Hooks.rollbackAllCustomFieldsSettings() 390ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 239ms
And Get custom field settings for "DELIVERY" transport type and "lantmannen" company 097ms
And Mark custom fields as not obligatory 005ms
And Login as "lantmannen-admin" 4s 373ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 902ms
When Find transport in table with status "potwierdzony" 3s 640ms
And Confirm statuses until reach "process-ended" 21s 770ms
Then Check if transport has "process-ended" 069ms
After Hooks.deleteTransportAfterTest() 10s 218ms
After Hooks.rollbackAllCustomFieldsSettings() 005ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses by user
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-lantmannen" 237ms
And Get custom field settings for "LOAD" transport type and "lantmannen" company 098ms
And Mark custom fields as not obligatory 004ms
And Login as "lantmannen-admin" 2s 268ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 753ms
When Find transport in table with status "created" 3s 670ms
And Confirm statuses until reach "process-ended" 30s 330ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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() 10s 187ms
After Hooks.rollbackAllCustomFieldsSettings() 005ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 269ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 117ms
And Mark custom fields as not obligatory 595ms
And Login as "keeeper-admin" 6s 006ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 884ms
When Find transport in table with status "planned" 3s 687ms
And Confirm statuses until reach "process-ended" 21s 841ms
Then Check if transport has "process-ended" 077ms
After Hooks.deleteTransportAfterTest() 10s 122ms
After Hooks.rollbackAllCustomFieldsSettings() 632ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses by user
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 228ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 116ms
And Mark custom fields as not obligatory 552ms
And Login as "keeeper-admin" 5s 761ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 931ms
When Find transport in table with status "planned" 3s 653ms
And Confirm statuses until reach "process-ended" 30s 324ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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() 10s 187ms
After Hooks.rollbackAllCustomFieldsSettings() 736ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to edit advice after reach specific status
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 239ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_ADVICE" "CHECKPOINT_BASED" "ARRIVAL" 446ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 199ms
And Mark custom fields as not obligatory 2s 565ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 531ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-hochland"(file:Features/Atom/Statuses/ConfirmStatuses.feature:48)
When Login as "hochland-admin" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "arrived" 000ms
And Go to transport details "DELIVERY" 000ms
Then Check if it is not possible to edit advice 000ms
Hooks
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 445ms
After Hooks.rollbackAddedActionAuthorities() 022ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor191.newInstance(Unknown Source)
	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$rollbackAddedActionAuthorities$4(Hooks.java:512)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.rollbackAddedActionAuthorities(Hooks.java:511)
	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 Status confirmation
Scenario Outline Check is transport color changed after confirm status
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 229ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 217ms
And Mark custom fields as not obligatory 2s 717ms
And Login as "hochland-admin" 10s 257ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 567ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-hochland"(file:Features/Atom/Statuses/ConfirmStatuses.feature:64)
When Find transport in table with status "advice-added" 000ms
And Check if transport row is "blue" 000ms
And Confirm statuses until reach "arrived" 000ms
And Check if transport row is "green" 000ms
And Confirm statuses until reach "during-unload" 000ms
Then Check if transport row is "orange" 000ms
And Confirm statuses until reach "unloaded" 000ms
Then Check if transport row is "darkgoldenrod" 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport row is "silver" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 341ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses before add file to transport
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 235ms
And Get custom field settings for "DELIVERY" transport type and "piast" company 226ms
And Mark custom fields as not obligatory 008ms
And Login as "piast-admin" 5s 846ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 054ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 021ms
And Show all transport types 1s 153ms
And Click button advice in transport table "DELIVERY" 249ms
And Set advice window in schedule 3s 290ms
And Fill advice form 10s 414ms
And Click advice save button and wait for advice form to disappear 10s 705ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:91)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "left-the-area" 000ms
Then Check if next status is not possible to confirm 000ms
After Hooks.deleteTransportAfterTest() 10s 118ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 865ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses before add file to transport
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 229ms
And Get custom field settings for "LOAD" transport type and "piast" company 244ms
And Mark custom fields as not obligatory 008ms
And Login as "piast-admin" 5s 820ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 976ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 024ms
And Show all transport types 1s 152ms
And Click button advice in transport table "LOAD" 271ms
And Set advice window in schedule 3s 425ms
And Fill advice form 10s 583ms
And Click advice save button and wait for advice form to disappear 10s 845ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:91)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "left-the-area" 000ms
Then Check if next status is not possible to confirm 000ms
After Hooks.deleteTransportAfterTest() 10s 116ms
After Hooks.rollbackAllCustomFieldsSettings() 4s 426ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses after add file to transport
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-piast" 245ms
And Get custom field settings for "DELIVERY" transport type and "piast" company 238ms
And Mark custom fields as not obligatory 007ms
And Login as "piast-admin" 5s 767ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 073ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 021ms
And Show all transport types 1s 150ms
And Click button advice in transport table "DELIVERY" 253ms
And Set advice window in schedule 3s 426ms
And Fill advice form 10s 417ms
And Click advice save button and wait for advice form to disappear 10s 738ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:113)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Add file to transport by API 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 10s 188ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 817ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm statuses after add file to transport
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 239ms
And Get custom field settings for "LOAD" transport type and "piast" company 251ms
And Mark custom fields as not obligatory 007ms
And Login as "piast-admin" 6s 076ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 990ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 024ms
And Show all transport types 1s 158ms
And Click button advice in transport table "LOAD" 262ms
And Set advice window in schedule 3s 402ms
And Fill advice form 10s 564ms
And Click advice save button and wait for advice form to disappear 10s 821ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:113)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Add file to transport by API 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 10s 128ms
After Hooks.rollbackAllCustomFieldsSettings() 4s 432ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - with advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 226ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 250ms
And Mark custom fields as not obligatory 4s 884ms
And Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland" 474ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 15s 807ms
And Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 001ms
And Login as "hochland-admin" 10s 217ms
And Show all transport types 1s 157ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 1s 367ms
And Set advice window in schedule 7s 521ms
And Fill advice form 15s 134ms
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:121)
	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() 10s 106ms
After Hooks.rollbackAllCustomFieldsSettings() 5s 185ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - with advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 234ms
And Get custom field settings for "LOAD" transport type and "keeeper" company 128ms
And Mark custom fields as not obligatory 753ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_LOAD_SANITARY_CONDITIONS_CFD" in "LOAD" - "keeeper" by "super-admin-keeeper" 229ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 15s 818ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 001ms
And Login as "keeeper-admin" 6s 008ms
And Show all transport types 1s 168ms
And Click button advice in transport table "LOAD" 313ms
And Set advice window in schedule 3s 254ms
And Fill advice form 16s 485ms
And Click advice save button and wait for advice form to disappear 33s 283ms
And Go to "TRANSPORT_TABLE" 648ms
And Find transport in table with status "advice-added" 3s 636ms
And Confirm statuses until reach "arrived" 30s 335ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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 "arrived"(file:Features/Atom/Statuses/ConfirmStatuses.feature:141)
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() 10s 183ms
After Hooks.rollbackAllCustomFieldsSettings() 1s 015ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - with advice step
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 235ms
And Get custom field settings for "CONTAINER" transport type and "keeeper" company 123ms
And Mark custom fields as not obligatory 774ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_CONTAINER_SANITARY_CONDITIONS_CFD" in "CONTAINER" - "keeeper" by "super-admin-keeeper" 247ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 910ms
And Set "advice" inputs from JSON file "ADVICE_CONTAINER" "super-admin-keeeper" 002ms
And Login as "keeeper-admin" 6s 009ms
And Show all transport types 1s 157ms
And Click button advice in transport table "CONTAINER" 457ms
And Set advice window in schedule 3s 134ms
And Fill advice form 16s 263ms
And Click advice save button and wait for advice form to disappear 10s 768ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:138)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "arrived" 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() 10s 192ms
After Hooks.rollbackAllCustomFieldsSettings() 886ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - without advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 208ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 125ms
And Mark custom fields as not obligatory 538ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_DELIVERY_SANITARY_CONDITIONS_CFD" in "UNLOAD" - "keeeper" by "super-admin-keeeper" 247ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 446ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T08:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:156)
And Login as "keeeper-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned" 000ms
And Confirm statuses until reach "arrived" 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() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 576ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - without advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 218ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 123ms
And Mark custom fields as not obligatory 575ms
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" 243ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 476ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T15:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:156)
And Login as "keeeper-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned" 000ms
And Confirm statuses until reach "arrived" 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() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 704ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses when there is customFields blockade - without advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 231ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 195ms
And Mark custom fields as not obligatory 2s 686ms
And Set custom field "Magazynier" with "EDIT_DELIVERY_WAREHOUSEMAN_CFD" in "DELIVERY" - "hochland" by "super-admin-hochland" 1s 192ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 537ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-hochland"(file:Features/Atom/Statuses/ConfirmStatuses.feature:156)
And Login as "hochland-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "during-unload" 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() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 370ms
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
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 249ms
And Get custom field settings for "LOAD" transport type and "keeeper" company 130ms
And Mark custom fields as not obligatory 753ms
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" 246ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 15s 797ms
And Login as "keeeper-admin" 6s 283ms
And Show all transport types 1s 166ms
And Click button advice in transport table "LOAD" 326ms
And Set advice window in schedule 3s 229ms
And Fill advice form 16s 314ms
And Click advice save button and wait for advice form to disappear 10s 721ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:182)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "arrived" 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_LOAD" "super-admin-keeeper" 000ms
And Click cancel in status confirmation modal 000ms
And Go to transport details "LOAD" 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 "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() 10s 113ms
After Hooks.rollbackAllCustomFieldsSettings() 866ms
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
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 234ms
And Get custom field settings for "CONTAINER" transport type and "keeeper" company 121ms
And Mark custom fields as not obligatory 740ms
And Set "advice" inputs from JSON file "ADVICE_CONTAINER" "super-admin-keeeper" 001ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_CONTAINER_SANITARY_CONDITIONS_CFD" in "CONTAINER" - "keeeper" by "super-admin-keeeper" 225ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 15s 870ms
And Login as "keeeper-admin" 5s 867ms
And Show all transport types 1s 160ms
And Click button advice in transport table "CONTAINER" 501ms
And Set advice window in schedule 3s 222ms
And Fill advice form 16s 297ms
And Click advice save button and wait for advice form to disappear 10s 744ms
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
	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:174)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:182)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "arrived" 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_CONTAINER" "super-admin-keeeper" 000ms
And Click cancel in status confirmation modal 000ms
And Go to transport details "CONTAINER" 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 "CONTAINER" 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() 10s 114ms
After Hooks.rollbackAllCustomFieldsSettings() 910ms
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
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 236ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 267ms
And Mark custom fields as not obligatory 4s 841ms
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" 428ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 15s 834ms
And Login as "hochland-admin" 10s 235ms
And Show all transport types 1s 161ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 1s 373ms
And Set advice window in schedule 7s 489ms
And Fill advice form 15s 082ms
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:121)
	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() 10s 110ms
After Hooks.rollbackAllCustomFieldsSettings() 5s 291ms
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
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 235ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 118ms
And Mark custom fields as not obligatory 600ms
And Set "transport" inputs from JSON file "EDIT_DELIVERY" "super-admin-keeeper" 001ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_DELIVERY_SANITARY_CONDITIONS_CFD" in "UNLOAD" - "keeeper" by "super-admin-keeeper" 268ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 455ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T08:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:212)
And Login as "keeeper-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned" 000ms
When Confirm statuses until reach "arrived" 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 Click cancel in status confirmation modal 000ms
And Go to transport details "UNLOAD" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 516ms
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
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 226ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 110ms
And Mark custom fields as not obligatory 575ms
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" 249ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 489ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T15:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:212)
And Login as "keeeper-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned" 000ms
When Confirm statuses until reach "arrived" 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 Click cancel in status confirmation modal 000ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 695ms
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
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 246ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 189ms
And Mark custom fields as not obligatory 2s 753ms
And Set "transport" inputs from JSON file "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Set custom field "Magazynier" with "EDIT_DELIVERY_WAREHOUSEMAN_CFD" in "DELIVERY" - "hochland" by "super-admin-hochland" 700ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 538ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-hochland"(file:Features/Atom/Statuses/ConfirmStatuses.feature:212)
And Login as "hochland-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
When Confirm statuses until reach "during-unload" 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 Click cancel in status confirmation modal 000ms
And 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 Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 342ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm next status in transport details on transport details reopen after filling blockade customfields and not saving changes - without advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 233ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 111ms
And Mark custom fields as not obligatory 603ms
And Set "transport" inputs from JSON file "EDIT_DELIVERY" "super-admin-keeeper" 001ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_DELIVERY_SANITARY_CONDITIONS_CFD" in "UNLOAD" - "keeeper" by "super-admin-keeeper" 253ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 450ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T08:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:255)
When Login as "keeeper-admin" 000ms
And Find transport in table with status "planned" 000ms
And Confirm statuses until reach "arrived" 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 Click cancel in status confirmation modal 000ms
And Go to transport details "UNLOAD" 000ms
And Fill transport form 000ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 560ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm next status in transport details on transport details reopen after filling blockade customfields and not saving changes - without advice step
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-keeeper" 231ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 124ms
And Mark custom fields as not obligatory 576ms
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" 265ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 483ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T15:00:00Z, windowSizeInMinutes:60, rampName:Okno 1], detail:Nie możemy zarezerwować okna czasowego o długości 60 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Statuses/ConfirmStatuses.feature:255)
When Login as "keeeper-admin" 000ms
And Find transport in table with status "planned" 000ms
And Confirm statuses until reach "arrived" 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 Click cancel in status confirmation modal 000ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 000ms
And Fill transport form 000ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 697ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm next status in transport details on transport details reopen after filling blockade customfields and not saving changes - without advice step
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-hochland" 230ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 186ms
And Mark custom fields as not obligatory 2s 701ms
And Set "transport" inputs from JSON file "EDIT_DELIVERY" "super-admin-hochland" 001ms
And Set custom field "Magazynier" with "EDIT_DELIVERY_WAREHOUSEMAN_CFD" in "DELIVERY" - "hochland" by "super-admin-hochland" 706ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 513ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T11:00:00Z, windowSizeInMinutes:30, rampName:Rampa], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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-hochland"(file:Features/Atom/Statuses/ConfirmStatuses.feature:255)
When Login as "hochland-admin" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "during-unload" 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 Click cancel in status confirmation modal 000ms
And Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 361ms
View Feature Status confirmation
Scenario Outline Check if it is possible to confirm status with given confirmation date [A-7159]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 240ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 157ms
And Mark custom fields as not obligatory 782ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 775ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 194ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 660ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 396ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 4s 648ms
And Login as "bausch-admin" 6s 464ms
And Go to "TRANSPORT_TABLE" 391ms
And Find transport in table with status "advice-added" 3s 597ms
And Confirm statuses until reach "on-the-way" 30s 337ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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 "on-the-way"(file:Features/Atom/Statuses/ConfirmStatuses.feature:305)
When Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 10s 198ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 106ms
After Hooks.deleteModeOfTransportationAfterTest() 880ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 241ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 168ms
And Mark custom fields as not obligatory 762ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 813ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 251ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 630ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 407ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 075ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224056651 - 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.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:340)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 10s 092ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 169ms
After Hooks.deleteModeOfTransportationAfterTest() 937ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 249ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 181ms
And Mark custom fields as not obligatory 771ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 833ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 255ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 686ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 388ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 179ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224056829 - 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.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:340)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:323)
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "advice-added" 000ms
And Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "-1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 10s 097ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 103ms
After Hooks.deleteModeOfTransportationAfterTest() 941ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 232ms
And Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company 103ms
And Mark custom fields as not obligatory 006ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 981ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 844ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 135ms
When Login as "farmacol-admin" 7s 328ms
And Go to "TRANSPORT_TABLE" 535ms
And Confirm statuses until reach "during-unload" 16s 843ms
And Set actual confirmed transport status list 2s 068ms
And Disable task by API 302ms
And Go to transport details "EXTERNAL_DELIVERY" 2s 966ms
And Edit transport hours and recalculate statuses 30s 743ms
Then Verify that all confirmed statuses are still on transport status list 493ms
After Hooks.deleteTransportAfterTest() 10s 190ms
After Hooks.rollbackAllCustomFieldsSettings() 334ms
After Hooks.rollbackTaskChanges() 188ms
View Feature Status
Scenario Outline Check if deleted task is not in new transports' workflow @A-6875
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-farmacol" 254ms
And Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company 103ms
And Mark custom fields as not obligatory 006ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 968ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 1s 409ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224058489 - 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.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:340)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"(file:Features/Atom/Statuses/Statuses.feature:37)
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 000ms
When Login as "farmacol-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "registered-katowice-przyjęcia" 000ms
And Disable task by API 000ms
And Find transport pencil button in transports table 000ms
And Click pencil and move transport to next day in schedule 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Verify that "START_OF_UNLOADING" is not visible 000ms
Hooks
After Hooks.deleteTransportAfterTest() 10s 079ms
After Hooks.rollbackAllCustomFieldsSettings() 351ms
After Hooks.rollbackTaskChanges() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.rollbackTaskChanges(Hooks.java:674)
	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 Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-dayco" 243ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 008ms
And Login as "dayco-admin" 2s 119ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 094ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 133ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 031ms
When Go to "TRANSPORT_TABLE" 415ms
And Click button advice in transport table "OWN_COLLECTION" 1s 376ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 765ms
And Go to "TRANSPORT_TABLE" 427ms
And Find transport in table with status "planned-magazyn-tychy" 3s 689ms
And Confirm statuses until reach "process-ended" 16s 706ms
And Wait until transport disappear from transport table 40s 479ms
Then Go to "ARCHIVE_TAB" 491ms
And Show "OWN_COLLECTION" 173ms
And Verify that created transport is "true" in transport table 15s 163ms
Hooks
After Hooks.deleteTransportAfterTest() 10s 201ms
After Hooks.rollbackAllCustomFieldsSettings() 496ms
After Hooks.rollbackSettings() 023ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem settings/114648419 - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/settings/114648419, error:Unauthorized, message:No message available, timestamp:1626736471263, status:401]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.rollbackSettings(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 Transport form
Scenario Outline Check if user can add description to archived transport
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-adama" 218ms
And Get custom field settings for "DELIVERY" transport type and "" company 092ms
And Mark custom fields as not obligatory 004ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 410ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-21T14:15:00Z, windowSizeInMinutes:30, rampName:Dok 1], detail:Nie możemy zarezerwować okna czasowego o długości 30 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	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() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 004ms
After Hooks.rollbackAddedActionAuthorities() 000ms
After Hooks.rollbackRemovedActionAuthorities() 000ms
View Feature Transport form
Scenario Outline Check if similar transport can be created based on transport with confirmed statuses [A-7322]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-dayco" 252ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 113ms
And Mark custom fields as not obligatory 006ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 129ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 4s 523ms
And Click button advice in transport table "OWN_COLLECTION" 874ms
And Set advice window in schedule 3s 308ms
And Fill advice form 9s 260ms
And Click advice save button and wait for advice form to disappear 33s 289ms
And Go to "TRANSPORT_TABLE" 453ms
And Find transport in table with status "planned" 3s 689ms
And Confirm statuses until reach "on-the-area" 6s 311ms
And Go to transport details "OWN_COLLECTION" 2s 874ms
And Click create similar button 15s 259ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 6s 947ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 254ms
And Open similar transport details 498ms
Then Check if transport form modal is visible 097ms
Hooks
After Hooks.deleteTransportAfterTest() 10s 196ms
After Hooks.deleteSimilarTransportAfterTest() 027ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224083113/delete - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/transports/224083113/delete, error:Unauthorized, message:No message available, timestamp:1626744797801, status:401]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteSimilarTransportAfterTest(Hooks.java:215)
	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.rollbackAllCustomFieldsSettings() 503ms
View Feature Transport form
Scenario Outline Check if similar transport can be created based on transport with confirmed statuses [A-7322]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-dayco" 218ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 071ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 5s 239ms
And Click button advice in transport table "OWN_COLLECTION" 916ms
And Set advice window in schedule 3s 191ms
And Fill advice form 9s 104ms
And Click advice save button and wait for advice form to disappear 33s 250ms
And Go to "TRANSPORT_TABLE" 433ms
And Find transport in table with status "planned" 3s 722ms
And Confirm statuses until reach "during-load" 30s 356ms
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.164)
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.0siZ5s}, 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.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 69ba0ddc713330a988fd9a6e71686604
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor184.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Transport.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 "during-load"(file:Features/Atom/Transport/TransportForm/TransportForm.feature:369)
And Go to transport details "OWN_COLLECTION" 000ms
And Click create similar button 000ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Open similar transport details 000ms
Then Check if transport form modal is visible 000ms
After Hooks.deleteTransportAfterTest() 10s 114ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 481ms