Project Number Date
ApolloFullRunnerReport develop.433 23 maj 2021, 09:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice transport 409 6 22 0 0 437 35 6 41 30m 27s 101ms Failed
Feature Advice transport
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 3s 254ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 977ms
And Get inputs from database "CREATE_ADVICE_CONTAINER" "super-admin-adama" 1s 269ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 117ms
When Click button advice in transport table "CONTAINER" 092ms
And Set advice window in schedule in the past 3s 027ms
And Fill advice form 16s 464ms
And Click advice save button to check error message 073ms
Then Check if possible advice alert is displayed 021ms
After Hooks.deleteTransportAfterTest() 328ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 648ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 384ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 007ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 126ms
When Click button advice in transport table "DELIVERY" 080ms
And Set advice window in schedule in the past 2s 809ms
And Fill advice form 8s 526ms
And Click advice save button to check error message 092ms
Then Check if possible advice alert is displayed 023ms
After Hooks.deleteTransportAfterTest() 179ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 266ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 334ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 007ms
And Check is transport "LOAD" created in transport table and set transport id 1s 133ms
When Click button advice in transport table "LOAD" 091ms
And Set advice window in schedule in the past 2s 749ms
And Fill advice form 8s 417ms
And Click advice save button to check error message 095ms
Then Check if possible advice alert is displayed 019ms
After Hooks.deleteTransportAfterTest() 154ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 480ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 362ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 008ms
And Check is transport "LOAD" created in transport table and set transport id 1s 111ms
When Click button advice in transport table "LOAD" 090ms
And Set advice window in schedule in the past 2s 526ms
And Fill advice form 13s 145ms
And Click advice save button to check error message 077ms
Then Check if possible advice alert is displayed 021ms
After Hooks.deleteTransportAfterTest() 147ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 240ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 302ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 007ms
And Check is transport "CONTAINER" created in transport table and set transport id 1s 125ms
When Click button advice in transport table "CONTAINER" 107ms
And Set advice window in schedule in the past 2s 561ms
And Fill advice form 13s 328ms
And Click advice save button to check error message 085ms
Then Check if possible advice alert is displayed 021ms
After Hooks.deleteTransportAfterTest() 130ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 312ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 281ms
And Show all transport types 1s 044ms
And Create advice "CREATE_ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 49s 847ms
And Go to "TRANSPORT_TABLE" 167ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 4s 409ms
And Fill transport form 4s 734ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 008ms
And Expand advice panel 095ms
And Edit advice in transport details 12s 493ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 122ms
And Go to transport details "CONTAINER" 4s 357ms
And Expand advice panel 096ms
Then Check are advice values equals after edition 202ms
After Hooks.deleteTransportAfterTest() 165ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 294ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 255ms
And Show all transport types 1s 034ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 42s 444ms
And Go to "TRANSPORT_TABLE" 262ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 005ms
When Go to transport details "DELIVERY" 4s 443ms
And Fill transport form 1m 2s 393ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 007ms
And Expand advice panel 115ms
And Edit advice in transport details 6s 557ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 107ms
And Go to transport details "DELIVERY" 4s 504ms
And Expand advice panel 093ms
Then Check are advice values equals after edition 093ms
After Hooks.deleteTransportAfterTest() 195ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 281ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 238ms
And Show all transport types 1s 052ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-piast" 41s 992ms
And Go to "TRANSPORT_TABLE" 214ms
And Get inputs from database "EDIT_LOAD" "super-admin-piast" 005ms
When Go to transport details "LOAD" 4s 673ms
And Fill transport form 57s 393ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 006ms
And Expand advice panel 129ms
And Edit advice in transport details 6s 649ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 140ms
And Go to transport details "LOAD" 4s 592ms
And Expand advice panel 108ms
Then Check are advice values equals after edition 097ms
After Hooks.deleteTransportAfterTest() 232ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 175ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 259ms
And Show all transport types 1s 048ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 575ms
And Go to "TRANSPORT_TABLE" 198ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 4s 401ms
And Fill transport form 24s 749ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 005ms
And Expand advice panel 091ms
And Edit advice in transport details 18s 589ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 159ms
And Go to transport details "LOAD" 4s 384ms
And Expand advice panel 119ms
Then Check are advice values equals after edition 6s 319ms
After Hooks.deleteTransportAfterTest() 192ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 205ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 278ms
And Show all transport types 1s 035ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-keeeper" 46s 518ms
And Go to "TRANSPORT_TABLE" 215ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-keeeper" 004ms
When Go to transport details "CONTAINER" 4s 429ms
And Fill transport form 24s 670ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-keeeper" 004ms
And Expand advice panel 100ms
And Edit advice in transport details 18s 570ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 155ms
And Go to transport details "CONTAINER" 4s 383ms
And Expand advice panel 102ms
Then Check are advice values equals after edition 6s 291ms
After Hooks.deleteTransportAfterTest() 171ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 202ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 247ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 007ms
When Show all transport types 1s 045ms
And Click button advice in transport table "CONTAINER" 109ms
And Set advice window in schedule 2s 519ms
And Fill advice form 12s 373ms
And Click advice save button and wait for advice form to disappear 30s 740ms
And Go to "TRANSPORT_TABLE" 213ms
And Go to transport details "CONTAINER" 4s 416ms
Then Check are advice values equals 332ms
After Hooks.deleteTransportAfterTest() 141ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 058ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 228ms
And Get inputs from database "ADVICE_TRANSFER_BETWEEN_WAREHOUSES" "super-admin-hochland" 004ms
When Show all transport types 1s 037ms
And Click button advice in transport table "TRANSFER_BETWEEN_WAREHOUSES" 108ms
And Set advice window in schedule 6s 611ms
And Fill advice form 11s 796ms
And Click advice save button and wait for advice form to disappear 30s 713ms
And Go to "TRANSPORT_TABLE" 205ms
And Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 4s 576ms
Then Check are advice values equals 2s 295ms
After Hooks.deleteTransportAfterTest() 180ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 265ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 246ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 005ms
When Show all transport types 1s 042ms
And Click button advice in transport table "DELIVERY" 110ms
And Set advice window in schedule 2s 657ms
And Fill advice form 8s 408ms
And Click advice save button and wait for advice form to disappear 30s 733ms
And Go to "TRANSPORT_TABLE" 249ms
And Go to transport details "DELIVERY" 4s 457ms
Then Check are advice values equals 216ms
After Hooks.deleteTransportAfterTest() 163ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 248ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 264ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 005ms
When Show all transport types 1s 052ms
And Click button advice in transport table "LOAD" 105ms
And Set advice window in schedule 2s 678ms
And Fill advice form 8s 352ms
And Click advice save button and wait for advice form to disappear 30s 722ms
And Go to "TRANSPORT_TABLE" 219ms
And Go to transport details "LOAD" 4s 638ms
Then Check are advice values equals 228ms
After Hooks.deleteTransportAfterTest() 149ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 223ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 252ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 005ms
When Show all transport types 1s 047ms
And Click button advice in transport table "LOAD" 094ms
And Set advice window in schedule 2s 557ms
And Fill advice form 13s 300ms
And Click advice save button and wait for advice form to disappear 30s 679ms
And Go to "TRANSPORT_TABLE" 207ms
And Go to transport details "LOAD" 4s 445ms
Then Check are advice values equals 2s 330ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 235ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 223ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 005ms
When Show all transport types 1s 040ms
And Click button advice in transport table "CONTAINER" 124ms
And Set advice window in schedule 2s 524ms
And Fill advice form 13s 204ms
And Click advice save button and wait for advice form to disappear 30s 765ms
And Go to "TRANSPORT_TABLE" 197ms
And Go to transport details "CONTAINER" 4s 380ms
Then Check are advice values equals 2s 312ms
After Hooks.deleteTransportAfterTest() 146ms
Given Set token of apiUsername "super-admin-adama" 132ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 302ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 213ms
And Set token of apiUsername "paa1-carrier@qa.qa-test" 120ms
And Accept transferred transport by Api 411ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 853ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 009ms
When Show all transport types 1s 230ms
And Click button advice in transport table "TRANSPORT" 105ms
And Set advice window in schedule 2s 481ms
And Fill advice form 11s 874ms
And Click advice save button and wait for advice form to disappear 30s 762ms
And Go to "TRANSPORT_TABLE" 229ms
And Go to transport details "TRANSPORT" 4s 458ms
Then Check are advice values equals 2s 260ms
After Hooks.deleteTransportAfterTest() 126ms
Given Set token of apiUsername "super-admin-skz" 128ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 248ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 125ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 117ms
And Accept transferred transport by Api 148ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 646ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
When Show all transport types 1s 071ms
And Click button advice in transport table "SMALLS_IMPORT" 088ms
And Set advice window in schedule 2s 705ms
And Fill advice form 14s 575ms
And Click advice save button and wait for advice form to disappear 30s 758ms
And Go to "TRANSPORT_TABLE" 203ms
And Go to transport details "SMALLS_IMPORT" 4s 533ms
Then Check are advice values equals 2s 292ms
After Hooks.deleteTransportAfterTest() 170ms
Given Set token of apiUsername "super-admin-skz" 171ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 278ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 128ms
And Set token of apiUsername "pskza1-carrier@qa.qa-test" 130ms
And Accept transferred transport by Api 104ms
And Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 282ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 007ms
When Show all transport types 1s 120ms
And Click button advice in transport table "SMALLS_EXPORT" 134ms
And Set advice window in schedule 2s 736ms
And Fill advice form 14s 574ms
And Click advice save button and wait for advice form to disappear 30s 727ms
And Go to "TRANSPORT_TABLE" 197ms
And Go to transport details "SMALLS_EXPORT" 4s 465ms
Then Check are advice values equals 2s 340ms
After Hooks.deleteTransportAfterTest() 177ms
Given Set token of apiUsername "super-admin-adama" 139ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 1s 277ms
And Transfer transport to carrier by JSON file "super-admin-adama" "true" confirmation 112ms
And Accept transferred transport by Api 124ms
And Login as "paa1-carrier@qa.qa-test" 1s 332ms
When Show all transport types 1s 160ms
And Click button advice in transport table "TRANSPORT" 103ms
And Set week view 1s 593ms
And Show yesterday 1s 063ms
Then Check if advice restriction blockade windows are visible 026ms
After Hooks.deleteTransportAfterTest() 155ms
Given Set token of apiUsername "super-admin-skz" 118ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 15s 237ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 120ms
And Accept transferred transport by Api 146ms
And Login as "pskza1-carrier@qa.qa-test" 1s 168ms
When Show all transport types 1s 077ms
And Click button advice in transport table "SMALLS_IMPORT" 086ms
And Set week view 2s
And Show yesterday 1s 079ms
Then Check if advice restriction blockade windows are visible 031ms
After Hooks.deleteTransportAfterTest() 124ms
Given Set token of apiUsername "super-admin-skz" 116ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 15s 269ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 111ms
And Accept transferred transport by Api 144ms
And Login as "pskza1-carrier@qa.qa-test" 1s 323ms
When Show all transport types 1s 101ms
And Click button advice in transport table "SMALLS_EXPORT" 096ms
And Set week view 1s 969ms
And Show yesterday 1s 108ms
Then Check if advice restriction blockade windows are visible 034ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 434ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 513ms
And Show all transport "false" 028ms
And Click on time window date 1s 340ms
And Select view "DAYS_4" 2s 065ms
And Move advice window "3" 1s 330ms
Then Check if advice window is in new location 023ms
After Hooks.deleteTransportAfterTest() 157ms
Scenario Outline Check if it is possible to move advice window in schedule
Steps
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 1s 321ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 15s 834ms
And Show all transport "false" 019ms
And Click on time window date 15s 689ms
And Select view "DAYS_4" 2s 086ms
And Move advice window "3" 15s 071ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-window-type='state-with-transport']/div"}
  (Session info: headless chrome=90.0.4430.93)
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=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.TXnrBA}, 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=90.0.4430.93, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 30a114281ac48c1cc13f24640c9ab18b
*** Element info: {Using=xpath, value=//div[@data-window-type='state-with-transport']/div}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Transport.AdviceTransport.moveAdviceWindow(AdviceTransport.java:264)
	at ✽.Move advice window "3"(file:Features/Atom/Advice/AdviceTransport.feature:137)
Then Check if advice window is in new location 000ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 546ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 317ms
And Show all transport "false" 014ms
And Click on time window date 15s 540ms
And Select view "DAYS_4" 2s 068ms
And Move advice window "3" 1s 388ms
Then Check if advice window is in new location 027ms
After Hooks.deleteTransportAfterTest() 149ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 346ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 475ms
And Show all transport "false" 019ms
And Click on time window date 1s 481ms
And Select view "DAYS_4" 2s 062ms
And Move advice window "3" 1s 366ms
Then Check if advice window is in new location 028ms
After Hooks.deleteTransportAfterTest() 139ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 108ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 340ms
And Show all transport "false" 016ms
And Click on time window date 1s 334ms
And Select view "DAYS_4" 2s 058ms
And Move advice window "3" 1s 289ms
Then Check if advice window is in new location 021ms
After Hooks.deleteTransportAfterTest() 129ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 505ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 338ms
And Show all transport "true" 071ms
And Click on time window date 1s 346ms
And Select view "DAYS_4" 2s 050ms
And Move advice window "3" 1s 299ms
Then Check if advice window is in new location 024ms
After Hooks.deleteTransportAfterTest() 107ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 158ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 233ms
And Set "advice" inputs from JSON file "ADVICE_DELIVERY" "super-admin-piast" 009ms
When Show all transport types 1s 023ms
And Click button advice in transport table "DELIVERY" 107ms
And Set advice window in schedule 2s 668ms
And Fill advice form 8s 348ms
And Click advice save button and wait for advice form to disappear 30s 767ms
And Go to "TRANSPORT_TABLE" 254ms
And Click on time window date 1s 451ms
And Select view "DAYS_4" 2s 057ms
And Move advice window "3" 1s 424ms
Then Check if advice window is in new location 026ms
After Hooks.deleteTransportAfterTest() 176ms
Scenario Outline Check if late advice is red
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 529ms
And Create transport "CREATE_LATE_DELIVERY" by JSON file as "super-admin-hochland" in "0" days 1s 404ms
Then Check if transport row is "red" 3s 068ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.Transport.TransportUtilTest.checkIfTransportRowIs(TransportUtilTest.java:35)
	at ✽.Check if transport row is "red"(file:Features/Atom/Advice/AdviceTransport.feature:171)
After Hooks.deleteTransportAfterTest() 114ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 510ms
And Go to "TRANSPORT_TABLE" 155ms
And Show all transport types 1s 026ms
And Click on time window date 1s 347ms
And Scroll to time window "adviceWindow" 035ms
And Set time window height "80" "adviceWindow" 2s 366ms
Then Check height of the time window after expanding by "80" in "adviceWindow" 024ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "80" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 001ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 291ms
And Go to "TRANSPORT_TABLE" 135ms
And Show all transport types 1s 041ms
And Click on time window date 1s 462ms
And Scroll to time window "adviceWindow" 029ms
And Set time window height "120" "adviceWindow" 2s 386ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 023ms
After Hooks.deleteTransportAfterTest() 113ms
Scenario Outline Check if it is possible to resize advice window in schedule
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 092ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 383ms
And Go to "TRANSPORT_TABLE" 139ms
And Show all transport types 1s 044ms
And Click on time window date 1s 355ms
And Scroll to time window "adviceWindow" 035ms
And Set time window height "48" "adviceWindow" 2s 376ms
Then Check height of the time window after expanding by "48" in "adviceWindow" 026ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "48" in "adviceWindow"(file:Features/Atom/Advice/AdviceTransport.feature:186)
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 513ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 15s 333ms
And Go to "TRANSPORT_TABLE" 295ms
And Show all transport types 15s 040ms
And Click on time window date 15s 871ms
And Scroll to time window "adviceWindow" 041ms
And Set time window height "40" "adviceWindow" 2s 415ms
Then Check height of the time window after expanding by "40" in "adviceWindow" 035ms
After Hooks.deleteTransportAfterTest() 120ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 292ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 231ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 004ms
When Show all transport types 1s 045ms
And Click button advice in transport table "DELIVERY" 114ms
And Set advice window in schedule 2s 671ms
And Fill advice form 8s 435ms
And Click advice save button and wait for advice form to disappear 30s 738ms
And Go to "TRANSPORT_TABLE" 213ms
And Click on time window date 1s 405ms
And Set time window height "120" "adviceWindow" 2s 392ms
Then Check height of the time window after expanding by "120" in "adviceWindow" 022ms
After Hooks.deleteTransportAfterTest() 117ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 445ms
And Go to "WAREHOUSE_TAB" 955ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 796ms
When Go to new transport "DELIVERY" 366ms
And Fill transport form 39s 659ms
And Click "save-transport" save button and wait for form to disappear 15s 600ms
And Click previous page button in browser 023ms
Then Check if advice window can't be created 2s 577ms
After Hooks.deleteTransportAfterTest() 000ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 568ms
And Go to "WAREHOUSE_TAB" 786ms
And Select warehouse "Twarożkarnia wyrób gotowy" 1s 895ms
When Go to new transport "DELIVERY" 369ms
And Fill transport form 39s 751ms
And Click "save-transport" save button and wait for form to disappear 15s 592ms
And Replace warehouse id in browser url with "Twarożkarnia wyrób gotowy" id 028ms
Then Check if advice window can't be created 2s 281ms
After Hooks.deleteTransportAfterTest() 001ms
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 1s 444ms
And Create transport "CREATE_TRANSPORT_WITHOUT_WAREHOUSES" by JSON file as "super-admin-adama" 1s 258ms
And Transfer transport to carrier by JSON file "super-admin-adama" "false" confirmation 161ms
And Get inputs from database "ADVICE_TRANSPORT" "super-admin-adama" 004ms
When Show all transport types 1s 042ms
And Click button advice in transport table "TRANSPORT" 861ms
And Fill advice form 11s 706ms
And Click advice save button and wait for advice form to disappear 30s 707ms
When Find transport in table with status "no-advice-undefined" 3s 229ms
And Open statuses popup 083ms
And Wait "2" seconds 2s
Then Check if transport has checkpoints from list "Zgłoszenie się kierowcy,Zakończenie załadunku,Dostarczenie do klienta" in "1" 060ms
After Hooks.deleteTransportAfterTest() 091ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 698ms
And Create default accepted mode of transportation by API with "pba1-carrier" 1s 899ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 1s 294ms
And Set "advice" inputs from JSON file "ADVICE_LOAD_PL" "super-admin-bausch" 004ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 146ms
And Click button advice in transport table "LOAD_PL" 2s 199ms
And Set advice window in schedule 2s 874ms
And Fill advice form 9s 378ms
And Click advice save button and wait for advice form to disappear 30s 712ms
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 15s 285ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 143ms
When Go to "TRANSPORT_TABLE" 264ms
And Show all transport types 1s 050ms
And Click button advice in transport table "LOAD_PL" 2s 116ms
And Set advice window in schedule 2s 804ms
And Select driver "Marek Kanarek" from suggestions 1s 142ms
Then Verify if mode of transportation select is empty 041ms
After Hooks.deleteAllTransports() 46s 847ms
After Hooks.deleteModeOfTransportationAfterTest() 171ms
Scenario Outline Check if time window details preview displays correctly
Steps
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 214ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 693ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:92)
	at CucumberTests.Transport.AdviceTransport.createAdviceByJSONFile(AdviceTransport.java:332)
	at ✽.Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"(file:Features/Atom/Advice/AdviceTransport.feature:287)
And Login as "farmacol-admin" 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Katowice Przyjęcia" 000ms
And Set week view 000ms
And Move cursor over time window element 000ms
Then Check if "Zaawizowany" "31415" "06:00" "GDA12345" are visible on time window popup details 000ms
After Hooks.deleteTransportAfterTest() 099ms
Scenario Outline Check if it is possible to advice transport after splitting advice data from advice window
- order: advice data => advice window [A-7478]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 669ms
And Create default accepted mode of transportation by API with "pba1-carrier" 415ms
And Create transport "CREATE_EXW_DELIVERY" by JSON file as "super-admin-bausch" 103ms
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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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_EXW_DELIVERY" by JSON file as "super-admin-bausch"(file:Features/Atom/Advice/AdviceTransport.feature:331)
And Set "advice" inputs from JSON file "ADVICE_EXW_DELIVERY" "super-admin-bausch" 000ms
And Transfer transport to carrier by JSON file "super-admin-bausch" "true" confirmation 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Click button advice in transport table "EXW_DELIVERY" 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Click button advice in transport table "EXW_DELIVERY" 000ms
And Set advice window in schedule 000ms
And Change filled value in transport details "rodo-acceptance" "checkbox" "true" "0" 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport types 000ms
And Go to transport details "EXW_DELIVERY" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 136ms