Project Number Date
ApolloFullRunnerReport develop.437 26 maj 2021, 09:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 247 1 0 0 0 248 21 1 22 21m 18s 442ms Failed
Feature TransportWindow atom tests
Check transport window functionality
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 510ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 408ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 103ms
When Go to "WAREHOUSE_TAB" 816ms
And Select warehouse "Serownia" 1s 367ms
And Set week view 1s 096ms
And Show yesterday 1s 089ms
And Move window into the past 297ms
Then Check if window is "red" 2s 023ms
After Hooks.deleteTransportAfterTest() 157ms
After Hooks.rollbackAddedAuthorities() 064ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 050ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 1s 348ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 055ms
When Go to "WAREHOUSE_TAB" 816ms
And Select warehouse "Magazyn - Nowa Sól" 2s 289ms
And Set week view 1s 125ms
And Show yesterday 1s 080ms
And Move window into the past 423ms
Then Check if window is "red" 2s 025ms
After Hooks.deleteTransportAfterTest() 153ms
After Hooks.rollbackAddedAuthorities() 051ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 177ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 215ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 063ms
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" 096ms
And Set advice window in schedule 2s 615ms
And Fill advice form 8s 364ms
And Click advice save button and wait for advice form to disappear 30s 687ms
And Select warehouse "Magazyn Hala A" 1s 209ms
And Set week view 2s 034ms
And Show yesterday 1s 109ms
And Move window into the past 612ms
Then Check if window is "red" 2s 059ms
After Hooks.deleteTransportAfterTest() 144ms
After Hooks.rollbackAddedAuthorities() 049ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 519ms
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" 639ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 363ms
When Go to "WAREHOUSE_TAB" 783ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 723ms
And Set week view 1s 110ms
And Check if time window length is correct after "CREATE" 023ms
And Change number of pallets in transport 52s 418ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 135ms
And Check if time window length is correct after "EDIT" 029ms
After Hooks.deleteTransportAfterTest() 212ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 180ms
And Get "UNLOAD" settings from "keeeper" 066ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 165ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 112ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 345ms
When Go to "WAREHOUSE_TAB" 331ms
And Select warehouse "Magazyn Surowców" 1s 195ms
And Set week view 1s 079ms
Then Check if time window has proper "60" 015ms
After Hooks.deleteTransportAfterTest() 122ms
After Hooks.rollbackTransportTypeSettings() 067ms
After Hooks.clearAlgorithmSettings() 180ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 175ms
And Get "UNLOAD" settings from "keeeper" 046ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 139ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 073ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 1s 296ms
When Go to "WAREHOUSE_TAB" 317ms
And Select warehouse "Magazyn Surowców" 1s 173ms
And Set week view 1s 086ms
Then Check if time window has proper "60" 016ms
After Hooks.deleteTransportAfterTest() 109ms
After Hooks.rollbackTransportTypeSettings() 057ms
After Hooks.clearAlgorithmSettings() 128ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 102ms
And Get "LOAD" settings from "keeeper" 042ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 138ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 079ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 205ms
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" 095ms
And Set advice window in schedule 2s 515ms
And Fill advice form 13s 248ms
And Click advice save button and wait for advice form to disappear 30s 739ms
Then Check if time window has proper "30" 028ms
After Hooks.deleteTransportAfterTest() 152ms
After Hooks.rollbackTransportTypeSettings() 084ms
After Hooks.clearAlgorithmSettings() 144ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 268ms
And Get "CONTAINER" settings from "keeeper" 046ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 145ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 072ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 232ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 003ms
And Show all transport types 1s 045ms
And Click button advice in transport table "CONTAINER" 084ms
And Set advice window in schedule 2s 492ms
And Fill advice form 13s 177ms
And Click advice save button and wait for advice form to disappear 30s 722ms
Then Check if time window has proper "60" 025ms
After Hooks.deleteTransportAfterTest() 123ms
After Hooks.rollbackTransportTypeSettings() 076ms
After Hooks.clearAlgorithmSettings() 151ms
Given Set token of apiUsername "super-admin-hochland" 126ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 245ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 119ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 15s 385ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 2s 592ms
When Go to transport details "DELIVERY" 32s 714ms
And Change filled value in transport details "quantity" "number" "25" "0" 1s 340ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 137ms
And Go to "WAREHOUSE_TAB" 755ms
And Select warehouse "Serownia" 1s 357ms
And Set week view 1s 098ms
Then Check if time window has proper "60" 020ms
After Hooks.deleteTransportAfterTest() 153ms
After Hooks.clearAlgorithmSettings() 242ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 215ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 061ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 236ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 518ms
And Check if time window counter value equals "1" 062ms
And Select view "DAYS_2" 2s 074ms
And Move advice window "2" 1s 337ms
And Select view "DAY" 2s 069ms
Then Check if time window counter value equals "0" 066ms
And Delete created transport by API 129ms
And Check if time window counter value equals "0" 040ms
And Click in free spot in schedule page to create gray window 166ms
And Check if time window counter value equals "0" 051ms
And Click in free spot in schedule page to create dedicated window 034ms
And Check if time window counter value equals "0" 039ms
After Hooks.deleteTransportAfterTest() 105ms
After Hooks.rollbackAddedAuthorities() 000ms
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 694ms
When Go to new transport "DELIVERY" 248ms
And Fill transport form 11s 325ms
And Click "save-transport" save button and wait for form to disappear 15s 623ms
And Set advice window in schedule 2s 188ms
And Check is transport created in schedule and set transport id 601ms
And Go to "TRANSPORT_TABLE" 259ms
When Click on time window date 1s 335ms
And Open transport form when in schedule 1s 162ms
Then Check are transport values equals 136ms
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 451ms
When Go to new transport "DELIVERY" 332ms
And Fill transport form 38s 712ms
And Click "save-transport" save button and wait for form to disappear 15s 643ms
And Set advice window in schedule 2s 158ms
And Check is transport created in schedule and set transport id 804ms
And Go to "TRANSPORT_TABLE" 244ms
When Click on time window date 1s 289ms
And Open transport form when in schedule 1s 235ms
Then Check are transport values equals 19s 396ms
After Hooks.deleteTransportAfterTest() 157ms
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 484ms
When Go to new transport "CISTERN_DELIVERY" 414ms
And Fill transport form 41s 364ms
And Click "save-transport" save button and wait for form to disappear 15s 977ms
And Set advice window in schedule 2s 219ms
And Check is transport created in schedule and set transport id 729ms
And Go to "TRANSPORT_TABLE" 224ms
When Click on time window date 1s 464ms
And Open transport form when in schedule 1s 184ms
Then Check are transport values equals 6s 383ms
After Hooks.deleteTransportAfterTest() 149ms
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 386ms
When Go to new transport "CISTERN_COLLECTION" 353ms
And Fill transport form 28s 275ms
And Click "save-transport" save button and wait for form to disappear 15s 893ms
And Set advice window in schedule 2s 166ms
And Check is transport created in schedule and set transport id 729ms
And Go to "TRANSPORT_TABLE" 202ms
When Click on time window date 1s 457ms
And Open transport form when in schedule 1s 204ms
Then Check are transport values equals 21s 352ms
After Hooks.deleteTransportAfterTest() 180ms
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 417ms
When Go to new transport "DELIVERY" 293ms
And Fill transport form 37s 946ms
And Click "save-transport" save button and wait for form to disappear 15s 708ms
And Set advice window in schedule 2s 175ms
And Check is transport created in schedule and set transport id 660ms
And Go to "TRANSPORT_TABLE" 170ms
When Click on time window date 1s 360ms
And Open transport form when in schedule 1s 165ms
Then Check are transport values equals 19s 296ms
After Hooks.deleteTransportAfterTest() 149ms
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 177ms
When Go to new transport "LOAD" 301ms
And Fill transport form 37s 840ms
And Click "save-transport" save button and wait for form to disappear 15s 681ms
And Set advice window in schedule 2s 168ms
And Check is transport created in schedule and set transport id 600ms
And Go to "TRANSPORT_TABLE" 219ms
When Click on time window date 1s 355ms
And Open transport form when in schedule 1s 151ms
Then Check are transport values equals 19s 298ms
After Hooks.deleteTransportAfterTest() 128ms
Given Set token of apiUsername "super-admin-farmacol" 124ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 109ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 065ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 114ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 177ms
And Login as "farmacol-admin" 1s 695ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 45s 883ms
And Go to "TRANSPORT_TABLE" 295ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 404ms
And Add step "unload" 099ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 430ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 327ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 359ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 323ms
Then Click "save-transport" save button 174ms
And Set advice window in schedule in "2" days 5s 038ms
And Click advice save button and wait for advice form to disappear 31s 469ms
And Go to "TRANSPORT_TABLE" 227ms
And Check if transport has "2" time windows 015ms
After Hooks.deleteTransportAfterTest() 154ms
After Hooks.rollbackTransportTypeSettings() 090ms
After Hooks.rollbackAddedActionAuthorities() 069ms
Given Set token of apiUsername "super-admin-farmacol" 120ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 052ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 087ms
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 618ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 952ms
And Go to "TRANSPORT_TABLE" 312ms
And Get checkpoint colors for transport 004ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 42s 561ms
After Hooks.deleteTransportAfterTest() 180ms
After Hooks.rollbackTransportTypeSettings() 148ms
Given Set token of apiUsername "super-admin-farmacol" 118ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 053ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 081ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 228ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 079ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 49s 897ms
And Go to "TRANSPORT_TABLE" 295ms
And Get checkpoint colors for transport 002ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 42s 041ms
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.rollbackTransportTypeSettings() 074ms
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" 069ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 238ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 054ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 50s 480ms
And Get checkpoint colors for transport 003ms
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 149ms
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.deleteTransportAfterTest() 146ms
After Hooks.rollbackTransportTypeSettings() 140ms
Given Set token of apiUsername "super-admin-farmacol" 122ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 046ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 094ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 222ms
And Set double window advice 000ms
And Login as "farmacol-admin" 1s 173ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 35s 054ms
And Get checkpoint colors for transport 004ms
And Go to "TRANSPORT_TABLE" 302ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 30s 894ms
After Hooks.deleteTransportAfterTest() 179ms
After Hooks.rollbackTransportTypeSettings() 085ms
Given Set token of apiUsername "super-admin-farmacol" 119ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 283ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 773ms
And Login as "super-admin-farmacol" 1s 746ms
And Show all transport types 1s 040ms
And Click on time window date 1s 642ms
Then Open transport form when in schedule 1s 253ms
And Click create similar button 15s 114ms
And Click cancel button in transport form 110ms
And Open transport form when in schedule 1s 214ms
Then Check if transport form modal is visible 039ms
After Hooks.deleteTransportAfterTest() 103ms