Project Number Date
ApolloFullRunnerReport apollo-test-2.78 13 lip 2021, 05:31

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 82 3 4 0 0 89 9 3 12 6m 27s 604ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 548ms
And Go to transport details "DELIVERY" 2s 940ms
When Open section: "discrepancy-report-panel" 1s 290ms
Then Verify that no discrepancies found label is visible in discrepancy report section 181ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 689ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 274ms
After Hooks.deleteTransportAfterTest() 158ms
Scenario Outline Check if discrepancy report section will open with validation errors
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 343ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 021ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 528ms
And Go to transport details "DELIVERY" 2s 888ms
And Fill transport form 41s 029ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 232ms
When Go to transport details "DELIVERY" 2s 891ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 703ms
And Click "save-transport" save button 912ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 082ms
And Verify that discrepancy report section contains validation errors 070ms
java.lang.AssertionError: Sekcja: Protokół Niezgodności nie posiada klasy 'has-error'!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportSectionContainsValidationErrors(TransportFormTest.java:184)
	at ✽.Verify that discrepancy report section contains validation errors(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:29)
After Hooks.deleteTransportAfterTest() 227ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 462ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 526ms
When Go to transport details "DELIVERY" 2s 904ms
Then Verify that discrepancy report section is available 304ms
And Open section: "discrepancy-report-panel" 1s 173ms
And Verify that generate new discrepancy report button is visible 086ms
After Hooks.deleteTransportAfterTest() 109ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 213ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 449ms
When Go to transport details "OWN_COLLECTION" 2s 937ms
Then Verify that discrepancy report section is available 134ms
And Open section: "discrepancy-report-panel" 1s 164ms
And Verify that generate new discrepancy report button is visible 072ms
After Hooks.deleteTransportAfterTest() 106ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 508ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 473ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 2s 934ms
Then Verify that discrepancy report section is available 116ms
And Open section: "discrepancy-report-panel" 1s 152ms
And Verify that generate new discrepancy report button is visible 082ms
After Hooks.deleteTransportAfterTest() 119ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 250ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 511ms
When Go to transport details "EXPORT" 3s 101ms
Then Verify that discrepancy report section is available 109ms
And Open section: "discrepancy-report-panel" 1s 189ms
And Verify that generate new discrepancy report button is visible 121ms
After Hooks.deleteTransportAfterTest() 138ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 342ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 324ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 2s 924ms
Then Verify that discrepancy report section is available 204ms
And Open section: "discrepancy-report-panel" 1s 160ms
And Verify that generate new discrepancy report button is visible 073ms
After Hooks.deleteTransportAfterTest() 114ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 303ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 486ms
When Go to transport details "CISTERN_DELIVERY" 2s 907ms
Then Verify that discrepancy report section is not available 15s 089ms
After Hooks.deleteTransportAfterTest() 214ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 514ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 419ms
When Go to transport details "CISTERN_COLLECTION" 2s 906ms
Then Verify that discrepancy report section is not available 15s 049ms
After Hooks.deleteTransportAfterTest() 137ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 424ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 341ms
When Go to transport details "WEIGHING" 2s 811ms
Then Verify that discrepancy report section is not available 15s 089ms
After Hooks.deleteTransportAfterTest() 116ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 418ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 508ms
When Go to "TRANSPORT_TABLE" 369ms
And Go to transport details "DELIVERY" 2s 967ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 838ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 514ms
And Open section: "discrepancy-report-panel" 1s 132ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 021ms
And Fill transport form 40s 772ms
And Fill discrepancy report section without closing the form 22s 267ms
And Generate discrepancy report 17s 077ms
And Download discrepancy report 337ms
Then Verify that discrepancy report file has correct values 024ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findLastDiscrepancyReportId(ApolloSelectDbService.java:159)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:255)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:76)
After Hooks.deleteTransportAfterTest() 176ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 557ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 529ms
When Go to "TRANSPORT_TABLE" 380ms
And Go to transport details "DELIVERY" 3s 019ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 021ms
And Fill transport form 41s 033ms
And Open section: "discrepancy-report-panel" 1s 145ms
And Fill discrepancy report section without closing the form 22s 261ms
And Generate discrepancy report 16s 501ms
And Download discrepancy report 350ms
And Verify that discrepancy report file has correct values 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findLastDiscrepancyReportId(ApolloSelectDbService.java:159)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportFileHasCorrectValues(TransportFormTest.java:255)
	at ✽.Verify that discrepancy report file has correct values(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:93)
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() 151ms