Project Number Date
ApolloFullRunnerReport apollo-test-2.1 17 Jul 2021, 02:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pallet limit 8 2 6 0 0 16 0 2 2 1m 46s 820ms Failed
Feature Pallet limit
Scenario Outline Verify that the error is visible after exceeding the pallet limit during create transport
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 001ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 015ms
When Go to new transport "DELIVERY" 15s 251ms
And Fill transport form 40s 742ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 1s 336ms
And Click "save-transport" save button and wait for form to disappear 30s 127ms
And Set advice window in schedule 2s 179ms
Then Verify that the error is visible after exceeding the pallet limit 15s 057ms
java.lang.AssertionError: Komunikat: Limit awizacji w harmonogramie w dniu 17.07.2021 został przekroczony. Proszę wybrać inną datę awizacji.
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.MaxPallet.MaxPalletTest.verifyThatTheErrorIsVisibleAfterExceedingThePalletLimit(MaxPalletTest.java:23)
	at ✽.Verify that the error is visible after exceeding the pallet limit(file:Features/Atom/MaxPallet/MaxPallet.feature:12)
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Verify that the error is visible after exceeding the pallet limit during edit transport [A-7071]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 016ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 092ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-17T18:00:00Z, windowSizeInMinutes:45, rampName:Katowice - R6], detail:We can not reserve a time slot of 45 minutes in the indicated place because the warehouse is already occupied during these hours. Please select another time or ramp., title:WindowsOverlapException, status:[enumType:org.springframework.http.HttpStatus, name:UNPROCESSABLE_ENTITY]]]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/MaxPallet/MaxPallet.feature:21)
And Go to "TRANSPORT_TABLE" 000ms
And Show all transport "false" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 000ms
And Click "save-transport" save button 000ms
Then Verify that the error is visible after exceeding the pallet limit 000ms
After Hooks.deleteTransportAfterTest() 000ms