Project Number Date
ApolloFullRunnerReport apollo-test-2.92 23 lip 2021, 09:21

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
sms 22 4 30 0 0 56 0 4 4 28s 483ms Failed
Feature sms
Scenario Outline Check if sms was sent to driver after confirm status
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-lantmannen" 232ms
And Get custom field settings for "LOAD" transport type and "lantmannen" company 092ms
And Mark custom fields as not obligatory 008ms
And Login as "lantmannen-admin" 5s 995ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 976ms
And Go to transport details "LOAD" 2s 829ms
And Set driver phone number "48" "789440109" 1s 077ms
When Find transport in table with status "created" 1s 296ms
org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element ... is not clickable at point (196, 25). Other element would receive the click: 
  (Session info: headless chrome=91.0.4472.164)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.Ppce60}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 60a300c02f7c304e2b634b274bb7a163
	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.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)
	at CucumberTests.BaseTest.goToTab(BaseTest.java:91)
	at CucumberTests.StatusTests.ConfirmStatuses.findTransportInTableWith(ConfirmStatuses.java:65)
	at ✽.Find transport in table with status "created"(file:Features/Atom/SMS/sms.feature:13)
And Confirm statuses until reach "driver-called" 000ms
And Wait "20" seconds 000ms
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "Kierowco, prosimy o podjazd pod rampe numer" 000ms
And Wait "10" seconds 000ms
After Hooks.deleteTransportAfterTest() 862ms
After Hooks.rollbackAllCustomFieldsSettings() 007ms
Scenario Outline Check if role can send SMS to all drivers from queue
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-skd" 278ms
And Set basic authorities "ROLE_QUEUES_TAB" to user "swiss-krono-delivery-admin" 317ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 810ms
When Confirm status "REPORTING" by Public API "v1" 482ms
And Confirm status "ARRIVAL" by Public API "v1" 730ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 057ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:180)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:32)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Verify that classification resource is proper "Zrębki" and "recykling" in Queues Tab 000ms
Then Verify that classification resource buttons have proper color on "Zrębki" and "recykling" and "Rozładunek" - "UNLOAD" "DELIVERY" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
And Wait "20" seconds 000ms
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "wzywany jest na rozładunek surowca" 000ms
After Hooks.deleteTransportAfterTest() 893ms
After Hooks.rollbackAddedAuthorities() 136ms
Scenario Outline Check if role can send SMS to all drivers from queue
Before Hooks.showScenarioName(Scenario) 003ms
Steps
Given Set token of apiUsername "super-admin-skd" 230ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 487ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 775ms
When Confirm status "REPORTING" by Public API "v1" 485ms
And Confirm status "ARRIVAL" by Public API "v1" 670ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 035ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:180)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:54)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Go to square: "Zrębki" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "wzywany jest na rozładunek surowca" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 902ms
After Hooks.rollbackAddedAuthorities() 262ms
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.GeneratedMethodAccessor89.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.GeneratedMethodAccessor88.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:301)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:173)
	at CucumberTests.Hooks.lambda$rollbackAddedAuthorities$6(Hooks.java:535)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.rollbackAddedAuthorities(Hooks.java:533)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Scenario Outline Check if SMS was added to transport history after confirm status
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-skd" 238ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 413ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 707ms
When Confirm status "REPORTING" by Public API "v1" 515ms
And Confirm status "ARRIVAL" by Public API "v1" 695ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 040ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:180)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:74)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Go to square: "Zrębki" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Open section: "panel-title" 000ms
Then Check if information about sms was added to transport history 000ms
After Hooks.deleteTransportAfterTest() 867ms
After Hooks.rollbackAddedAuthorities() 143ms