Project Number Date
ApolloFullRunnerReport develop.313 21 lut 2021, 10:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 99 1 6 0 0 106 8 1 9 12m 37s 218ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 117ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 157ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 209ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 003ms
And Show all transport types 1s 051ms
And Click button advice in transport table "CONTAINER" 136ms
And Set advice window in schedule 2s 373ms
And Fill advice form 11s 851ms
And Click advice save button and wait for advice form to disappear 30s 700ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 8s 445ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 121ms
After Hooks.cleanUserDetailsAfterTest() 162ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 317ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 150ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 223ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 041ms
And Click button advice in transport table "DELIVERY" 134ms
And Set advice window in schedule 2s 555ms
And Fill advice form 8s 405ms
And Click advice save button and wait for advice form to disappear 30s 771ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 13s 502ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 107ms
After Hooks.cleanUserDetailsAfterTest() 182ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 271ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 233ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 239ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 037ms
And Click button advice in transport table "LOAD" 136ms
And Set advice window in schedule 2s 394ms
And Fill advice form 13s 164ms
And Click advice save button and wait for advice form to disappear 30s 704ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 6s 926ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 124ms
After Hooks.cleanUserDetailsAfterTest() 202ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 305ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 157ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 213ms
And Show all transport types 1s 045ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 108ms
And Go to "TRANSPORT_TABLE" 176ms
And Go to transport details "CONTAINER" 4s 428ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 235ms
And Fill transport form 4s 723ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 114ms
And Edit advice in transport details 12s 441ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 594ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 7s 861ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 115ms
After Hooks.cleanUserDetailsAfterTest() 122ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 990ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 158ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 242ms
And Show all transport types 1s 058ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 853ms
And Go to "TRANSPORT_TABLE" 226ms
And Go to transport details "DELIVERY" 4s 541ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 004ms
When Go to transport details "DELIVERY" 3s 213ms
And Fill transport form 1m 2s 599ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 002ms
And Expand advice panel 111ms
And Edit advice in transport details 6s 681ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 140ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 19s 642ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 122ms
After Hooks.cleanUserDetailsAfterTest() 166ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 464ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 239ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 283ms
And Show all transport types 1s 044ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 606ms
And Go to "TRANSPORT_TABLE" 178ms
And Go to transport details "LOAD" 4s 489ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 003ms
When Go to transport details "LOAD" 3s 203ms
And Fill transport form 24s 768ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 004ms
And Expand advice panel 113ms
And Edit advice in transport details 18s 662ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 121ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 7s 639ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 092ms
After Hooks.cleanUserDetailsAfterTest() 182ms
Given Set token of apiUsername "super-admin-skd" 090ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 161ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 346ms
And Confirm status "ARRIVAL" by Public API "v1" 210ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 13s 553ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 150ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 37s 952ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 136ms
After Hooks.cleanUserDetailsAfterTest() 162ms
Given Set token of apiUsername "super-admin-hochland" 095ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 008ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 207ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 522ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 418ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 292ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 120ms
After Hooks.cleanUserDetailsAfterTest() 235ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 009ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 110ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 128ms
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:65)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:54)
	at CucumberTests.Invitation.RegistrationTest.createAndAcceptInvitationByJSONFileFor(RegistrationTest.java:59)
	at ✽.Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION"(file:Features/Atom/Mail/AdviceMail.feature:78)
And Get invited user account data "apolloautomattest@gmail.com" 000ms
And Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file 000ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user did not get an mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteUserAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:251)
	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)