Project Number Date
ApolloFullRunnerReport develop.386 19 kwi 2021, 22:59

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status confirmation 178 5 41 0 0 224 17 5 22 16m 8s 335ms Failed
Feature Status confirmation
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 491ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 521ms
When Find transport in table with status "advice-added" 3s 240ms
And Confirm statuses until reach "process-ended" 28s 134ms
Then Check if transport has "process-ended" 029ms
After Hooks.deleteTransportAfterTest() 131ms
Given Login as "pgf-admin" and set token of apiUsername "super-admin-pgf" 2s 657ms
And Create transport "CREATE_UNLOAD" by JSON file as "super-admin-pgf" 15s 582ms
When Find transport in table with status "planned" 17s 214ms
And Confirm statuses until reach "process-ended" 21s 649ms
Then Check if transport has "process-ended" 029ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 156ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama" 1s 332ms
When Find transport in table with status "planned" 3s 225ms
And Confirm statuses until reach "process-ended" 21s 587ms
Then Check if transport has "process-ended" 026ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 139ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 15s 323ms
When Find transport in table with status "planned" 17s 217ms
And Confirm statuses until reach "departed" 24s 442ms
Then Check if transport has "departed" 035ms
After Hooks.deleteTransportAfterTest() 100ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 026ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-lantmannen" 1s 313ms
When Find transport in table with status "created" 3s 238ms
And Confirm statuses until reach "process-ended" 21s 536ms
Then Check if transport has "process-ended" 024ms
After Hooks.deleteTransportAfterTest() 083ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 160ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 317ms
When Find transport in table with status "created" 3s 232ms
And Confirm statuses until reach "process-ended" 29s 758ms
Then Check if transport has "process-ended" 024ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 225ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 315ms
When Find transport in table with status "planned" 3s 234ms
And Confirm statuses until reach "process-ended" 27s 555ms
Then Check if transport has "process-ended" 030ms
After Hooks.deleteTransportAfterTest() 105ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 195ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 405ms
When Find transport in table with status "planned" 3s 249ms
And Confirm statuses until reach "process-ended" 27s 025ms
Then Check if transport has "process-ended" 028ms
After Hooks.deleteTransportAfterTest() 114ms
Scenario Outline Check if transport has ended status after adding advice by user
Steps
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 2s 678ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 239ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 119ms
When Accept or reject "accept" transferred transport 10s 186ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@class='btn btn-sm margin-bottom accept-transaction-button'] (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=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.JKCeeY}, 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=89.0.4389.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 54a9d938fde986a1148e4cc3557fb8c1
	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:198)
	at CucumberTests.Transport.CarrierTransportAction.acceptOrRejectTransferredTransport(CarrierTransportAction.java:51)
	at ✽.Accept or reject "accept" transferred transport(file:Features/Atom/Statuses/ConfirmStatuses.feature:26)
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 000ms
And Click button advice in transport table "SMALLS_IMPORT" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Check if window is "silver" 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Check if transport has "process-ended" 000ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 048ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 205ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 077ms
When Accept or reject "accept" transferred transport 18s 122ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_EXPORT" 145ms
And Set advice window in schedule 2s 825ms
And Fill advice form 14s 758ms
And Click advice save button and wait for advice form to disappear 30s 752ms
And Check if window is "silver" 2s 030ms
And Go to "TRANSPORT_TABLE" 202ms
Then Check if transport has "process-ended" 272ms
After Hooks.deleteTransportAfterTest() 108ms
Given Set token of apiUsername "super-admin-hochland" 112ms
And Add action authority with: "hochland" "hochland-admin" "DELIVERY" "UPDATE_ADVICE" "CHECKPOINT_BASED" "ARRIVAL" 207ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 458ms
When Login as "hochland-admin" 2s 260ms
And Find transport in table with status "advice-added" 3s 311ms
And Confirm statuses until reach "arrived" 3s 834ms
And Go to transport details "DELIVERY" 4s 675ms
Then Check if it is not possible to edit advice 210ms
After Hooks.deleteTransportAfterTest() 144ms
After Hooks.rollbackAddedActionAuthorities() 065ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 537ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 444ms
When Find transport in table with status "advice-added" 3s 215ms
And Check if transport row is "blue" 3s 078ms
And Confirm statuses until reach "arrived" 3s 840ms
And Check if transport row is "green" 3s 068ms
And Confirm statuses until reach "during-unload" 3s 751ms
Then Check if transport row is "orange" 3s 098ms
And Confirm statuses until reach "unloaded" 3s 793ms
Then Check if transport row is "darkgoldenrod" 3s 072ms
And Confirm statuses until reach "process-ended" 4s 264ms
Then Check if transport row is "silver" 3s 077ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 155ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 194ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 047ms
And Click button advice in transport table "DELIVERY" 126ms
And Set advice window in schedule 2s 593ms
And Fill advice form 8s 463ms
And Click advice save button and wait for advice form to disappear 30s 722ms
And Go to "TRANSPORT_TABLE" 234ms
And Find transport in table with status "advice-added" 3s 217ms
And Confirm statuses until reach "left-the-area" 17s 552ms
Then Check if next status is not possible to confirm 108ms
After Hooks.deleteTransportAfterTest() 116ms
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 207ms
And Get inputs from database "ADVICE_LOAD" "super-admin-piast" 003ms
And Show all transport types 1s 053ms
And Click button advice in transport table "LOAD" 130ms
And Set advice window in schedule 2s 558ms
And Fill advice form 8s 449ms
And Click advice save button and wait for advice form to disappear 30s 741ms
And Go to "TRANSPORT_TABLE" 219ms
And Find transport in table with status "advice-added" 3s 245ms
And Confirm statuses until reach "left-the-area" 17s 510ms
Then Check if next status is not possible to confirm 100ms
After Hooks.deleteTransportAfterTest() 102ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 155ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 183ms
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" 129ms
And Set advice window in schedule 2s 578ms
And Fill advice form 8s 370ms
And Click advice save button and wait for advice form to disappear 30s 731ms
And Go to "TRANSPORT_TABLE" 258ms
And Find transport in table with status "advice-added" 3s 221ms
When Add file to transport by API 839ms
And Confirm statuses until reach "process-ended" 35s 252ms
Then Check if transport has "process-ended" 028ms
After Hooks.deleteTransportAfterTest() 128ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 235ms
And Create transport "CREATE_LOAD_FRONT" by JSON file as "super-admin-piast" 1s 193ms
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" 125ms
And Set advice window in schedule 2s 583ms
And Fill advice form 8s 405ms
And Click advice save button and wait for advice form to disappear 30s 790ms
And Go to "TRANSPORT_TABLE" 207ms
And Find transport in table with status "advice-added" 3s 242ms
When Add file to transport by API 271ms
And Confirm statuses until reach "process-ended" 35s 267ms
Then Check if transport has "process-ended" 027ms
After Hooks.deleteTransportAfterTest() 114ms
Scenario Outline Check if it is possible to confirm status by guard without confirming earlier statuses
Steps
Given Set token of apiUsername "super-admin-skd" 103ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 282ms
And Confirm status "REPORTING" by Public API "v1" 062ms
And Confirm status "ARRIVAL" by Public API "v1" 114ms
And Login as "swiss-krono-delivery-guard" 2s 185ms
And Go to "TRANSPORT_TABLE" 200ms
When Confirm "Departure" status in transport row 3s 088ms
Then Verify that "Departure" has been confirmed 15s 010ms
java.lang.AssertionError: Status nie został potwierdzony!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.StatusTests.ConfirmStatuses.verifyThatHasBeenConfirmed(ConfirmStatuses.java:114)
	at ✽.Verify that "Departure" has been confirmed(file:Features/Atom/Statuses/ConfirmStatuses.feature:223)
After Hooks.deleteTransportAfterTest() 103ms
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" 119ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 166ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor199.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.ModeOfTransportation.MOTAPITest.sendDocumentToApi(MOTAPITest.java:168)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentToModeOfTransportation(MOTAPITest.java:159)
	at CucumberTests.ModeOfTransportation.MOTAPITest.createAcceptedModeOfTransportationByAPIWith(MOTAPITest.java:86)
	at ✽.Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"(file:Features/Atom/Statuses/ConfirmStatuses.feature:271)
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 000ms
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 "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
And 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() 087ms
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" 099ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 101ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor199.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.ModeOfTransportation.MOTAPITest.sendDocumentToApi(MOTAPITest.java:168)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentToModeOfTransportation(MOTAPITest.java:159)
	at CucumberTests.ModeOfTransportation.MOTAPITest.createAcceptedModeOfTransportationByAPIWith(MOTAPITest.java:86)
	at ✽.Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"(file:Features/Atom/Statuses/ConfirmStatuses.feature:290)
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 000ms
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 "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteModeOfTransportationAfterTest() 063ms
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" 102ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 114ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor199.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.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.ModeOfTransportation.MOTAPITest.sendDocumentToApi(MOTAPITest.java:168)
	at CucumberTests.ModeOfTransportation.MOTAPITest.addDocumentToModeOfTransportation(MOTAPITest.java:159)
	at CucumberTests.ModeOfTransportation.MOTAPITest.createAcceptedModeOfTransportationByAPIWith(MOTAPITest.java:86)
	at ✽.Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"(file:Features/Atom/Statuses/ConfirmStatuses.feature:290)
And Create transport "CREATE_LOAD_PL" by JSON file as "super-admin-bausch" 000ms
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 "advice-added" 000ms
When Confirm statuses until reach "on-the-way" 000ms
And Open statuses popup 000ms
And Toggle status date confirmation checkbox 000ms
And Change status execution date to "-1" days from today 000ms
Then Verify that status cannot be confirmed 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteModeOfTransportationAfterTest() 065ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 153ms
And Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz" 167ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 269ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 082ms
When Accept or reject "accept" transferred transport 18s 003ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_IMPORT" 130ms
And Set advice window in schedule 2s 638ms
And Fill advice form 14s 631ms
And Click advice save button and wait for advice form to disappear 30s 713ms
And If user is login then logout 114ms
And Login as "swisskrono-admin" 1s 572ms
And Show all transport types 1s 071ms
Then Check if transport has "testowy-różoffy-statusik" 059ms
And Go to "SETTINGS_TAB" 322ms
When Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT" 1s 569ms
And Delete created transport by API 140ms
Then If user is login then logout 435ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 1s 317ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 281ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 090ms
When Accept or reject "accept" transferred transport 18s 007ms
And Get inputs from database "ADVICE_SMALLS" "super-admin-skz" 003ms
And Click button advice in transport table "SMALLS_IMPORT" 130ms
And Set advice window in schedule 2s 695ms
And Fill advice form 14s 595ms
And Click advice save button and wait for advice form to disappear 30s 754ms
And If user is login then logout 126ms
And Login as "swisskrono-admin" 1s 416ms
And Show all transport types 1s 075ms
Then Check if transport has disabled status "testowy-różoffy-statusik" 15s 018ms
After Hooks.deleteAllTransports() 1m 1s 543ms
After Hooks.deleteAllAddedStatus() 2s 253ms
Given Set token of apiUsername "super-admin-farmacol" 107ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 219ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 701ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 021ms
When Login as "farmacol-admin" 2s 513ms
And Go to "TRANSPORT_TABLE" 206ms
And Confirm statuses until reach "during-unload" 9s 399ms
And Set actual confirmed transport status list 1s 398ms
And Disable task by API 040ms
And Go to transport details "EXTERNAL_DELIVERY" 4s 443ms
And Edit transport hours and recalculate statuses 15s 787ms
Then Verify that all confirmed statuses are still on transport status list 132ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.rollbackTaskChanges() 042ms