Project Number Date
ApolloFullRunnerReport 2021.AT1.58 13 sie 2021, 02:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 22 11 63 0 0 96 2 11 13 41s 252ms Failed
Feature Transport Form - Discrepancy Report scenarios
Scenario Outline Check if discrepancy report custom fields are visible in proper section
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 335ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 069ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:6)
And Go to transport details "DELIVERY" 000ms
When Open section: "discrepancy-report-panel" 000ms
Then Verify that no discrepancies found label is visible in discrepancy report section 000ms
And Select "NIE" in the "insp.-accord.-with-ins." 000ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section will open with validation errors
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 310ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 039ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 065ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:20)
And Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Go to transport details "DELIVERY" 000ms
Then Select "NIE" in the "insp.-accord.-with-ins." 000ms
And Click "save-transport" save button 000ms
And Wait "2" seconds 000ms
And Verify that discrepancy report section is open 000ms
And Verify that discrepancy report section "not contains" validation errors 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section is available
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 316ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 064ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:37)
When Go to transport details "DELIVERY" 000ms
Then Verify that discrepancy report section is available 000ms
And Open section: "discrepancy-report-panel" 000ms
And Verify that generate new discrepancy report button is visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section is available
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 246ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 045ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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_OWN_COLLECTION" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:37)
When Go to transport details "OWN_COLLECTION" 000ms
Then Verify that discrepancy report section is available 000ms
And Open section: "discrepancy-report-panel" 000ms
And Verify that generate new discrepancy report button is visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section is available
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 295ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 047ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:37)
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 000ms
Then Verify that discrepancy report section is available 000ms
And Open section: "discrepancy-report-panel" 000ms
And Verify that generate new discrepancy report button is visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section is available
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 278ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 051ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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_EXPORT" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:37)
When Go to transport details "EXPORT" 000ms
Then Verify that discrepancy report section is available 000ms
And Open section: "discrepancy-report-panel" 000ms
And Verify that generate new discrepancy report button is visible 000ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 304ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 200ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 2s 663ms
Then Verify that discrepancy report section is available 027ms
And Open section: "discrepancy-report-panel" 1s 077ms
And Verify that generate new discrepancy report button is visible 030ms
After Hooks.deleteTransportAfterTest() 070ms
Scenario Outline Check if discrepancy report section is not available
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 307ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 039ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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_CISTERN_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:53)
When Go to transport details "CISTERN_DELIVERY" 000ms
Then Verify that discrepancy report section is not available 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if discrepancy report section is not available
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 277ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 044ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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_CISTERN_COLLECTION" by JSON file as "super-admin-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:53)
When Go to transport details "CISTERN_COLLECTION" 000ms
Then Verify that discrepancy report section is not available 000ms
After Hooks.deleteTransportAfterTest() 000ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 289ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 234ms
When Go to transport details "WEIGHING" 2s 373ms
Then Verify that discrepancy report section is not available 15s 039ms
After Hooks.deleteTransportAfterTest() 102ms
Scenario Outline Check if discrepancy report is properly generated
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 374ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 055ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:65)
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Change filled value in details "warehouseman" "select" "Dorosz Mieczysław" "0" 000ms
And Change filled value in details "unloaded-stere" "text" "3" "0" 000ms
And Open section: "discrepancy-report-panel" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 000ms
And Fill transport form 000ms
And Fill discrepancy report section without closing the form 000ms
And Generate discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if edited discrepancy report is properly generated
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 306ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 061ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:84)
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 000ms
And Fill transport form 000ms
And Open section: "discrepancy-report-panel" 000ms
And Fill discrepancy report section without closing the form 000ms
And Generate discrepancy report 000ms
And Download discrepancy report 000ms
And Verify that discrepancy report file has correct values 000ms
And Fill edited discrepancy report section 000ms
And Generate edited discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 000ms
Scenario Outline Check if it is not possible to confirm next status without filling required fields in status modal [A-7987]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 315ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 062ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	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-hochland"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:105)
When Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "during-unload" 000ms
Then Check if confirm status modal appeared on confirming next status in transport "table" 000ms
And Change filled value in details "insp.-accord.-with-ins." "select" "NIE" "0" 000ms
And Check if next status is not possible to confirm in status confirmation modal 000ms
After Hooks.deleteTransportAfterTest() 000ms