Project Number Date
ApolloFullRunnerReport apollo-test-2.84 18 lip 2021, 04:05

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pallet limit 9 1 6 0 0 16 1 1 2 1m 41s 620ms Failed
Feature Pallet limit
Before Hooks.showScenarioName(Scenario) 000ms
Given Set "transport" inputs from JSON file "CREATE_DELIVERY" "super-admin-neuca" 002ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 357ms
When Go to new transport "DELIVERY" 15s 492ms
And Fill transport form 45s 739ms
And Change filled value in transport details "number-of-pallets-step-0" "number" "1000000" "0" 1s 559ms
And Click "save-transport" save button and wait for form to disappear 30s 232ms
And Set advice window in schedule 2s 370ms
Then Verify that the error is visible after exceeding the pallet limit 704ms
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) 001ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 560ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 600ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[[meta:[exceptionType:WINDOWS_OVERLAP_EXCEPTION, initialStart:2021-07-18T18:00:00Z, windowSizeInMinutes:45, rampName:Katowice - R6], detail:Nie możemy zarezerwować okna czasowego o długości 45 minut we wskazanym miejscu, ponieważ magazyn jest już zajęty w tych godzinach. Prosimy o wybranie innej godziny lub rampy., 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