Project Number Date
ApolloFullRunnerReport apollo-test-2.93 24 lip 2021, 05:47

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 13m 58s 176ms Failed
Feature Filters
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 221ms
When Go to "TRANSPORT_TABLE" 383ms
Then Check transport is loaded "DELIVERY" 1s 339ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 385ms
When Go to "TRANSPORT_TABLE" 373ms
Then Check transport is loaded "DELIVERY" 1s 384ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 2s 308ms
When Go to "TRANSPORT_TABLE" 392ms
Then Check transport is loaded "DELIVERY" 1s 349ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 279ms
When Go to "TRANSPORT_TABLE" 393ms
Then Check transport is loaded "LOAD" 1s 362ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 258ms
When Go to "TRANSPORT_TABLE" 389ms
Then Check transport is loaded "DELIVERY" 1s 407ms
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" 6s 971ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 972ms
And Delete created transport by API 674ms
When Go to "ARCHIVE_TAB" 469ms
And Show all transport "false" 096ms
Then Check specific column "CONTRACTOR" 494ms
Hooks
After Hooks.deleteTransportsAfterTest() 261ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224624697/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" 2s 279ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 327ms
And Delete created transport by API 590ms
When Go to "ARCHIVE_TAB" 495ms
And Show all transport "true" 238ms
Then Check specific column "CONTRACTOR" 1s 165ms
After Hooks.deleteTransportsAfterTest() 565ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 219ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 15s 809ms
When Login as "sempertrans-admin" 2s 230ms
And Go to "TRANSPORT_TABLE" 487ms
And Show all transport "false" 079ms
And Select transportType "DELIVERY" 1s 260ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 298ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 2s 010ms
And Select transportType "DELIVERY" 1s 235ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 293ms
Then Verify if new transport appear in transport table with polling "true" 5s 121ms
After Hooks.deleteTransportsAfterTest() 1s 051ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 234ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 728ms
When Login as "alrec-admin" 2s 216ms
And Go to "TRANSPORT_TABLE" 356ms
And Show all transport "true" 228ms
And Select transportType "DELIVERY" 1s 265ms
And Fill text based "CONTRACTOR" filter with "DAA1" 231ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 2s 813ms
And Select transportType "DELIVERY" 1s 230ms
And Fill text based "CONTRACTOR" filter with "DAA1" 257ms
Then Verify if new transport appear in transport table with polling "true" 5s 122ms
After Hooks.deleteTransportsAfterTest() 1s 418ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 217ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 948ms
When Login as "sempertrans-admin" 2s 159ms
And Go to "TRANSPORT_TABLE" 437ms
And Show all transport "false" 079ms
And Select transportType "DELIVERY" 1s 221ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 280ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 2s 018ms
And Select transportType "DELIVERY" 1s 266ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 254ms
Then Verify if new transport appear in transport table with polling "false" 20s 048ms
After Hooks.deleteTransportsAfterTest() 1s 070ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 268ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 782ms
When Login as "alrec-admin" 2s 214ms
And Go to "TRANSPORT_TABLE" 425ms
And Show all transport "true" 265ms
And Select transportType "DELIVERY" 1s 294ms
And Fill text based "CONTRACTOR" filter with "DAA1" 240ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 2s 858ms
And Select transportType "DELIVERY" 1s 242ms
And Fill text based "CONTRACTOR" filter with "DAA1" 231ms
Then Verify if new transport appear in transport table with polling "false" 20s 127ms
After Hooks.deleteTransportsAfterTest() 1s 394ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 207ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 280ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 9s 816ms
When Go to "TRANSPORT_TABLE" 411ms
And Sort transports by "show-mine" 1s 136ms
And Show all transport types 1s 151ms
Then Verify that created transport is "true" in transport table 1s 215ms
After Hooks.deleteTransportAfterTest() 681ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 244ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 210ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 589ms
When Go to "TRANSPORT_TABLE" 456ms
And Sort transports by "show-all" 1s 158ms
And Show all transport types 1s 183ms
Then Verify that created transport is "true" in transport table 1s 231ms
After Hooks.deleteTransportAfterTest() 621ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 217ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 234ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 498ms
When Go to "TRANSPORT_TABLE" 385ms
And Sort transports by "show-mine" 1s 162ms
And Show all transport types 1s 179ms
Then Verify that created transport is "false" in transport table 31s 712ms
After Hooks.deleteTransportAfterTest() 618ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 229ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 261ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 642ms
When Go to "TRANSPORT_TABLE" 408ms
And Sort transports by "show-all" 1s 172ms
And Show all transport types 1s 176ms
Then Verify that created transport is "true" in transport table 1s 216ms
After Hooks.deleteTransportAfterTest() 663ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 222ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 221ms
And Delete created transport by API 661ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 713ms
When Go to "ARCHIVE_TAB" 489ms
And Sort transports by "show-mine" 1s 145ms
And Show "SMALLS_IMPORT" 184ms
Then Verify that created transport is "true" in transport table 15s 154ms
After Hooks.deleteTransportAfterTest() 600ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 229ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 16s 059ms
And Delete created transport by API 654ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 756ms
When Go to "ARCHIVE_TAB" 470ms
And Sort transports by "show-all" 1s 145ms
And Show "SMALLS_IMPORT" 176ms
Then Verify that created transport is "true" in transport table 15s 166ms
After Hooks.deleteTransportAfterTest() 734ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 225ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 116ms
And Delete created transport by API 651ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 658ms
When Go to "ARCHIVE_TAB" 494ms
And Sort transports by "show-mine" 1s 141ms
And Show "SMALLS_IMPORT" 170ms
Then Verify that created transport is "false" in transport table 45s 685ms
After Hooks.deleteTransportAfterTest() 620ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 219ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 118ms
And Delete created transport by API 624ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 933ms
When Go to "ARCHIVE_TAB" 482ms
And Sort transports by "show-all" 1s 137ms
And Show "SMALLS_IMPORT" 176ms
Then Verify that created transport is "true" in transport table 15s 136ms
After Hooks.deleteTransportAfterTest() 638ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 234ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 16s 163ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 16s 143ms
When Login as "alrec-admin" 2s 238ms
And Go to "TRANSPORT_TABLE" 409ms
And Show all transport "true" 259ms
And Select transportType "TRANSPORT_ORDER" 1s 305ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 26s 293ms
After Hooks.deleteTransportsAfterTest() 1s 170ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 228ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 250ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 2s 189ms
When Login as "alrec-admin" 2s 347ms
And Go to "TRANSPORT_TABLE" 398ms
And Show all transport "true" 222ms
And Select transportType "INBOUND" 1s 232ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 26s 276ms
After Hooks.deleteTransportsAfterTest() 1s 127ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 242ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 271ms
When Login as "alrec-admin" 2s 255ms
And Go to "TRANSPORT_TABLE" 411ms
And Show all transport "true" 260ms
And Select transportType "TRANSPORT_ORDER" 1s 320ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 37s 453ms
After Hooks.deleteTransportAfterTest() 624ms
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" 2s 774ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 173ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 676ms
And Accept transferred transport by Api 635ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 57s 730ms
And Delete created transport by API 984ms
When Go to "ARCHIVE_TAB" 489ms
And Show "SMALLS_IMPORT" 175ms
Then Check if it is possible to search with different date property selects 26s 385ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<2[6].07.2021> but was:<2[4].07.2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:263)
	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() 745ms
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" 2s 813ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 262ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 670ms
And Accept transferred transport by Api 666ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 57s 751ms
And Delete created transport by API 828ms
When Go to "ARCHIVE_TAB" 496ms
And Show "SMALLS_EXPORT" 173ms
Then Check if it is possible to search with different date property selects 26s 382ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<2[6].07.2021> but was:<2[4].07.2021>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at Pages.Filters.FiltersPage.checkDateFilterPropertySelect(FiltersPage.java:263)
	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() 740ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 240ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 028ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 16s 983ms
And Login as "neuca-admin" 2s 318ms
And Go to "TRANSPORT_TABLE" 497ms
Then Verify that created transport is "false" in transport table 45s 707ms
And Toggle transport table days limit filter 184ms
And Verify that created transport is "true" in transport table 15s 130ms
After Hooks.deleteTransportAfterTest() 935ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 255ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 117ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 137ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 028ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 21s 058ms
Then Login as "neuca-admin" 2s 209ms
And Go to "TRANSPORT_TABLE" 492ms
And Confirm statuses until reach "process-ended" 22s 196ms
Then Check if sorting by 'Finished' status is working correctly 263ms
After Hooks.deleteTransportsAfterTest() 4s 410ms
After Hooks.rollbackAllCustomFieldsSettings() 366ms
After Hooks.rollbackSettings() 132ms