Project Number Date
ApolloFullRunnerReport master.419 11 maj 2021, 22:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 233 3 12 0 0 248 19 3 22 20m 46s 607ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 460ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 466ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 074ms
When Go to "WAREHOUSE_TAB" 753ms
And Select warehouse "Serownia" 1s 372ms
And Set week view 1s 126ms
And Show yesterday 1s 077ms
And Move window into the past 295ms
Then Check if window is "red" 2s 027ms
After Hooks.rollbackAddedAuthorities() 047ms
After Hooks.deleteTransportAfterTest() 135ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 012ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 318ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 035ms
When Go to "WAREHOUSE_TAB" 597ms
And Select warehouse "Magazyn - Nowa Sól" 2s 309ms
And Set week view 1s 131ms
And Show yesterday 1s 067ms
And Move window into the past 419ms
Then Check if window is "red" 2s 029ms
After Hooks.rollbackAddedAuthorities() 031ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 218ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 187ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 038ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 002ms
When Show all transport types 1s 040ms
And Click button advice in transport table "DELIVERY" 090ms
And Set advice window in schedule 2s 608ms
And Fill advice form 8s 263ms
And Click advice save button and wait for advice form to disappear 30s 757ms
And Select warehouse "Magazyn Hala A" 1s 200ms
And Set week view 2s 015ms
And Show yesterday 1s 148ms
And Move window into the past 531ms
Then Check if window is "red" 2s 064ms
After Hooks.rollbackAddedAuthorities() 035ms
After Hooks.deleteTransportAfterTest() 122ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 509ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 001ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 388ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 394ms
When Go to "WAREHOUSE_TAB" 757ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 783ms
And Set week view 1s 106ms
And Check if time window length is correct after "CREATE" 028ms
And Change number of pallets in transport 51s 602ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 138ms
And Check if time window length is correct after "EDIT" 033ms
After Hooks.deleteTransportAfterTest() 147ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 194ms
And Get "UNLOAD" settings from "keeeper" 032ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 108ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 115ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 371ms
When Go to "WAREHOUSE_TAB" 330ms
And Select warehouse "Magazyn Surowców" 1s 182ms
And Set week view 1s 089ms
Then Check if time window has proper "60" 022ms
After Hooks.rollbackTransportTypeSettings() 060ms
After Hooks.clearAlgorithmSettings() 113ms
After Hooks.deleteTransportAfterTest() 081ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 072ms
And Get "UNLOAD" settings from "keeeper" 025ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 075ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 053ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 374ms
When Go to "WAREHOUSE_TAB" 318ms
And Select warehouse "Magazyn Surowców" 1s 162ms
And Set week view 1s 088ms
Then Check if time window has proper "60" 019ms
After Hooks.rollbackTransportTypeSettings() 059ms
After Hooks.clearAlgorithmSettings() 077ms
After Hooks.deleteTransportAfterTest() 110ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 096ms
And Get "LOAD" settings from "keeeper" 022ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 107ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 057ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 208ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 003ms
And Show all transport types 1s 039ms
And Click button advice in transport table "LOAD" 109ms
And Set advice window in schedule 2s 440ms
And Fill advice form 13s 163ms
And Click advice save button and wait for advice form to disappear 30s 718ms
Then Check if time window has proper "30" 028ms
After Hooks.rollbackTransportTypeSettings() 063ms
After Hooks.clearAlgorithmSettings() 080ms
After Hooks.deleteTransportAfterTest() 104ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 201ms
And Get "CONTAINER" settings from "keeeper" 024ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 083ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 057ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 210ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 003ms
And Show all transport types 1s 035ms
And Click button advice in transport table "CONTAINER" 109ms
And Set advice window in schedule 2s 482ms
And Fill advice form 13s 142ms
And Click advice save button and wait for advice form to disappear 30s 708ms
Then Check if time window has proper "60" 021ms
After Hooks.rollbackTransportTypeSettings() 070ms
After Hooks.clearAlgorithmSettings() 087ms
After Hooks.deleteTransportAfterTest() 126ms
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 1s 275ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 123ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 117ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 15s 357ms
And Set token of apiUsername "super-admin-hochland" 124ms
When Go to transport details "DELIVERY" 45s 121ms
And Change filled value in transport details "quantity" "number" "25" "0" 15s 058ms
java.lang.AssertionError: Nie można wypełnić pola quantity, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:274)
	at ✽.Change filled value in transport details "quantity" "number" "25" "0"(file:Features/Atom/TimeWindow/TransportWindow.feature:139)
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
After Hooks.clearAlgorithmSettings() 154ms
After Hooks.deleteTransportAfterTest() 115ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 225ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 035ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 224ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 402ms
And Check if time window counter value equals "1" 074ms
And Select view "DAYS_2" 2s 085ms
And Move advice window "2" 1s 366ms
And Select view "DAY" 2s 077ms
Then Check if time window counter value equals "0" 058ms
And Delete created transport by API 113ms
And Check if time window counter value equals "0" 041ms
And Click in free spot in schedule page to create gray window 170ms
And Check if time window counter value equals "0" 051ms
And Click in free spot in schedule page to create dedicated window 051ms
And Check if time window counter value equals "0" 056ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteTransportAfterTest() 103ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 002ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 189ms
When Go to new transport "DELIVERY" 276ms
And Fill transport form 11s 433ms
And Click "save-transport" save button and wait for form to disappear 15s 638ms
And Set advice window in schedule 2s 168ms
And Check is transport created in schedule and set transport id 501ms
And Go to "TRANSPORT_TABLE" 216ms
When Click on time window date 1s 310ms
And Open transport form when in schedule 1s 156ms
Then Check are transport values equals 139ms
After Hooks.deleteTransportAfterTest() 109ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 002ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 695ms
When Go to new transport "DELIVERY" 302ms
And Fill transport form 38s 842ms
And Click "save-transport" save button and wait for form to disappear 15s 584ms
And Set advice window in schedule 2s 161ms
And Check is transport created in schedule and set transport id 651ms
And Go to "TRANSPORT_TABLE" 250ms
When Click on time window date 1s 259ms
And Open transport form when in schedule 1s 247ms
Then Check are transport values equals 19s 368ms
After Hooks.deleteTransportAfterTest() 117ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 002ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 496ms
When Go to new transport "CISTERN_DELIVERY" 367ms
And Fill transport form 21s 549ms
java.lang.AssertionError: Nie można wypełnić pola warehouse, ponieważ nie udało się go znaleźć w formularzu
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
	at CucumberTests.Transport.CreateTransport.fillTransportForm(CreateTransport.java:170)
	at ✽.Fill transport form(file:Features/Atom/TimeWindow/TransportWindow.feature:175)
And Click "save-transport" save button and wait for form to disappear 000ms
And Set advice window in schedule 000ms
And Check is transport created in schedule and set transport id 000ms
And Go to "TRANSPORT_TABLE" 000ms
When Click on time window date 000ms
And Open transport form when in schedule 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterTest() 000ms
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 001ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 375ms
When Go to new transport "CISTERN_COLLECTION" 327ms
And Fill transport form 28s 285ms
And Click "save-transport" save button and wait for form to disappear 15s 841ms
And Set advice window in schedule 2s 226ms
And Check is transport created in schedule and set transport id 577ms
And Go to "TRANSPORT_TABLE" 187ms
When Click on time window date 1s 427ms
And Open transport form when in schedule 1s 207ms
Then Check are transport values equals 21s 386ms
After Hooks.deleteTransportAfterTest() 103ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 002ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 505ms
When Go to new transport "DELIVERY" 276ms
And Fill transport form 37s 878ms
And Click "save-transport" save button and wait for form to disappear 15s 663ms
And Set advice window in schedule 2s 167ms
And Check is transport created in schedule and set transport id 636ms
And Go to "TRANSPORT_TABLE" 209ms
When Click on time window date 1s 331ms
And Open transport form when in schedule 1s 168ms
Then Check are transport values equals 19s 311ms
After Hooks.deleteTransportAfterTest() 114ms
Given Get inputs from database "CREATE_LOAD" "super-admin-lantmannen" 002ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 118ms
When Go to new transport "LOAD" 309ms
And Fill transport form 37s 911ms
And Click "save-transport" save button and wait for form to disappear 15s 606ms
And Set advice window in schedule 2s 166ms
And Check is transport created in schedule and set transport id 543ms
And Go to "TRANSPORT_TABLE" 235ms
When Click on time window date 1s 346ms
And Open transport form when in schedule 1s 154ms
Then Check are transport values equals 19s 317ms
After Hooks.deleteTransportAfterTest() 110ms
Given Set token of apiUsername "super-admin-farmacol" 120ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 085ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 051ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 106ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 188ms
And Login as "farmacol-admin" 1s 714ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 45s 634ms
And Go to "TRANSPORT_TABLE" 309ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 433ms
And Add step "unload" 121ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 460ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 330ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 355ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 312ms
Then Click "save-transport" save button 160ms
And Set advice window in schedule in "2" days 4s 994ms
And Click advice save button and wait for advice form to disappear 30s 915ms
And Go to "TRANSPORT_TABLE" 241ms
And Check if transport has "2" time windows 012ms
After Hooks.rollbackTransportTypeSettings() 070ms
After Hooks.rollbackAddedActionAuthorities() 054ms
After Hooks.deleteTransportAfterTest() 158ms
Given Set token of apiUsername "super-admin-farmacol" 118ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 035ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 064ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 246ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 696ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 848ms
And Go to "TRANSPORT_TABLE" 287ms
And Get checkpoint colors for transport 004ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 42s 488ms
After Hooks.rollbackTransportTypeSettings() 107ms
After Hooks.deleteTransportAfterTest() 135ms
Given Set token of apiUsername "super-admin-farmacol" 118ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 035ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 065ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 252ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 076ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 801ms
And Go to "TRANSPORT_TABLE" 280ms
And Get checkpoint colors for transport 003ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 42s 019ms
After Hooks.rollbackTransportTypeSettings() 079ms
After Hooks.deleteTransportAfterTest() 137ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 116ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 031ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 049ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 234ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 033ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 774ms
And Get checkpoint colors for transport 002ms
And Go to "TRANSPORT_TABLE" 302ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 5s 495ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.TimeWindow.TimeWindowTest.verifyThatTransportColorsOfWindowsChangeProperlyInScheduleWhenWindowColorDependsOnWarehouseIs(TimeWindowTest.java:118)
	at ✽.Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true"(file:Features/Atom/TimeWindow/TransportWindow.feature:247)
After Hooks.rollbackTransportTypeSettings() 112ms
After Hooks.deleteTransportAfterTest() 116ms
Given Set token of apiUsername "super-admin-farmacol" 114ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 028ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 053ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 188ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 147ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 50s 362ms
And Get checkpoint colors for transport 005ms
And Go to "TRANSPORT_TABLE" 274ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 31s 022ms
After Hooks.rollbackTransportTypeSettings() 074ms
After Hooks.deleteTransportAfterTest() 143ms
Given Set token of apiUsername "super-admin-farmacol" 111ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 235ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 676ms
And Login as "super-admin-farmacol" 1s 888ms
And Show all transport types 1s 158ms
And Click on time window date 1s 630ms
Then Open transport form when in schedule 1s 243ms
And Click create similar button 15s 142ms
And Click cancel button in transport form 118ms
And Open transport form when in schedule 1s 185ms
Then Check if transport form modal is visible 044ms
After Hooks.deleteTransportAfterTest() 115ms