Project Number Date
ApolloFullRunnerReport apollo-test-2.116 13 sie 2021, 02:44

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 1m 7s 179ms 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" 2s 947ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 379ms
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" 2s 854ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 017ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 365ms
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) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 905ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 360ms
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) 000ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 826ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 229ms
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" 3s 050ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 243ms
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) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 621ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 294ms
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" 2s 754ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 975ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 2s 925ms
Then Verify that discrepancy report section is available 104ms
And Open section: "discrepancy-report-panel" 1s 188ms
And Verify that generate new discrepancy report button is visible 086ms
After Hooks.deleteTransportAfterTest() 570ms
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" 2s 822ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 225ms
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" 2s 914ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 239ms
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) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 826ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 205ms
When Go to transport details "WEIGHING" 2s 880ms
Then Verify that discrepancy report section is not available 15s 085ms
After Hooks.deleteTransportAfterTest() 506ms
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" 2s 909ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 359ms
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" 2s 937ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 341ms
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) 001ms
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 931ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 365ms
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