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

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 19s 947ms Failed
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-neuca" 218ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 170ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 141ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 027ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 517ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-19T18: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() 023ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/223846100/delete - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/transports/223846100/delete, error:Unauthorized, message:No message available, timestamp:1626637778079, 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() 347ms
After Hooks.rollbackSettings() 021ms
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:1626637778448, 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" 228ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 184ms
And Mark custom fields as not obligatory 2s 771ms
And Login as "hochland-admin" 9s 705ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 162ms
When Find transport in table with status "advice-added" 3s 702ms
And Confirm statuses until reach "process-ended" 21s 906ms
Then Check if transport has "process-ended" 075ms
After Hooks.deleteTransportAfterTest() 10s 198ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 550ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-pgf" 222ms
And Get custom field settings for "UNLOAD" transport type and "pgf" company 118ms
And Mark custom fields as not obligatory 005ms
And Login as "pgf-admin" 4s 951ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 17s 673ms
When Find transport in table with status "planned" 17s 612ms
And Confirm statuses until reach "process-ended" 12s 593ms
Then Check if transport has "process-ended" 076ms
After Hooks.deleteTransportAfterTest() 10s 199ms
After Hooks.rollbackAllCustomFieldsSettings() 441ms
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" 227ms
And Get custom field settings for "DELIVERY" transport type and "adama" company 106ms
And Mark custom fields as not obligatory 004ms
And Login as "adama-admin" 5s 062ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 2s 674ms
When Find transport in table with status "planned" 3s 824ms
And Confirm statuses until reach "process-ended" 30s 297ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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 110ms
After Hooks.rollbackAllCustomFieldsSettings() 419ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 235ms
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 614ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 2s 815ms
When Find transport in table with status "potwierdzony" 3s 624ms
And Confirm statuses until reach "process-ended" 21s 874ms
Then Check if transport has "process-ended" 063ms
After Hooks.deleteTransportAfterTest() 10s 118ms
After Hooks.rollbackAllCustomFieldsSettings() 006ms
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" 239ms
And Get custom field settings for "LOAD" transport type and "lantmannen" company 097ms
And Mark custom fields as not obligatory 005ms
And Login as "lantmannen-admin" 2s 181ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 811ms
When Find transport in table with status "created" 3s 718ms
And Confirm statuses until reach "process-ended" 30s 305ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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() 004ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 260ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 114ms
And Mark custom fields as not obligatory 623ms
And Login as "keeeper-admin" 6s 018ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 898ms
When Find transport in table with status "planned" 3s 649ms
And Confirm statuses until reach "process-ended" 21s 811ms
Then Check if transport has "process-ended" 066ms
After Hooks.deleteTransportAfterTest() 10s 197ms
After Hooks.rollbackAllCustomFieldsSettings() 613ms
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" 225ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 117ms
And Mark custom fields as not obligatory 584ms
And Login as "keeeper-admin" 5s 835ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 2s 962ms
When Find transport in table with status "planned" 3s 669ms
And Confirm statuses until reach "process-ended" 30s 313ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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 191ms
After Hooks.rollbackAllCustomFieldsSettings() 730ms
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" 256ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_ADVICE" "CHECKPOINT_BASED" "ARRIVAL" 500ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 210ms
And Mark custom fields as not obligatory 2s 773ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 533ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11: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 409ms
After Hooks.rollbackAddedActionAuthorities() 024ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor190.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" 275ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 173ms
And Mark custom fields as not obligatory 2s 753ms
And Login as "hochland-admin" 10s 138ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 631ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11: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 411ms
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" 226ms
And Get custom field settings for "DELIVERY" transport type and "piast" company 235ms
And Mark custom fields as not obligatory 008ms
And Login as "piast-admin" 5s 567ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 060ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 020ms
And Show all transport types 1s 142ms
And Click button advice in transport table "DELIVERY" 254ms
And Set advice window in schedule 3s 453ms
And Fill advice form 10s 591ms
And Click advice save button and wait for advice form to disappear 10s 780ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 185ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 779ms
View Feature Status confirmation
Scenario Outline Check if it is not possible to confirm statuses before add file to transport
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-piast" 218ms
And Get custom field settings for "LOAD" transport type and "piast" company 262ms
And Mark custom fields as not obligatory 012ms
And Login as "piast-admin" 5s 843ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 896ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 022ms
And Show all transport types 1s 161ms
And Click button advice in transport table "LOAD" 232ms
And Set advice window in schedule 3s 443ms
And Fill advice form 10s 523ms
And Click advice save button and wait for advice form to disappear 10s 310ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 186ms
After Hooks.rollbackAllCustomFieldsSettings() 4s 446ms
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" 229ms
And Get custom field settings for "DELIVERY" transport type and "piast" company 230ms
And Mark custom fields as not obligatory 009ms
And Login as "piast-admin" 5s 801ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 046ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 021ms
And Show all transport types 1s 157ms
And Click button advice in transport table "DELIVERY" 253ms
And Set advice window in schedule 3s 334ms
And Fill advice form 10s 457ms
And Click advice save button and wait for advice form to disappear 10s 766ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 193ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 792ms
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" 231ms
And Get custom field settings for "LOAD" transport type and "piast" company 264ms
And Mark custom fields as not obligatory 009ms
And Login as "piast-admin" 6s 059ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 988ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 020ms
And Show all transport types 1s 143ms
And Click button advice in transport table "LOAD" 252ms
And Set advice window in schedule 3s 436ms
And Fill advice form 10s 488ms
And Click advice save button and wait for advice form to disappear 10s 861ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 210ms
After Hooks.rollbackAllCustomFieldsSettings() 4s 338ms
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" 225ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 247ms
And Mark custom fields as not obligatory 4s 821ms
And Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland" 502ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 15s 799ms
And Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 002ms
And Login as "hochland-admin" 10s 213ms
And Show all transport types 1s 157ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 1s 309ms
And Set advice window in schedule 7s 487ms
And Fill advice form 15s 064ms
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 200ms
After Hooks.rollbackAllCustomFieldsSettings() 5s 184ms
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" 228ms
And Get custom field settings for "LOAD" transport type and "keeeper" company 125ms
And Mark custom fields as not obligatory 747ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_LOAD_SANITARY_CONDITIONS_CFD" in "LOAD" - "keeeper" by "super-admin-keeeper" 221ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 15s 821ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 001ms
And Login as "keeeper-admin" 6s 066ms
And Show all transport types 1s 162ms
And Click button advice in transport table "LOAD" 306ms
And Set advice window in schedule 3s 242ms
And Fill advice form 16s 428ms
And Click advice save button and wait for advice form to disappear 33s 207ms
And Go to "TRANSPORT_TABLE" 664ms
And Find transport in table with status "advice-added" 3s 647ms
And Confirm statuses until reach "arrived" 30s 313ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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 198ms
After Hooks.rollbackAllCustomFieldsSettings() 883ms
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" 225ms
And Get custom field settings for "CONTAINER" transport type and "keeeper" company 133ms
And Mark custom fields as not obligatory 760ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_CONTAINER_SANITARY_CONDITIONS_CFD" in "CONTAINER" - "keeeper" by "super-admin-keeeper" 244ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 923ms
And Set "advice" inputs from JSON file "ADVICE_CONTAINER" "super-admin-keeeper" 001ms
And Login as "keeeper-admin" 5s 861ms
And Show all transport types 1s 178ms
And Click button advice in transport table "CONTAINER" 452ms
And Set advice window in schedule 3s 239ms
And Fill advice form 16s 326ms
And Click advice save button and wait for advice form to disappear 10s 703ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 194ms
After Hooks.rollbackAllCustomFieldsSettings() 930ms
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" 236ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 115ms
And Mark custom fields as not obligatory 566ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_DELIVERY_SANITARY_CONDITIONS_CFD" in "UNLOAD" - "keeeper" by "super-admin-keeeper" 252ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 477ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T08: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() 581ms
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) 000ms
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 583ms
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" 472ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T15: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() 687ms
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" 225ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 194ms
And Mark custom fields as not obligatory 2s 687ms
And Set custom field "Magazynier" with "EDIT_DELIVERY_WAREHOUSEMAN_CFD" in "DELIVERY" - "hochland" by "super-admin-hochland" 1s 216ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 536ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11: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 255ms
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" 224ms
And Get custom field settings for "LOAD" transport type and "keeeper" company 122ms
And Mark custom fields as not obligatory 763ms
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" 229ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 15s 835ms
And Login as "keeeper-admin" 6s 234ms
And Show all transport types 1s 152ms
And Click button advice in transport table "LOAD" 300ms
And Set advice window in schedule 3s 201ms
And Fill advice form 16s 304ms
And Click advice save button and wait for advice form to disappear 10s 753ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 116ms
After Hooks.rollbackAllCustomFieldsSettings() 861ms
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" 235ms
And Get custom field settings for "CONTAINER" transport type and "keeeper" company 124ms
And Mark custom fields as not obligatory 764ms
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" 242ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 15s 812ms
And Login as "keeeper-admin" 5s 916ms
And Show all transport types 1s 359ms
And Click button advice in transport table "CONTAINER" 274ms
And Set advice window in schedule 3s 238ms
And Fill advice form 16s 331ms
And Click advice save button and wait for advice form to disappear 10s 733ms
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.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
	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 123ms
After Hooks.rollbackAllCustomFieldsSettings() 891ms
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) 000ms
Steps
Given Set token of apiUsername "super-admin-hochland" 217ms
And Get custom field settings for "TRANSFER_BETWEEN_WAREHOUSES" transport type and "hochland" company 230ms
And Mark custom fields as not obligatory 4s 794ms
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" 393ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 15s 783ms
And Login as "hochland-admin" 10s 319ms
And Show all transport types 1s 153ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 1s 329ms
And Set advice window in schedule 7s 457ms
And Fill advice form 15s 100ms
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 195ms
After Hooks.rollbackAllCustomFieldsSettings() 5s 277ms
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" 233ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 115ms
And Mark custom fields as not obligatory 570ms
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" 250ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 453ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T08: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() 575ms
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" 230ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 120ms
And Mark custom fields as not obligatory 590ms
And Set "transport" inputs from JSON file "EDIT_TANKER_GRANULATE_DELIVERY" "super-admin-keeeper" 002ms
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" 235ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 474ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T15: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() 677ms
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" 239ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 198ms
And Mark custom fields as not obligatory 2s 766ms
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" 710ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 565ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11: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 278ms
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" 241ms
And Get custom field settings for "UNLOAD" transport type and "keeeper" company 115ms
And Mark custom fields as not obligatory 577ms
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" 223ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 453ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T08: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() 567ms
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" 218ms
And Get custom field settings for "TANKER_GRANULATE_DELIVERY" transport type and "keeeper" company 115ms
And Mark custom fields as not obligatory 557ms
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" 261ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 478ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T15: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() 694ms
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-hochland" 218ms
And Get custom field settings for "DELIVERY" transport type and "hochland" company 205ms
And Mark custom fields as not obligatory 2s 686ms
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" 709ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 509ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T11: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 422ms
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" 226ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 181ms
And Mark custom fields as not obligatory 739ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 856ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 16s 098ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 654ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 398ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 4s 567ms
And Login as "bausch-admin" 6s 346ms
And Go to "TRANSPORT_TABLE" 395ms
And Find transport in table with status "advice-added" 3s 633ms
And Confirm statuses until reach "on-the-way" 30s 308ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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 106ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 183ms
After Hooks.deleteModeOfTransportationAfterTest() 896ms
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" 232ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 174ms
And Mark custom fields as not obligatory 761ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 756ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 170ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 624ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 386ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 2s 019ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/223873826 - 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 088ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 113ms
After Hooks.deleteModeOfTransportationAfterTest() 934ms
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" 222ms
And Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company 171ms
And Mark custom fields as not obligatory 776ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 727ms
And Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch" 2s 248ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 652ms
And Confirm status "ORDER_COMPLETNESS" by Public API "v1" 414ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch" 1s 973ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/223873988 - 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 099ms
After Hooks.rollbackAllCustomFieldsSettings() 2s 069ms
After Hooks.deleteModeOfTransportationAfterTest() 989ms
View Feature Status confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-farmacol" 226ms
And Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company 111ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 2s 050ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 4s 025ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 133ms
When Login as "farmacol-admin" 7s 326ms
And Go to "TRANSPORT_TABLE" 537ms
And Confirm statuses until reach "during-unload" 16s 904ms
And Set actual confirmed transport status list 2s 056ms
And Disable task by API 304ms
And Go to transport details "EXTERNAL_DELIVERY" 2s 954ms
And Edit transport hours and recalculate statuses 30s 630ms
Then Verify that all confirmed statuses are still on transport status list 400ms
After Hooks.deleteTransportAfterTest() 10s 205ms
After Hooks.rollbackAllCustomFieldsSettings() 333ms
After Hooks.rollbackTaskChanges() 190ms
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" 234ms
And Get custom field settings for "EXTERNAL_DELIVERY" transport type and "farmacol" company 104ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 995ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 1s 557ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/223875437 - 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 107ms
After Hooks.rollbackAllCustomFieldsSettings() 346ms
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" 237ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 2s 064ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 100ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 130ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 032ms
When Go to "TRANSPORT_TABLE" 420ms
And Click button advice in transport table "OWN_COLLECTION" 1s 360ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 769ms
And Go to "TRANSPORT_TABLE" 466ms
And Find transport in table with status "planned-magazyn-tychy" 3s 703ms
And Confirm statuses until reach "process-ended" 16s 617ms
And Wait until transport disappear from transport table 40s 458ms
Then Go to "ARCHIVE_TAB" 536ms
And Show "OWN_COLLECTION" 173ms
And Verify that created transport is "true" in transport table 15s 098ms
Hooks
After Hooks.deleteTransportAfterTest() 10s 196ms
After Hooks.rollbackAllCustomFieldsSettings() 489ms
After Hooks.rollbackSettings() 024ms
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:1626649663090, 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) 000ms
Steps
Given Set token of apiUsername "super-admin-adama" 229ms
And Get custom field settings for "DELIVERY" transport type and "" company 099ms
And Mark custom fields as not obligatory 004ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 415ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-20T14: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) 001ms
Steps
Given Set token of apiUsername "super-admin-dayco" 235ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 111ms
And Mark custom fields as not obligatory 006ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 085ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 4s 688ms
And Click button advice in transport table "OWN_COLLECTION" 938ms
And Set advice window in schedule 3s 284ms
And Fill advice form 9s 120ms
And Click advice save button and wait for advice form to disappear 33s 287ms
And Go to "TRANSPORT_TABLE" 435ms
And Find transport in table with status "planned" 3s 662ms
And Confirm statuses until reach "on-the-area" 6s 280ms
And Go to transport details "OWN_COLLECTION" 2s 842ms
And Click create similar button 15s 238ms
And Fill "transport" form "CREATE_SIMILAR_OWN_COLLECTION" by "super-admin-dayco" 7s 009ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 170ms
And Open similar transport details 464ms
Then Check if transport form modal is visible 080ms
Hooks
After Hooks.deleteTransportAfterTest() 10s 112ms
After Hooks.deleteSimilarTransportAfterTest() 020ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/223895963/delete - status odpowiedzi: 401 , komunikat:  [path:/apollo/api/transports/223895963/delete, error:Unauthorized, message:No message available, timestamp:1626657965055, 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() 499ms
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) 001ms
Steps
Given Set token of apiUsername "super-admin-dayco" 226ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 119ms
And Mark custom fields as not obligatory 005ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 099ms
And Set "advice" inputs from JSON file "ADVICE_OWN_COLLECTION" "super-admin-dayco" 001ms
When Login as "dayco-admin" 5s 037ms
And Click button advice in transport table "OWN_COLLECTION" 907ms
And Set advice window in schedule 3s 208ms
And Fill advice form 9s 165ms
And Click advice save button and wait for advice form to disappear 33s 305ms
And Go to "TRANSPORT_TABLE" 407ms
And Find transport in table with status "planned" 3s 698ms
And Confirm statuses until reach "during-load" 30s 298ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//button[@class='btn btn-sm btn-primary btn-wide']"}
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GAsjVA}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 33315d1be40fd39f31d0a666018ca6aa
*** Element info: {Using=xpath, value=//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 195ms
After Hooks.deleteSimilarTransportAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 455ms