Project Number Date
ApolloFullRunnerReport develop.347 15 cze 2021, 22:44

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 53 5 15 0 0 73 3 5 8 5m 9s 943ms 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" 118ms
And Set token of apiUsername "super-admin-piast" 117ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 1s 526ms
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() 004ms
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" 107ms
And Set token of apiUsername "super-admin-piast" 247ms
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: "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() 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 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" 143ms
And Set token of apiUsername "super-admin-piast" 105ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 047ms
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() 002ms
After Hooks.rollbackSettings() 006ms
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
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 101ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 026ms
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" 15s 853ms
Then Login as "neuca-admin" 1s 094ms
And Go to "TRANSPORT_TABLE" 211ms
And Confirm statuses until reach "process-ended" 27s 801ms
Then Check if sorting by 'Finished' status is working correctly 117ms
java.lang.AssertionError: Transporty są nieprawidłowo posortowane
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Sorting.SortingTest.testSortingByFinishedStatus(SortingTest.java:108)
	at ✽.Check if sorting by 'Finished' status is working correctly(file:Features/Atom/Filters/Filter.feature:169)
After Hooks.deleteTransportsAfterTest() 313ms
After Hooks.rollbackSettings() 221ms
View Feature Invitation
Given Set token of apiUsername "super-admin-piast" 093ms
And Delete invitations with email "automaty31415@test.pl" 002ms
And If user is login then logout 15s 048ms
Given Set token of apiUsername "super-admin-piast" 120ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 020ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 029ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 338ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 481ms
Then Go to "INVITATIONS_TAB" 227ms
And Go to "EXPIRED_TAB" invitation status tab 095ms
Then Invitation is displayed on list "automaty31415@test.pl" 138ms
After Hooks.deleteInvitationAfterTest() 037ms
After Hooks.rollbackSettings() 034ms
View Feature DedicatedWindow
Given Set token of apiUsername "super-admin-skz" 103ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 026ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 077ms
And Prepare setting for automatic time window delete with "super-admin-skz" 081ms
When Login as "swisskrono-admin" 1s 053ms
And Go to "WAREHOUSE_TAB" 418ms
Then Check if dedicated window is deleted from schedule 1m 18s 101ms
After Hooks.rollbackSettings() 059ms
View Feature Move transport to archive
Scenario Outline Check if delayed transport is moved to archived and can be restored
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 006ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 002ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 040ms
And Set proper delay time to move order to archive after task timeout 029ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 341ms
And Go to "WAREHOUSE_TAB" 672ms
And Change warehouse in schedule to: "Katowice" 1s 338ms
And Wait "60" seconds 1m
And Verify that transport window is grey 027ms
java.lang.AssertionError: Okno zlecenia nie zrobiło się szare
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Warehouse.WarehouseTest.verifyThatTransportWindowIsGrey(WarehouseTest.java:118)
	at ✽.Verify that transport window is grey(file:Features/Atom/Transport/Archive.feature:13)
And Verify that transport is in archive 000ms
Then Restore transport from archive 000ms
And Verify that transport has been successfully restored 000ms
After Hooks.deleteTransportAfterTest() 056ms
After Hooks.rollbackSettings() 019ms
View Feature Move transport to archive
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 1s 057ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 1s 238ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 026ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 003ms
When Go to "TRANSPORT_TABLE" 128ms
And Click button advice in transport table "OWN_COLLECTION" 1s 987ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 40s 129ms
And Go to "TRANSPORT_TABLE" 260ms
And Find transport in table with status "planned-magazyn-tychy" 3s 306ms
And Confirm statuses until reach "process-ended" 24s 857ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 208ms
And Show "OWN_COLLECTION" 060ms
And Verify that created transport is "true" in transport table 15s 081ms
After Hooks.deleteTransportAfterTest() 091ms
After Hooks.rollbackSettings() 021ms