Project Number Date
ApolloFullRunnerReport apollo-test-2.89 21 lip 2021, 06:06

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 56s 438ms Failed
Feature Filters
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 016ms
When Go to "TRANSPORT_TABLE" 372ms
Then Check transport is loaded "DELIVERY" 1s 328ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 374ms
When Go to "TRANSPORT_TABLE" 351ms
Then Check transport is loaded "DELIVERY" 1s 387ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 2s 279ms
When Go to "TRANSPORT_TABLE" 358ms
Then Check transport is loaded "DELIVERY" 1s 367ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 230ms
When Go to "TRANSPORT_TABLE" 397ms
Then Check transport is loaded "LOAD" 1s 342ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 287ms
When Go to "TRANSPORT_TABLE" 369ms
Then Check transport is loaded "DELIVERY" 1s 356ms
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" 7s 030ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 980ms
And Delete created transport by API 643ms
When Go to "ARCHIVE_TAB" 457ms
And Show all transport "false" 091ms
Then Check specific column "CONTRACTOR" 497ms
Hooks
After Hooks.deleteTransportsAfterTest() 253ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /transports/224199489/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 401ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 319ms
And Delete created transport by API 611ms
When Go to "ARCHIVE_TAB" 489ms
And Show all transport "true" 238ms
Then Check specific column "CONTRACTOR" 1s 249ms
After Hooks.deleteTransportsAfterTest() 627ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 261ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 15s 787ms
When Login as "sempertrans-admin" 2s 193ms
And Go to "TRANSPORT_TABLE" 465ms
And Show all transport "false" 083ms
And Select transportType "DELIVERY" 1s 220ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 274ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 1s 998ms
And Select transportType "DELIVERY" 1s 239ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 268ms
Then Verify if new transport appear in transport table with polling "true" 5s 104ms
After Hooks.deleteTransportsAfterTest() 1s 062ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 230ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 757ms
When Login as "alrec-admin" 2s 258ms
And Go to "TRANSPORT_TABLE" 400ms
And Show all transport "true" 256ms
And Select transportType "DELIVERY" 1s 303ms
And Fill text based "CONTRACTOR" filter with "DAA1" 223ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 2s 732ms
And Select transportType "DELIVERY" 1s 239ms
And Fill text based "CONTRACTOR" filter with "DAA1" 219ms
Then Verify if new transport appear in transport table with polling "true" 5s 118ms
After Hooks.deleteTransportsAfterTest() 1s 383ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 225ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 1s 913ms
When Login as "sempertrans-admin" 2s 124ms
And Go to "TRANSPORT_TABLE" 439ms
And Show all transport "false" 080ms
And Select transportType "DELIVERY" 1s 211ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 250ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 2s 075ms
And Select transportType "DELIVERY" 1s 229ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 271ms
Then Verify if new transport appear in transport table with polling "false" 20s 052ms
After Hooks.deleteTransportsAfterTest() 1s 062ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 251ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 762ms
When Login as "alrec-admin" 2s 136ms
And Go to "TRANSPORT_TABLE" 354ms
And Show all transport "true" 252ms
And Select transportType "DELIVERY" 1s 306ms
And Fill text based "CONTRACTOR" filter with "DAA1" 224ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 2s 892ms
And Select transportType "DELIVERY" 1s 223ms
And Fill text based "CONTRACTOR" filter with "DAA1" 221ms
Then Verify if new transport appear in transport table with polling "false" 20s 097ms
After Hooks.deleteTransportsAfterTest() 1s 452ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 210ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 275ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 10s 046ms
When Go to "TRANSPORT_TABLE" 464ms
And Sort transports by "show-mine" 1s 162ms
And Show all transport types 1s 163ms
Then Verify that created transport is "true" in transport table 1s 217ms
After Hooks.deleteTransportAfterTest() 695ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 220ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 220ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 552ms
When Go to "TRANSPORT_TABLE" 447ms
And Sort transports by "show-all" 1s 162ms
And Show all transport types 1s 179ms
Then Verify that created transport is "true" in transport table 1s 219ms
After Hooks.deleteTransportAfterTest() 650ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 211ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 210ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 550ms
When Go to "TRANSPORT_TABLE" 359ms
And Sort transports by "show-mine" 1s 124ms
And Show all transport types 1s 167ms
Then Verify that created transport is "false" in transport table 31s 747ms
After Hooks.deleteTransportAfterTest() 649ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 238ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 282ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 672ms
When Go to "TRANSPORT_TABLE" 377ms
And Sort transports by "show-all" 1s 154ms
And Show all transport types 1s 191ms
Then Verify that created transport is "true" in transport table 1s 201ms
After Hooks.deleteTransportAfterTest() 633ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 228ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 234ms
And Delete created transport by API 652ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 616ms
When Go to "ARCHIVE_TAB" 464ms
And Sort transports by "show-mine" 1s 141ms
And Show "SMALLS_IMPORT" 187ms
Then Verify that created transport is "true" in transport table 15s 159ms
After Hooks.deleteTransportAfterTest() 685ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-purchasing-department" 232ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 16s 098ms
And Delete created transport by API 643ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 926ms
When Go to "ARCHIVE_TAB" 503ms
And Sort transports by "show-all" 1s 136ms
And Show "SMALLS_IMPORT" 155ms
Then Verify that created transport is "true" in transport table 15s 124ms
After Hooks.deleteTransportAfterTest() 593ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 231ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 133ms
And Delete created transport by API 683ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 824ms
When Go to "ARCHIVE_TAB" 475ms
And Sort transports by "show-mine" 1s 144ms
And Show "SMALLS_IMPORT" 191ms
Then Verify that created transport is "false" in transport table 45s 660ms
After Hooks.deleteTransportAfterTest() 599ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "swisskrono-admin" 213ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 125ms
And Delete created transport by API 694ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 794ms
When Go to "ARCHIVE_TAB" 459ms
And Sort transports by "show-all" 1s 157ms
And Show "SMALLS_IMPORT" 158ms
Then Verify that created transport is "true" in transport table 15s 147ms
After Hooks.deleteTransportAfterTest() 674ms
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" 16s 190ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 16s 209ms
When Login as "alrec-admin" 2s 259ms
And Go to "TRANSPORT_TABLE" 433ms
And Show all transport "true" 257ms
And Select transportType "TRANSPORT_ORDER" 1s 312ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 26s 279ms
After Hooks.deleteTransportsAfterTest() 1s 071ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 221ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 309ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 2s 235ms
When Login as "alrec-admin" 2s 304ms
And Go to "TRANSPORT_TABLE" 378ms
And Show all transport "true" 230ms
And Select transportType "INBOUND" 1s 214ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 26s 242ms
After Hooks.deleteTransportsAfterTest() 1s 197ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-alrec" 229ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 250ms
When Login as "alrec-admin" 2s 144ms
And Go to "TRANSPORT_TABLE" 372ms
And Show all transport "true" 231ms
And Select transportType "TRANSPORT_ORDER" 1s 288ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 37s 345ms
After Hooks.deleteTransportAfterTest() 640ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 734ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 123ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 688ms
And Accept transferred transport by Api 637ms
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 57s 210ms
And Delete created transport by API 947ms
When Go to "ARCHIVE_TAB" 502ms
And Show "SMALLS_IMPORT" 178ms
Then Check if it is possible to search with different date property selects 26s 365ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<2[2].07.2021> but was:<2[1].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() 746ms
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 651ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 145ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 688ms
And Accept transferred transport by Api 658ms
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 57s 539ms
And Delete created transport by API 892ms
When Go to "ARCHIVE_TAB" 481ms
And Show "SMALLS_EXPORT" 174ms
Then Check if it is possible to search with different date property selects 26s 293ms
org.junit.ComparisonFailure: Data jest inna niż wybrana w filtrze! Problem wystąpił przy TIME_WINDOW_START expected:<2[2].07.2021> but was:<2[1].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() 742ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 241ms
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 911ms
And Login as "neuca-admin" 2s 273ms
And Go to "TRANSPORT_TABLE" 478ms
Then Verify that created transport is "false" in transport table 45s 674ms
And Toggle transport table days limit filter 195ms
And Verify that created transport is "true" in transport table 15s 158ms
After Hooks.deleteTransportAfterTest() 855ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-neuca" 229ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 178ms
And Mark custom fields as not obligatory 005ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 132ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 027ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 21s 095ms
Then Login as "neuca-admin" 2s 120ms
And Go to "TRANSPORT_TABLE" 488ms
And Confirm statuses until reach "process-ended" 22s 192ms
Then Check if sorting by 'Finished' status is working correctly 201ms
After Hooks.deleteTransportsAfterTest() 4s 495ms
After Hooks.rollbackAllCustomFieldsSettings() 375ms
After Hooks.rollbackSettings() 126ms