Project Number Date
ApolloFullRunnerReport develop.388 21 kwi 2021, 05:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation status 23 8 105 0 0 136 1 8 9 32s 473ms Failed
Feature Mode of transportation status
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 116ms
When Create default mode of transportation by API with "pba1-carrier" 078ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 207ms
And Go to mode of transportation details 114ms
Then Reject mode of transportation 057ms
And Verify that user is redirected to mode of transportation tab 145ms
Then Check if "Odrzucony" status is visible in mode of transportation table 029ms
After Hooks.deleteModeOfTransportationAfterTest() 069ms
Scenario Outline Check if mode transportation status change appropriate to performed actions by users
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 1s 091ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 224ms
And Create mode of transportation with "AAAA0000" "Marka" "Model" "BBBB0000" 16s 123ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 204ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 033ms
And Go to mode of transportation details 117ms
And Add "WINTER_MAPPING" document to mode of transportation 10s 303ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: '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.esI0KO}, 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.72, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 2ed2e38d95bc324615c6bd0d7045b8af
	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.ModeOfTransportation.MOTDetailsTest.saveNewDocument(MOTDetailsTest.java:40)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.addDocumentToModeOfTransportation(MOTDetailsTest.java:283)
	at ✽.Add "WINTER_MAPPING" document to mode of transportation(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:28)
And Add "SUMMER_MAPPING" document to mode of transportation 000ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "WINTER_MAPPING" document 000ms
And Accept "SUMMER_MAPPING" document 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Niezaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Approve mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is rejected 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zablokowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Reject mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Odrzucony" status is visible in mode of transportation table 000ms
And Go to mode of transportation details 000ms
And Confirm mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Add another "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaktualizowany" status is visible in mode of transportation table 000ms
And If user is login then logout 000ms
And Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document is accepted 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Disable mode of transportation by API 000ms
And Show disabled mode of transportations in the table 000ms
And Go to the last mode of transportations table page 000ms
And Check if "Wyłączony" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 074ms
Scenario Outline Check if accepted mode of transportation status is accepted
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 242ms
When Create default mode of transportation by API with "pba1-carrier" 069ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 043ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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.addDocumentToModeOfTransportationByAPIWith(MOTAPITest.java:93)
	at ✽.Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:112)
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
Then Approve mode of transportation 000ms
And Check if confirm mode of transportation button is visible 000ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Verify that user is redirected to mode of transportation tab 000ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 000ms
After Hooks.deleteModeOfTransportationAfterTest() 058ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 101ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 105ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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/ModeOfTransportation/MOTStatus.feature:128)
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 000ms
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Verify that MOT has "SUMMER_MAPPING" document 000ms
Then Disable "SUMMER_MAPPING" document 000ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 000ms
And Check if mode of transportation has status "Zaakceptowany" 000ms
After Hooks.deleteModeOfTransportationAfterTest() 066ms
Scenario Outline Check if rejecting required section correctly changes status of the mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 104ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 107ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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/ModeOfTransportation/MOTStatus.feature:144)
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 000ms
And Check if mode of transportation has status "Zablokowany" 000ms
After Hooks.deleteModeOfTransportationAfterTest() 072ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Steps
Given Set token of apiUsername "super-admin-bausch" 104ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 074ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 031ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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.addDocumentToModeOfTransportationByAPIWith(MOTAPITest.java:93)
	at ✽.Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:160)
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
Then Approve mode of transportation 000ms
And Check if mode of transportation has status "Niezaakceptowany" 000ms
And Check if error message is visible in mode of transportation details 000ms
After Hooks.deleteModeOfTransportationAfterTest() 057ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 098ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 125ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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/ModeOfTransportation/MOTStatus.feature:174)
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 000ms
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Verify that MOT has "SUMMER_MAPPING" document 000ms
Then Disable "SUMMER_MAPPING" document 000ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 000ms
And Check if mode of transportation has status "Zaakceptowany" 000ms
After Hooks.deleteModeOfTransportationAfterTest() 073ms
Scenario Outline Check if rejecting required section correctly changes status of the mode of transportation
Steps
Given Set token of apiUsername "super-admin-bausch" 101ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 107ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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/ModeOfTransportation/MOTStatus.feature:190)
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 000ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 000ms
And Check if mode of transportation has status "Zablokowany" 000ms
After Hooks.deleteModeOfTransportationAfterTest() 064ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Steps
Given Set token of apiUsername "super-admin-bausch" 100ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 076ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 029ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <500>.

	at sun.reflect.GeneratedConstructorAccessor201.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.addDocumentToModeOfTransportationByAPIWith(MOTAPITest.java:93)
	at ✽.Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:206)
When Login as "super-admin-bausch" 000ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 000ms
And Go to mode of transportation details 000ms
Then Approve mode of transportation 000ms
And Check if mode of transportation has status "Niezaakceptowany" 000ms
And Check if error message is visible in mode of transportation details 000ms
After Hooks.deleteModeOfTransportationAfterTest() 067ms