Project Number Date
ApolloFullRunnerReport master.420 12 maj 2021, 06:42

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 48s 906ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 467ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 467ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 092ms
When Go to "WAREHOUSE_TAB" 817ms
And Select warehouse "Serownia" 1s 395ms
And Set week view 1s 122ms
And Show yesterday 1s 055ms
And Move window into the past 282ms
Then Check if window is "red" 2s 023ms
After Hooks.rollbackAddedAuthorities() 075ms
After Hooks.deleteTransportAfterTest() 137ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 048ms
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" 050ms
When Go to "WAREHOUSE_TAB" 617ms
And Select warehouse "Magazyn - Nowa Sól" 2s 291ms
And Set week view 1s 112ms
And Show yesterday 1s 074ms
And Move window into the past 420ms
Then Check if window is "red" 2s 026ms
After Hooks.rollbackAddedAuthorities() 050ms
After Hooks.deleteTransportAfterTest() 127ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 235ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 218ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 057ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
When Show all transport types 1s 045ms
And Click button advice in transport table "DELIVERY" 096ms
And Set advice window in schedule 2s 724ms
And Fill advice form 8s 334ms
And Click advice save button and wait for advice form to disappear 30s 719ms
And Select warehouse "Magazyn Hala A" 1s 202ms
And Set week view 2s 031ms
And Show yesterday 1s 193ms
And Move window into the past 534ms
Then Check if window is "red" 2s 058ms
After Hooks.rollbackAddedAuthorities() 058ms
After Hooks.deleteTransportAfterTest() 169ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 595ms
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" 522ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 423ms
When Go to "WAREHOUSE_TAB" 825ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 733ms
And Set week view 1s 120ms
And Check if time window length is correct after "CREATE" 029ms
And Change number of pallets in transport 51s 720ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 196ms
And Check if time window length is correct after "EDIT" 036ms
After Hooks.deleteTransportAfterTest() 136ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 265ms
And Get "UNLOAD" settings from "keeeper" 044ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 166ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 161ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 344ms
When Go to "WAREHOUSE_TAB" 341ms
And Select warehouse "Magazyn Surowców" 1s 197ms
And Set week view 1s 103ms
Then Check if time window has proper "60" 022ms
After Hooks.rollbackTransportTypeSettings() 074ms
After Hooks.clearAlgorithmSettings() 176ms
After Hooks.deleteTransportAfterTest() 148ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 179ms
And Get "UNLOAD" settings from "keeeper" 041ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 131ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 072ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 330ms
When Go to "WAREHOUSE_TAB" 309ms
And Select warehouse "Magazyn Surowców" 1s 155ms
And Set week view 1s 107ms
Then Check if time window has proper "60" 016ms
After Hooks.rollbackTransportTypeSettings() 075ms
After Hooks.clearAlgorithmSettings() 133ms
After Hooks.deleteTransportAfterTest() 111ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 137ms
And Get "LOAD" settings from "keeeper" 043ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 150ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 072ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 224ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 002ms
And Show all transport types 1s 037ms
And Click button advice in transport table "LOAD" 104ms
And Set advice window in schedule 2s 479ms
And Fill advice form 13s 295ms
And Click advice save button and wait for advice form to disappear 30s 705ms
Then Check if time window has proper "30" 027ms
After Hooks.rollbackTransportTypeSettings() 105ms
After Hooks.clearAlgorithmSettings() 141ms
After Hooks.deleteTransportAfterTest() 113ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 287ms
And Get "CONTAINER" settings from "keeeper" 037ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 147ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 076ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 269ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 003ms
And Show all transport types 1s 040ms
And Click button advice in transport table "CONTAINER" 107ms
And Set advice window in schedule 2s 520ms
And Fill advice form 13s 119ms
And Click advice save button and wait for advice form to disappear 30s 722ms
Then Check if time window has proper "60" 027ms
After Hooks.rollbackTransportTypeSettings() 119ms
After Hooks.clearAlgorithmSettings() 127ms
After Hooks.deleteTransportAfterTest() 138ms
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 408ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 212ms
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 382ms
And Set token of apiUsername "super-admin-hochland" 130ms
When Go to transport details "DELIVERY" 45s 110ms
And Change filled value in transport details "quantity" "number" "25" "0" 15s 013ms
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() 196ms
After Hooks.deleteTransportAfterTest() 098ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 237ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 095ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 217ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 534ms
And Check if time window counter value equals "1" 078ms
And Select view "DAYS_2" 2s 086ms
And Move advice window "2" 1s 345ms
And Select view "DAY" 2s 072ms
Then Check if time window counter value equals "0" 068ms
And Delete created transport by API 123ms
And Check if time window counter value equals "0" 050ms
And Click in free spot in schedule page to create gray window 182ms
And Check if time window counter value equals "0" 051ms
And Click in free spot in schedule page to create dedicated window 053ms
And Check if time window counter value equals "0" 053ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteTransportAfterTest() 121ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 003ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 176ms
When Go to new transport "DELIVERY" 260ms
And Fill transport form 11s 374ms
And Click "save-transport" save button and wait for form to disappear 15s 639ms
And Set advice window in schedule 2s 172ms
And Check is transport created in schedule and set transport id 645ms
And Go to "TRANSPORT_TABLE" 248ms
When Click on time window date 1s 311ms
And Open transport form when in schedule 1s 151ms
Then Check are transport values equals 124ms
After Hooks.deleteTransportAfterTest() 123ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 498ms
When Go to new transport "DELIVERY" 315ms
And Fill transport form 38s 771ms
And Click "save-transport" save button and wait for form to disappear 15s 578ms
And Set advice window in schedule 2s 150ms
And Check is transport created in schedule and set transport id 671ms
And Go to "TRANSPORT_TABLE" 242ms
When Click on time window date 1s 286ms
And Open transport form when in schedule 1s 238ms
Then Check are transport values equals 19s 374ms
After Hooks.deleteTransportAfterTest() 146ms
Scenario Outline Check if transport form can be opened in schedule
Steps
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 003ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 514ms
When Go to new transport "CISTERN_DELIVERY" 376ms
And Fill transport form 21s 576ms
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() 001ms
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 002ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 441ms
When Go to new transport "CISTERN_COLLECTION" 340ms
And Fill transport form 28s 326ms
And Click "save-transport" save button and wait for form to disappear 15s 877ms
And Set advice window in schedule 2s 213ms
And Check is transport created in schedule and set transport id 699ms
And Go to "TRANSPORT_TABLE" 151ms
When Click on time window date 1s 482ms
And Open transport form when in schedule 1s 213ms
Then Check are transport values equals 21s 382ms
After Hooks.deleteTransportAfterTest() 137ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 003ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 577ms
When Go to new transport "DELIVERY" 299ms
And Fill transport form 37s 896ms
And Click "save-transport" save button and wait for form to disappear 15s 647ms
And Set advice window in schedule 2s 163ms
And Check is transport created in schedule and set transport id 619ms
And Go to "TRANSPORT_TABLE" 181ms
When Click on time window date 1s 355ms
And Open transport form when in schedule 1s 147ms
Then Check are transport values equals 19s 319ms
After Hooks.deleteTransportAfterTest() 130ms
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 131ms
When Go to new transport "LOAD" 291ms
And Fill transport form 37s 896ms
And Click "save-transport" save button and wait for form to disappear 15s 686ms
And Set advice window in schedule 2s 170ms
And Check is transport created in schedule and set transport id 640ms
And Go to "TRANSPORT_TABLE" 229ms
When Click on time window date 1s 360ms
And Open transport form when in schedule 1s 139ms
Then Check are transport values equals 19s 297ms
After Hooks.deleteTransportAfterTest() 120ms
Given Set token of apiUsername "super-admin-farmacol" 121ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 108ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 069ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 138ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 197ms
And Login as "farmacol-admin" 1s 685ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 45s 673ms
And Go to "TRANSPORT_TABLE" 303ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 471ms
And Add step "unload" 121ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 443ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 346ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 372ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 331ms
Then Click "save-transport" save button 196ms
And Set advice window in schedule in "2" days 5s 022ms
And Click advice save button and wait for advice form to disappear 31s 034ms
And Go to "TRANSPORT_TABLE" 243ms
And Check if transport has "2" time windows 011ms
After Hooks.rollbackTransportTypeSettings() 071ms
After Hooks.rollbackAddedActionAuthorities() 072ms
After Hooks.deleteTransportAfterTest() 169ms
Given Set token of apiUsername "super-admin-farmacol" 119ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 049ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 078ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 241ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 640ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 991ms
And Go to "TRANSPORT_TABLE" 299ms
And Get checkpoint colors for transport 007ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 42s 423ms
After Hooks.rollbackTransportTypeSettings() 123ms
After Hooks.deleteTransportAfterTest() 144ms
Given Set token of apiUsername "super-admin-farmacol" 105ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 050ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 073ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 266ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 093ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 894ms
And Go to "TRANSPORT_TABLE" 283ms
And Get checkpoint colors for transport 003ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 42s 038ms
After Hooks.rollbackTransportTypeSettings() 080ms
After Hooks.deleteTransportAfterTest() 149ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 120ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 050ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 072ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 264ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 164ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 954ms
And Get checkpoint colors for transport 005ms
And Go to "TRANSPORT_TABLE" 291ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 5s 145ms
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() 155ms
After Hooks.deleteTransportAfterTest() 163ms
Given Set token of apiUsername "super-admin-farmacol" 117ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 057ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 074ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 148ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 133ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 864ms
And Get checkpoint colors for transport 002ms
And Go to "TRANSPORT_TABLE" 269ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 30s 903ms
After Hooks.rollbackTransportTypeSettings() 095ms
After Hooks.deleteTransportAfterTest() 155ms
Given Set token of apiUsername "super-admin-farmacol" 120ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 246ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 629ms
And Login as "super-admin-farmacol" 1s 816ms
And Show all transport types 1s 048ms
And Click on time window date 1s 631ms
Then Open transport form when in schedule 1s 255ms
And Click create similar button 15s 115ms
And Click cancel button in transport form 108ms
And Open transport form when in schedule 1s 185ms
Then Check if transport form modal is visible 044ms
After Hooks.deleteTransportAfterTest() 122ms