Project Number Date
ApolloFullRunnerReport develop.459 10 cze 2021, 07:03

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status confirmation 429 7 40 0 0 476 30 7 37 36m 31s 786ms Failed
Feature Status confirmation
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 372ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 382ms
When Find transport in table with status "advice-added" 3s 231ms
And Confirm statuses until reach "process-ended" 28s 055ms
Then Check if transport has "process-ended" 029ms
After Hooks.deleteTransportAfterTest() 121ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 1s 098ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 15s 900ms
When Find transport in table with status "planned" 17s 223ms
And Confirm statuses until reach "process-ended" 8s 603ms
Then Check if transport has "process-ended" 026ms
After Hooks.deleteTransportAfterTest() 159ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 178ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 297ms
When Find transport in table with status "planned" 3s 226ms
And Confirm statuses until reach "process-ended" 21s 495ms
Then Check if transport has "process-ended" 021ms
After Hooks.deleteTransportAfterTest() 120ms
Scenario Outline Check if it is possible to confirm statuses by user
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 137ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 282ms
When Find transport in table with status "planned" 17s 228ms
And Confirm statuses until reach "departed" 50s 757ms
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.77)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.O8ZGEt}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e7edc957d415a958a5c50d8b34d7b783
*** Element info: {Using=xpath, value=//button[@class='btn btn-sm btn-primary btn-wide']}
	at sun.reflect.GeneratedConstructorAccessor213.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:297)
	at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:287)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:84)
	at ✽.Confirm statuses until reach "departed"(file:Features/Atom/Statuses/ConfirmStatuses.feature:8)
Then Check if transport has "departed" 000ms
After Hooks.deleteTransportAfterTest() 160ms
Scenario Outline Check if it is possible to confirm statuses by user
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 129ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 333ms
When Find transport in table with status "created" 18s 162ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//td[contains(@data-status-name, 'created')]"}
  (Session info: headless chrome=91.0.4472.77)
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: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.O8ZGEt}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e7edc957d415a958a5c50d8b34d7b783
*** Element info: {Using=xpath, value=//td[contains(@data-status-name, 'created')]}
	at sun.reflect.GeneratedConstructorAccessor213.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at CucumberTests.StatusTests.ConfirmStatuses.findTransportInTableWith(ConfirmStatuses.java:68)
	at ✽.Find transport in table with status "created"(file:Features/Atom/Statuses/ConfirmStatuses.feature:7)
And Confirm statuses until reach "process-ended" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 141ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 137ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 301ms
When Find transport in table with status "created" 3s 208ms
And Confirm statuses until reach "process-ended" 29s 605ms
Then Check if transport has "process-ended" 028ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 260ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 350ms
When Find transport in table with status "planned" 3s 221ms
And Confirm statuses until reach "process-ended" 26s 936ms
Then Check if transport has "process-ended" 027ms
After Hooks.deleteTransportAfterTest() 134ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 181ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 375ms
When Find transport in table with status "planned" 3s 222ms
And Confirm statuses until reach "process-ended" 26s 932ms
Then Check if transport has "process-ended" 015ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 407ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 109ms
When Accept or reject "accept" transferred transport 18s 770ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_IMPORT" 122ms
And Set advice window in schedule 2s 846ms
And Fill advice form 14s 590ms
And Click advice save button and wait for advice form to disappear 30s 678ms
And Check if window is "silver" 2s 031ms
And Go to "TRANSPORT_TABLE" 203ms
Then Check if transport has "process-ended" 313ms
After Hooks.deleteTransportAfterTest() 139ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 175ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 389ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 116ms
When Accept or reject "accept" transferred transport 18s 817ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 001ms
And Click button advice in transport table "SMALLS_EXPORT" 111ms
And Set advice window in schedule 2s 688ms
And Fill advice form 14s 530ms
And Click advice save button and wait for advice form to disappear 30s 660ms
And Check if window is "silver" 2s 033ms
And Go to "TRANSPORT_TABLE" 209ms
Then Check if transport has "process-ended" 389ms
After Hooks.deleteTransportAfterTest() 162ms
Given Set token of apiUsername "super-admin-hochland" 132ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_ADVICE" "CHECKPOINT_BASED" "ARRIVAL" 231ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 302ms
When Login as "hochland-admin" 2s 463ms
And Find transport in table with status "advice-added" 3s 292ms
And Confirm statuses until reach "arrived" 3s 799ms
And Go to transport details "DELIVERY" 4s 774ms
Then Check if it is not possible to edit advice 178ms
After Hooks.deleteTransportAfterTest() 138ms
After Hooks.rollbackAddedActionAuthorities() 087ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 311ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 437ms
When Find transport in table with status "advice-added" 3s 205ms
And Check if transport row is "blue" 3s 079ms
And Confirm statuses until reach "arrived" 3s 808ms
And Check if transport row is "green" 3s 068ms
And Confirm statuses until reach "during-unload" 3s 740ms
Then Check if transport row is "orange" 3s 086ms
And Confirm statuses until reach "unloaded" 3s 810ms
Then Check if transport row is "darkgoldenrod" 3s 060ms
And Confirm statuses until reach "process-ended" 18s 782ms
Then Check if transport row is "silver" 3s 067ms
After Hooks.deleteTransportAfterTest() 121ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 491ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 219ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
And Show all transport types 1s 040ms
And Click button advice in transport table "DELIVERY" 099ms
And Set advice window in schedule 2s 587ms
And Fill advice form 8s 400ms
And Click advice save button and wait for advice form to disappear 30s 705ms
And Go to "TRANSPORT_TABLE" 176ms
And Find transport in table with status "advice-added" 3s 184ms
And Confirm statuses until reach "left-the-area" 17s 436ms
Then Check if next status is not possible to confirm 097ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 167ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 217ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 003ms
And Show all transport types 1s 045ms
And Click button advice in transport table "LOAD" 098ms
And Set advice window in schedule 2s 650ms
And Fill advice form 8s 424ms
And Click advice save button and wait for advice form to disappear 30s 745ms
And Go to "TRANSPORT_TABLE" 199ms
And Find transport in table with status "advice-added" 3s 254ms
And Confirm statuses until reach "left-the-area" 17s 433ms
Then Check if next status is not possible to confirm 103ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 223ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 220ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 044ms
And Click button advice in transport table "DELIVERY" 123ms
And Set advice window in schedule 2s 625ms
And Fill advice form 8s 398ms
And Click advice save button and wait for advice form to disappear 30s 722ms
And Go to "TRANSPORT_TABLE" 206ms
And Find transport in table with status "advice-added" 3s 162ms
When Add file to transport by API 854ms
And Confirm statuses until reach "process-ended" 35s 142ms
Then Check if transport has "process-ended" 026ms
After Hooks.deleteTransportAfterTest() 184ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 189ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 232ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 003ms
And Show all transport types 1s 044ms
And Click button advice in transport table "LOAD" 111ms
And Set advice window in schedule 2s 636ms
And Fill advice form 8s 328ms
And Click advice save button and wait for advice form to disappear 30s 712ms
And Go to "TRANSPORT_TABLE" 205ms
And Find transport in table with status "advice-added" 3s 251ms
When Add file to transport by API 328ms
And Confirm statuses until reach "process-ended" 35s 274ms
Then Check if transport has "process-ended" 026ms
After Hooks.deleteTransportAfterTest() 117ms
Given Set token of apiUsername "super-admin-hochland" 118ms
And Get "Magazynier (R)" settings from "hochland" in "TRANSFER_BETWEEN_WAREHOUSES" 351ms
And Set custom field "Magazynier (R)" with "EDIT_TRANSFER_BETWEEN_WAREHOUSES_WAREHOUSEMAN_U_CFD" in "TRANSFER_BETWEEN_WAREHOUSES" - "hochland" by "super-admin-hochland" 133ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 184ms
And Set "advice" inputs from JSON file "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 002ms
And Login as "hochland-admin" 2s 427ms
And Show all transport types 1s 058ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 110ms
And Set advice window in schedule 6s 536ms
And Fill advice form 13s 310ms
And Click advice save button and wait for advice form to disappear 30s 748ms
And Go to "TRANSPORT_TABLE" 167ms
And Find transport in table with status "advice-added" 3s 176ms
And Confirm statuses until reach "during-load" 6s 517ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 263ms
And Check if next status is not possible to confirm in status confirmation modal 117ms
After Hooks.deleteTransportAfterTest() 141ms
After Hooks.rollbackCustomFieldSettings() 101ms
Given Set token of apiUsername "super-admin-keeeper" 125ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "LOAD" 040ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_LOAD_SANITARY_CONDITIONS_CFD" in "LOAD" - "keeeper" by "super-admin-keeeper" 057ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 205ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 002ms
And Login as "keeeper-admin" 1s 611ms
And Show all transport types 1s 048ms
And Click button advice in transport table "LOAD" 106ms
And Set advice window in schedule 2s 523ms
And Fill advice form 13s 239ms
And Click advice save button and wait for advice form to disappear 30s 692ms
And Go to "TRANSPORT_TABLE" 192ms
And Find transport in table with status "advice-added" 3s 218ms
And Confirm statuses until reach "arrived" 3s 797ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 231ms
And Check if next status is not possible to confirm in status confirmation modal 101ms
After Hooks.deleteTransportAfterTest() 134ms
After Hooks.rollbackCustomFieldSettings() 060ms
Given Set token of apiUsername "super-admin-keeeper" 128ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "CONTAINER" 044ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_CONTAINER_SANITARY_CONDITIONS_CFD" in "CONTAINER" - "keeeper" by "super-admin-keeeper" 054ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 228ms
And Set "advice" inputs from JSON file "ADVICE_CONTAINER" "super-admin-keeeper" 001ms
And Login as "keeeper-admin" 1s 683ms
And Show all transport types 1s 065ms
And Click button advice in transport table "CONTAINER" 123ms
And Set advice window in schedule 2s 536ms
And Fill advice form 13s 215ms
And Click advice save button and wait for advice form to disappear 30s 746ms
And Go to "TRANSPORT_TABLE" 165ms
And Find transport in table with status "advice-added" 3s 190ms
And Confirm statuses until reach "arrived" 3s 773ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 204ms
And Check if next status is not possible to confirm in status confirmation modal 082ms
After Hooks.deleteTransportAfterTest() 135ms
After Hooks.rollbackCustomFieldSettings() 054ms
Given Set token of apiUsername "super-admin-keeeper" 118ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "UNLOAD" 038ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_DELIVERY_SANITARY_CONDITIONS_CFD" in "UNLOAD" - "keeeper" by "super-admin-keeeper" 094ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 267ms
And Login as "keeeper-admin" 1s 565ms
And Go to "TRANSPORT_TABLE" 120ms
And Find transport in table with status "planned" 3s 174ms
And Confirm statuses until reach "arrived" 3s 828ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 229ms
And Check if next status is not possible to confirm in status confirmation modal 089ms
After Hooks.deleteTransportAfterTest() 133ms
After Hooks.rollbackCustomFieldSettings() 060ms
Given Set token of apiUsername "super-admin-keeeper" 123ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "TANKER_GRANULATE_DELIVERY" 045ms
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" 058ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 346ms
And Login as "keeeper-admin" 1s 587ms
And Go to "TRANSPORT_TABLE" 116ms
And Find transport in table with status "planned" 3s 189ms
And Confirm statuses until reach "arrived" 3s 818ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 223ms
And Check if next status is not possible to confirm in status confirmation modal 100ms
After Hooks.deleteTransportAfterTest() 135ms
After Hooks.rollbackCustomFieldSettings() 061ms
Given Set token of apiUsername "super-admin-hochland" 122ms
And Get "Magazynier" settings from "hochland" in "DELIVERY" 044ms
And Set custom field "Magazynier" with "EDIT_DELIVERY_WAREHOUSEMAN_CFD" in "DELIVERY" - "hochland" by "super-admin-hochland" 160ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 421ms
And Login as "hochland-admin" 2s 333ms
And Go to "TRANSPORT_TABLE" 177ms
And Find transport in table with status "advice-added" 3s 181ms
And Confirm statuses until reach "during-unload" 6s 510ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 290ms
And Check if next status is not possible to confirm in status confirmation modal 245ms
After Hooks.deleteTransportAfterTest() 239ms
After Hooks.rollbackCustomFieldSettings() 135ms
Scenario Outline Check if it is possible to confirm statuses when there is customFields blockade and conditions are fulfilled - with advice step
Steps
Given Set token of apiUsername "super-admin-keeeper" 110ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "LOAD" 032ms
And Set "advice" inputs from JSON file "ADVICE_LOAD" "super-admin-keeeper" 000ms
And Set custom field "Spełnienie warunków sanitarno-technicznych" with "EDIT_LOAD_SANITARY_CONDITIONS_CFD" in "LOAD" - "keeeper" by "super-admin-keeeper" 056ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 206ms
And Login as "keeeper-admin" 1s 600ms
And Show all transport types 1s 138ms
And Click button advice in transport table "LOAD" 106ms
And Set advice window in schedule 2s 549ms
And Fill advice form 13s 144ms
And Click advice save button and wait for advice form to disappear 30s 679ms
And Go to "TRANSPORT_TABLE" 171ms
And Find transport in table with status "advice-added" 3s 223ms
When Confirm statuses until reach "arrived" 3s 809ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 242ms
And Check if next status is not possible to confirm in status confirmation modal 089ms
And Set "transport" inputs from JSON file "EDIT_LOAD" "super-admin-keeeper" 001ms
And Click cancel in status confirmation modal 15s 142ms
And Go to transport details "LOAD" 4s 338ms
And Open section: "advice-panel" 1s 081ms
And Fill transport form 24s 648ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 159ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.O8ZGEt}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e7edc957d415a958a5c50d8b34d7b783
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:188)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:176)
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() 154ms
After Hooks.rollbackCustomFieldSettings() 057ms
Scenario Outline Check if it is possible to confirm statuses when there is customFields blockade and conditions are fulfilled - with advice step
Steps
Given Set token of apiUsername "super-admin-keeeper" 133ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "CONTAINER" 046ms
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" 057ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 220ms
And Login as "keeeper-admin" 1s 657ms
And Show all transport types 1s 047ms
And Click button advice in transport table "CONTAINER" 121ms
And Set advice window in schedule 2s 498ms
And Fill advice form 13s 125ms
And Click advice save button and wait for advice form to disappear 30s 719ms
And Go to "TRANSPORT_TABLE" 185ms
And Find transport in table with status "advice-added" 3s 202ms
When Confirm statuses until reach "arrived" 3s 808ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 251ms
And Check if next status is not possible to confirm in status confirmation modal 094ms
And Set "transport" inputs from JSON file "EDIT_CONTAINER" "super-admin-keeeper" 001ms
And Click cancel in status confirmation modal 15s 147ms
And Go to transport details "CONTAINER" 4s 371ms
And Open section: "advice-panel" 1s 074ms
And Fill transport form 24s 617ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 175ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.19 (1bf021f248676a0b2ab3ee0561d83a59e424c23e-refs/branch-heads/4472@{#288}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.O8ZGEt}, 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.77, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: e7edc957d415a958a5c50d8b34d7b783
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:188)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Statuses/ConfirmStatuses.feature:176)
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() 153ms
After Hooks.rollbackCustomFieldSettings() 078ms
Given Set token of apiUsername "super-admin-hochland" 141ms
And Get "Magazynier (R)" settings from "hochland" in "TRANSFER_BETWEEN_WAREHOUSES" 043ms
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" 074ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 232ms
And Login as "hochland-admin" 2s 471ms
And Show all transport types 1s 052ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 088ms
And Set advice window in schedule 6s 555ms
And Fill advice form 13s 162ms
And Click advice save button and wait for advice form to disappear 30s 756ms
And Go to "TRANSPORT_TABLE" 170ms
And Find transport in table with status "advice-added" 3s 206ms
When Confirm statuses until reach "during-load" 6s 536ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 303ms
And Check if next status is not possible to confirm in status confirmation modal 088ms
And Set "transport" inputs from JSON file "EDIT_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 001ms
And Click cancel in status confirmation modal 15s 149ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 500ms
And Open section: "advice-panel" 1s 073ms
And Fill transport form 35s 983ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 170ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 604ms
And Open section: "advice-panel" 1s 080ms
And Fill "warehouseman-(u)" in transport form 895ms
And Confirm statuses until reach "process-ended" 32s 410ms
Then Check if transport has "process-ended" 027ms
After Hooks.deleteTransportAfterTest() 162ms
After Hooks.rollbackCustomFieldSettings() 082ms
Given Set token of apiUsername "super-admin-keeeper" 125ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "UNLOAD" 039ms
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" 047ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 374ms
And Login as "keeeper-admin" 1s 705ms
And Go to "TRANSPORT_TABLE" 116ms
And Find transport in table with status "planned" 3s 197ms
When Confirm statuses until reach "arrived" 3s 814ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 224ms
And Check if next status is not possible to confirm in status confirmation modal 092ms
And Click cancel in status confirmation modal 15s 129ms
And Go to transport details "UNLOAD" 4s 392ms
And Fill transport form 36s 362ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 611ms
And Confirm statuses until reach "process-ended" 24s 261ms
Then Check if transport has "process-ended" 027ms
After Hooks.deleteTransportAfterTest() 139ms
After Hooks.rollbackCustomFieldSettings() 055ms
Given Set token of apiUsername "super-admin-keeeper" 124ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "TANKER_GRANULATE_DELIVERY" 037ms
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" 047ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 395ms
And Login as "keeeper-admin" 1s 649ms
And Go to "TRANSPORT_TABLE" 142ms
And Find transport in table with status "planned" 3s 215ms
When Confirm statuses until reach "arrived" 3s 772ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 218ms
And Check if next status is not possible to confirm in status confirmation modal 104ms
And Click cancel in status confirmation modal 15s 132ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 4s 470ms
And Fill transport form 36s 253ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 636ms
And Confirm statuses until reach "process-ended" 24s 260ms
Then Check if transport has "process-ended" 024ms
After Hooks.deleteTransportAfterTest() 144ms
After Hooks.rollbackCustomFieldSettings() 050ms
Given Set token of apiUsername "super-admin-hochland" 126ms
And Get "Magazynier" settings from "hochland" in "DELIVERY" 035ms
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" 106ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 397ms
And Login as "hochland-admin" 2s 606ms
And Go to "TRANSPORT_TABLE" 188ms
And Find transport in table with status "advice-added" 3s 195ms
When Confirm statuses until reach "during-unload" 6s 560ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 277ms
And Check if next status is not possible to confirm in status confirmation modal 232ms
And Click cancel in status confirmation modal 15s 191ms
And Go to transport details "DELIVERY" 4s 452ms
And Fill transport form 35s 672ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 144ms
And Confirm statuses until reach "process-ended" 21s 538ms
Then Check if transport has "process-ended" 028ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.rollbackCustomFieldSettings() 140ms
Given Set token of apiUsername "super-admin-skd" 126ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 381ms
And Confirm status "REPORTING" by Public API "v1" 144ms
And Confirm status "ARRIVAL" by Public API "v1" 159ms
And Login as "swiss-krono-delivery-guard" 1s 394ms
And Go to "TRANSPORT_TABLE" 176ms
When Confirm "Departure" status in transport row 060ms
Then Verify that "Departure" has been confirmed 268ms
After Hooks.deleteTransportAfterTest() 117ms
Given Set token of apiUsername "super-admin-keeeper" 122ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "UNLOAD" 046ms
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" 060ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 15s 337ms
When Login as "keeeper-admin" 1s 702ms
And Find transport in table with status "planned" 3s 222ms
And Confirm statuses until reach "arrived" 3s 826ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 218ms
And Check if next status is not possible to confirm in status confirmation modal 106ms
And Click cancel in status confirmation modal 15s 157ms
And Go to transport details "UNLOAD" 4s 398ms
And Fill transport form 36s 306ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 121ms
And Check if next status is not possible to confirm in status confirmation modal 096ms
After Hooks.deleteTransportAfterTest() 137ms
After Hooks.rollbackCustomFieldSettings() 046ms
Given Set token of apiUsername "super-admin-keeeper" 123ms
And Get "Spełnienie warunków sanitarno-technicznych" settings from "keeeper" in "TANKER_GRANULATE_DELIVERY" 038ms
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" 056ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 380ms
When Login as "keeeper-admin" 1s 580ms
And Find transport in table with status "planned" 3s 222ms
And Confirm statuses until reach "arrived" 3s 823ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 242ms
And Check if next status is not possible to confirm in status confirmation modal 109ms
And Click cancel in status confirmation modal 15s 163ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 4s 440ms
And Fill transport form 36s 415ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 120ms
And Check if next status is not possible to confirm in status confirmation modal 106ms
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.rollbackCustomFieldSettings() 059ms
Given Set token of apiUsername "super-admin-hochland" 126ms
And Get "Magazynier" settings from "hochland" in "DELIVERY" 050ms
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" 106ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 320ms
When Login as "hochland-admin" 2s 435ms
And Find transport in table with status "advice-added" 3s 291ms
And Confirm statuses until reach "during-unload" 6s 559ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 282ms
And Check if next status is not possible to confirm in status confirmation modal 191ms
And Click cancel in status confirmation modal 15s 235ms
And Go to transport details "DELIVERY" 4s 448ms
And Fill transport form 35s 733ms
Then Check if confirm status modal appeared on confirming next status in transport "details" 151ms
And Check if next status is not possible to confirm in status confirmation modal 101ms
After Hooks.deleteTransportAfterTest() 113ms
After Hooks.rollbackCustomFieldSettings() 147ms
Scenario Outline Check if it is possible to confirm status with given confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 122ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 495ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 120ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:277)
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 000ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_PL" as "super-admin-bausch" 000ms
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "on-the-way" 000ms
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() 001ms
After Hooks.deleteModeOfTransportationAfterTest() 123ms
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 126ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 316ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 094ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:295)
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 000ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_PL" as "super-admin-bausch" 000ms
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "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() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 103ms
Scenario Outline Check if it is not possible to confirm status with invalid confirmation date [A-7159]
Steps
Given Set token of apiUsername "super-admin-bausch" 122ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 397ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 070ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch"(file:Features/Atom/Statuses/ConfirmStatuses.feature:295)
And Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation 000ms
When Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_PL" as "super-admin-bausch" 000ms
And Login as "bausch-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "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() 001ms
After Hooks.deleteModeOfTransportationAfterTest() 097ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 917ms
And Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz" 245ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 335ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 115ms
When Accept or reject "accept" transferred transport 18s 105ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_IMPORT" 104ms
And Set advice window in schedule 2s 805ms
And Fill advice form 14s 410ms
And Click advice save button and wait for advice form to disappear 30s 746ms
And If user is login then logout 123ms
And Login as "swisskrono-admin" 2s 254ms
And Show all transport types 1s 057ms
Then Check if transport has "testowy-różoffy-statusik" 026ms
And Go to "SETTINGS_TAB" 347ms
When Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT" 1s 631ms
And Delete created transport by API 165ms
Then If user is login then logout 412ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 316ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 376ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 126ms
When Accept or reject "accept" transferred transport 18s 774ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_IMPORT" 120ms
And Set advice window in schedule 2s 740ms
And Fill advice form 14s 635ms
And Click advice save button and wait for advice form to disappear 30s 677ms
And If user is login then logout 097ms
And Login as "swisskrono-admin" 1s 304ms
And Show all transport types 1s 043ms
Then Check if transport has disabled status "testowy-różoffy-statusik" 15s 018ms
After Hooks.deleteAllTransports() 1m 16s 428ms
After Hooks.deleteAllAddedStatus() 2s 240ms
Given Set token of apiUsername "super-admin-farmacol" 137ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 267ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 811ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 042ms
When Login as "farmacol-admin" 1s 749ms
And Go to "TRANSPORT_TABLE" 210ms
And Confirm statuses until reach "during-unload" 9s 359ms
And Set actual confirmed transport status list 1s 337ms
And Disable task by API 065ms
And Go to transport details "EXTERNAL_DELIVERY" 4s 429ms
And Edit transport hours and recalculate statuses 16s 335ms
Then Verify that all confirmed statuses are still on transport status list 198ms
After Hooks.deleteTransportAfterTest() 167ms
After Hooks.rollbackTaskChanges() 070ms