Project Number Date
ApolloFullRunnerReport apollo-test-2.80 14 lip 2021, 05:39

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 12s 014ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 555ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 565ms
And Go to transport details "DELIVERY" 2s 989ms
When Open section: "discrepancy-report-panel" 1s 335ms
Then Verify that no discrepancies found label is visible in discrepancy report section 184ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 659ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 225ms
After Hooks.deleteTransportAfterTest() 110ms
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 293ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 023ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 486ms
And Go to transport details "DELIVERY" 2s 956ms
And Fill transport form 40s 938ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 274ms
When Go to transport details "DELIVERY" 2s 861ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 700ms
And Click "save-transport" save button 904ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 071ms
And Verify that discrepancy report section contains validation errors 065ms
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() 224ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 548ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 485ms
When Go to transport details "DELIVERY" 2s 979ms
Then Verify that discrepancy report section is available 211ms
And Open section: "discrepancy-report-panel" 1s 189ms
And Verify that generate new discrepancy report button is visible 079ms
After Hooks.deleteTransportAfterTest() 125ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 319ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 1s 465ms
When Go to transport details "OWN_COLLECTION" 2s 903ms
Then Verify that discrepancy report section is available 133ms
And Open section: "discrepancy-report-panel" 1s 147ms
And Verify that generate new discrepancy report button is visible 089ms
After Hooks.deleteTransportAfterTest() 156ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 268ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 1s 491ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 2s 868ms
Then Verify that discrepancy report section is available 077ms
And Open section: "discrepancy-report-panel" 1s 142ms
And Verify that generate new discrepancy report button is visible 072ms
After Hooks.deleteTransportAfterTest() 121ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 167ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 1s 539ms
When Go to transport details "EXPORT" 3s 027ms
Then Verify that discrepancy report section is available 089ms
And Open section: "discrepancy-report-panel" 1s 151ms
And Verify that generate new discrepancy report button is visible 147ms
After Hooks.deleteTransportAfterTest() 141ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 255ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 296ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 2s 858ms
Then Verify that discrepancy report section is available 189ms
And Open section: "discrepancy-report-panel" 1s 131ms
And Verify that generate new discrepancy report button is visible 087ms
After Hooks.deleteTransportAfterTest() 092ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 353ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 1s 466ms
When Go to transport details "CISTERN_DELIVERY" 2s 933ms
Then Verify that discrepancy report section is not available 15s 033ms
After Hooks.deleteTransportAfterTest() 116ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 552ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 1s 448ms
When Go to transport details "CISTERN_COLLECTION" 2s 830ms
Then Verify that discrepancy report section is not available 15s 094ms
After Hooks.deleteTransportAfterTest() 123ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 464ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 1s 340ms
When Go to transport details "WEIGHING" 2s 838ms
Then Verify that discrepancy report section is not available 15s 082ms
After Hooks.deleteTransportAfterTest() 098ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 349ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 1s 526ms
When Go to "TRANSPORT_TABLE" 441ms
And Go to transport details "DELIVERY" 2s 977ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 3s 993ms
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 1s 554ms
And Open section: "discrepancy-report-panel" 1s 172ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 029ms
And Fill transport form 40s 973ms
And Fill discrepancy report section without closing the form 22s 366ms
And Generate discrepancy report 1s 510ms
And Download discrepancy report 386ms
Then Verify that discrepancy report file has correct values 022ms
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() 239ms
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 512ms
When Go to "TRANSPORT_TABLE" 422ms
And Go to transport details "DELIVERY" 2s 924ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 022ms
And Fill transport form 41s 006ms
And Open section: "discrepancy-report-panel" 1s 128ms
And Fill discrepancy report section without closing the form 22s 376ms
And Generate discrepancy report 16s 425ms
And Download discrepancy report 369ms
And Verify that discrepancy report file has correct values 016ms
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() 230ms