Project Number Date
ApolloFullRunnerReport 2021.AT1.14 26 Jul 2021, 08:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Filters 188 2 0 0 0 190 23 3 26 11m 17s 353ms Failed
Feature Filters
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 399ms
When Go to "TRANSPORT_TABLE" 131ms
Then Check transport is loaded "DELIVERY" 1s 120ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 034ms
When Go to "TRANSPORT_TABLE" 112ms
Then Check transport is loaded "DELIVERY" 1s 171ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 948ms
When Go to "TRANSPORT_TABLE" 118ms
Then Check transport is loaded "DELIVERY" 1s 158ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 996ms
When Go to "TRANSPORT_TABLE" 119ms
Then Check transport is loaded "LOAD" 1s 119ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 984ms
When Go to "TRANSPORT_TABLE" 121ms
Then Check transport is loaded "DELIVERY" 1s 159ms
Scenario Outline Check specific archive column filter
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 1s 315ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 216ms
And Delete created transport by API 090ms
When Go to "ARCHIVE_TAB" 199ms
And Show all transport "false" 166ms
Then Check specific column "CONTRACTOR" 056ms
Hooks
After Hooks.deleteTransportsAfterTest() 052ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224659738/delete - status odpowiedzi: 500 , komunikat:  [error:TransportCanNotBeDeleted]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteTransportsAfterTest(Hooks.java:202)
	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)
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 980ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 1s 270ms
And Delete created transport by API 080ms
When Go to "ARCHIVE_TAB" 208ms
And Show all transport "true" 231ms
Then Check specific column "CONTRACTOR" 729ms
After Hooks.deleteTransportsAfterTest() 061ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 093ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 15s 133ms
When Login as "sempertrans-admin" 952ms
And Go to "TRANSPORT_TABLE" 218ms
And Show all transport "false" 163ms
And Select transportType "DELIVERY" 1s 086ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 099ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 1s 203ms
And Select transportType "DELIVERY" 1s 102ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 077ms
Then Verify if new transport appear in transport table with polling "true" 5s 032ms
After Hooks.deleteTransportsAfterTest() 127ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 096ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 302ms
When Login as "alrec-admin" 917ms
And Go to "TRANSPORT_TABLE" 136ms
And Show all transport "true" 230ms
And Select transportType "DELIVERY" 1s 113ms
And Fill text based "CONTRACTOR" filter with "DAA1" 089ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 1s 360ms
And Select transportType "DELIVERY" 1s 097ms
And Fill text based "CONTRACTOR" filter with "DAA1" 083ms
Then Verify if new transport appear in transport table with polling "true" 5s 042ms
After Hooks.deleteTransportsAfterTest() 196ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 093ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 197ms
When Login as "sempertrans-admin" 957ms
And Go to "TRANSPORT_TABLE" 186ms
And Show all transport "false" 173ms
And Select transportType "DELIVERY" 1s 090ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 078ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 1s 191ms
And Select transportType "DELIVERY" 1s 089ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 073ms
Then Verify if new transport appear in transport table with polling "false" 20s 008ms
After Hooks.deleteTransportsAfterTest() 101ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 105ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 1s 326ms
When Login as "alrec-admin" 939ms
And Go to "TRANSPORT_TABLE" 120ms
And Show all transport "true" 227ms
And Select transportType "DELIVERY" 1s 108ms
And Fill text based "CONTRACTOR" filter with "DAA1" 074ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 1s 289ms
And Select transportType "DELIVERY" 1s 082ms
And Fill text based "CONTRACTOR" filter with "DAA1" 070ms
Then Verify if new transport appear in transport table with polling "false" 20s 046ms
After Hooks.deleteTransportsAfterTest() 211ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 096ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 267ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 872ms
When Go to "TRANSPORT_TABLE" 197ms
And Sort transports by "show-mine" 1s 062ms
And Show all transport types 1s 078ms
Then Verify that created transport is "true" in transport table 1s 088ms
After Hooks.deleteTransportAfterTest() 078ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 101ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 235ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 050ms
When Go to "TRANSPORT_TABLE" 198ms
And Sort transports by "show-all" 1s 059ms
And Show all transport types 1s 068ms
Then Verify that created transport is "true" in transport table 1s 076ms
After Hooks.deleteTransportAfterTest() 087ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 101ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 221ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 073ms
When Go to "TRANSPORT_TABLE" 110ms
And Sort transports by "show-mine" 1s 070ms
And Show all transport types 1s 061ms
Then Verify that created transport is "false" in transport table 31s 575ms
After Hooks.deleteTransportAfterTest() 087ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 100ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 1s 269ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 172ms
When Go to "TRANSPORT_TABLE" 138ms
And Sort transports by "show-all" 1s 057ms
And Show all transport types 1s 071ms
Then Verify that created transport is "true" in transport table 1s 078ms
After Hooks.deleteTransportAfterTest() 088ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "swisskrono-purchasing-department" 099ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 1s 213ms
And Delete created transport by API 081ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 067ms
When Go to "ARCHIVE_TAB" 214ms
And Sort transports by "show-mine" 1s 057ms
And Show "SMALLS_IMPORT" 081ms
Then Verify that created transport is "true" in transport table 15s 090ms
After Hooks.deleteTransportAfterTest() 074ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 102ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 15s 217ms
And Delete created transport by API 070ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 207ms
When Go to "ARCHIVE_TAB" 200ms
And Sort transports by "show-all" 1s 053ms
And Show "SMALLS_IMPORT" 085ms
Then Verify that created transport is "true" in transport table 15s 061ms
After Hooks.deleteTransportAfterTest() 077ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 100ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 15s 193ms
And Delete created transport by API 087ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 175ms
When Go to "ARCHIVE_TAB" 203ms
And Sort transports by "show-mine" 1s 060ms
And Show "SMALLS_IMPORT" 083ms
Then Verify that created transport is "false" in transport table 45s 622ms
After Hooks.deleteTransportAfterTest() 092ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 100ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 15s 188ms
And Delete created transport by API 080ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 1s 208ms
When Go to "ARCHIVE_TAB" 206ms
And Sort transports by "show-all" 1s 060ms
And Show "SMALLS_IMPORT" 075ms
Then Verify that created transport is "true" in transport table 15s 070ms
After Hooks.deleteTransportAfterTest() 101ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 098ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 15s 189ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 15s 208ms
When Login as "alrec-admin" 1s 048ms
And Go to "TRANSPORT_TABLE" 131ms
And Show all transport "true" 237ms
And Select transportType "TRANSPORT_ORDER" 1s 137ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 24s 825ms
After Hooks.deleteTransportsAfterTest() 162ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 097ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 289ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 1s 228ms
When Login as "alrec-admin" 1s 009ms
And Go to "TRANSPORT_TABLE" 130ms
And Show all transport "true" 237ms
And Select transportType "INBOUND" 1s 093ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 24s 766ms
After Hooks.deleteTransportsAfterTest() 133ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 111ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 1s 242ms
When Login as "alrec-admin" 1s 012ms
And Go to "TRANSPORT_TABLE" 119ms
And Show all transport "true" 221ms
And Select transportType "TRANSPORT_ORDER" 1s 121ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 36s 484ms
After Hooks.deleteTransportAfterTest() 083ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 197ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 1s 218ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 095ms
And Accept transferred transport by Api 100ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 47s 827ms
And Delete created transport by API 113ms
When Go to "ARCHIVE_TAB" 266ms
And Show "SMALLS_IMPORT" 077ms
Then Check if it is possible to search with different date property selects 3s 651ms
org.junit.ComparisonFailure: Data utworzenia jest inna niż wybrana w filtrze! Problem wystąpił przy DATE_CREATED expected:<[.07.2021 0]> but was:<[26.07.2021]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:253)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:98)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:140)
After Hooks.deleteTransportAfterTest() 098ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 163ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 1s 228ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 078ms
And Accept transferred transport by Api 093ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 50s 115ms
And Delete created transport by API 133ms
When Go to "ARCHIVE_TAB" 236ms
And Show "SMALLS_EXPORT" 082ms
Then Check if it is possible to search with different date property selects 3s 556ms
org.junit.ComparisonFailure: Data utworzenia jest inna niż wybrana w filtrze! Problem wystąpił przy DATE_CREATED expected:<[.07.2021 0]> but was:<[26.07.2021]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:253)
	at CucumberTests.Filters.FilterTransportTest.searchWithDifferentArchiveFilters(FilterTransportTest.java:98)
	at ✽.Check if it is possible to search with different date property selects(file:Features/Atom/Filters/Filter.feature:140)
After Hooks.deleteTransportAfterTest() 118ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 102ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 003ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 15s 411ms
And Login as "neuca-admin" 969ms
And Go to "TRANSPORT_TABLE" 205ms
Then Verify that created transport is "false" in transport table 45s 584ms
And Toggle transport table days limit filter 079ms
And Verify that created transport is "true" in transport table 15s 090ms
After Hooks.deleteTransportAfterTest() 117ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 098ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 078ms
And Mark custom fields as not obligatory 009ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 028ms
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 989ms
Then Login as "neuca-admin" 942ms
And Go to "TRANSPORT_TABLE" 215ms
And Confirm statuses until reach "process-ended" 32s 773ms
Then Check if sorting by 'Finished' status is working correctly 103ms
After Hooks.deleteTransportsAfterTest() 563ms
After Hooks.rollbackAllCustomFieldsSettings() 3s 717ms
After Hooks.rollbackSettings() 924ms