Project Number Date
ApolloFullRunnerReport develop.461 16 cze 2021, 06:57

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 58 3 12 0 0 73 5 3 8 5m 24s 318ms Failed
View Feature API Transport
Scenario Outline Check if it is possible to create transport with different transport identifier type by Public API [A-7523]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 157ms
And Set token of apiUsername "super-admin-piast" 155ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 1s 623ms
java.lang.NullPointerException
	at io.restassured.path.json.JsonPath.getLong(JsonPath.java:340)
	at CucumberTests.Settings.SettingsTest.getSettingFor(SettingsTest.java:49)
	at ✽.Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"(file:Features/Api/Transport.feature:81)
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 000ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 000ms
Then Login as "super-admin-piast" 000ms
And Check is transport "DELIVERY" created in transport table and set transport id 000ms
Hooks
After Hooks.deleteTransportAfterApiTest() 022ms
After Hooks.rollbackSettings() 001ms
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
	at CucumberTests.Hooks.rollbackSettings(Hooks.java:448)
	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)
View Feature API Transport
Scenario Outline Check if it is possible to create transport with different transport identifier type by Public API [A-7523]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 174ms
And Set token of apiUsername "super-admin-piast" 159ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 111ms
java.lang.NullPointerException
	at io.restassured.path.json.JsonPath.getLong(JsonPath.java:340)
	at CucumberTests.Settings.SettingsTest.getSettingFor(SettingsTest.java:49)
	at ✽.Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"(file:Features/Api/Transport.feature:81)
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast" 000ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 000ms
Then Login as "super-admin-piast" 000ms
And Check is transport "DELIVERY" created in transport table and set transport id 000ms
Hooks
After Hooks.deleteTransportAfterApiTest() 002ms
After Hooks.rollbackSettings() 004ms
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
	at CucumberTests.Hooks.rollbackSettings(Hooks.java:448)
	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)
View Feature API Transport
Scenario Outline Check if it is possible to create transport with different transport identifier type by Public API [A-7523]
Steps
Given Login by Api as "super-admin-piast" and get token and expect status "200" 219ms
And Set token of apiUsername "super-admin-piast" 137ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 051ms
java.lang.NullPointerException
	at io.restassured.path.json.JsonPath.getLong(JsonPath.java:340)
	at CucumberTests.Settings.SettingsTest.getSettingFor(SettingsTest.java:49)
	at ✽.Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"(file:Features/Api/Transport.feature:81)
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 000ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 000ms
Then Login as "super-admin-piast" 000ms
And Check is transport "DELIVERY" created in transport table and set transport id 000ms
Hooks
After Hooks.deleteTransportAfterApiTest() 001ms
After Hooks.rollbackSettings() 000ms
java.lang.ClassCastException: com.fasterxml.jackson.databind.node.NullNode cannot be cast to com.fasterxml.jackson.databind.node.ObjectNode
	at CucumberTests.Hooks.rollbackSettings(Hooks.java:448)
	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)
View Feature Filters
Given Set token of apiUsername "super-admin-neuca" 124ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 052ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 002ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 400ms
Then Login as "neuca-admin" 1s 002ms
And Go to "TRANSPORT_TABLE" 193ms
And Confirm statuses until reach "process-ended" 27s 273ms
Then Check if sorting by 'Finished' status is working correctly 113ms
After Hooks.deleteTransportsAfterTest() 476ms
After Hooks.rollbackSettings() 460ms
View Feature Invitation
Given Set token of apiUsername "super-admin-piast" 151ms
And Delete invitations with email "automaty31415@test.pl" 002ms
And If user is login then logout 15s 058ms
Given Set token of apiUsername "super-admin-piast" 122ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 052ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 071ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 390ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 395ms
Then Go to "INVITATIONS_TAB" 333ms
And Go to "EXPIRED_TAB" invitation status tab 095ms
Then Invitation is displayed on list "automaty31415@test.pl" 134ms
After Hooks.deleteInvitationAfterTest() 053ms
After Hooks.rollbackSettings() 096ms
View Feature DedicatedWindow
Given Set token of apiUsername "super-admin-skz" 135ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 050ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 081ms
And Prepare setting for automatic time window delete with "super-admin-skz" 076ms
When Login as "swisskrono-admin" 1s 152ms
And Go to "WAREHOUSE_TAB" 446ms
Then Check if dedicated window is deleted from schedule 1m 15s 248ms
After Hooks.rollbackSettings() 068ms
View Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 884ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 007ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 055ms
And Set proper delay time to move order to archive after task timeout 066ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 377ms
And Go to "WAREHOUSE_TAB" 846ms
And Change warehouse in schedule to: "Katowice" 1s 524ms
And Wait "60" seconds 1m
And Verify that transport window is grey 023ms
And Verify that transport is in archive 2s 009ms
Then Restore transport from archive 940ms
And Verify that transport has been successfully restored 15s 269ms
After Hooks.deleteTransportAfterTest() 116ms
After Hooks.rollbackSettings() 056ms
View Feature Move transport to archive
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 1s 287ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 288ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 051ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 002ms
When Go to "TRANSPORT_TABLE" 116ms
And Click button advice in transport table "OWN_COLLECTION" 089ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 40s 421ms
And Go to "TRANSPORT_TABLE" 197ms
And Find transport in table with status "planned-magazyn-tychy" 3s 251ms
And Confirm statuses until reach "process-ended" 24s 221ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 290ms
And Show "OWN_COLLECTION" 068ms
And Verify that created transport is "true" in transport table 15s 071ms
After Hooks.deleteTransportAfterTest() 137ms
After Hooks.rollbackSettings() 056ms