Project Number Date
ApolloFullRunnerReport kapibary.20 28 maj 2021, 07:28

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation table 50 2 0 0 0 52 6 2 8 1m 23s 606ms Failed
Feature Mode of transportation table
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 490ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 876ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0002" "Marka2" "Model2" "BBBB0002" 487ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 584ms
Then Check every filter "PBA1": "AAAA0001" "Marka1" "Model1" "BBBB0001" 17s 368ms
After Hooks.deleteAllModesOfTransportationAfterTest() 685ms
Scenario Outline Check if mode of transportation documents data are in correct columns of table
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 584ms
And Create default mode of transportation by API with "pba1-carrier" 752ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 433ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 534ms
Then Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns 3s 304ms
org.junit.ComparisonFailure: Dane widoczne w kolumnie 'Ważność kalibracji' są nie poprawne expected:<2022-05-2[8]> but was:<2022-05-2[9]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfDocumentDataIsVisibleInCorrectColumns(MOTTableTest.java:113)
	at ✽.Check if "SENSOR_CALIBRATION_CERTIFICATE" document data is visible in correct columns(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:34)
After Hooks.deleteModeOfTransportationAfterTest() 408ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 488ms
And Create default mode of transportation by API with "pba1-carrier" 657ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 440ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 543ms
Then Check if "SUMMER_MAPPING" document data is visible in correct columns 3s 210ms
After Hooks.deleteModeOfTransportationAfterTest() 354ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 480ms
And Create default mode of transportation by API with "pba1-carrier" 646ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 396ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 601ms
Then Check if "WINTER_MAPPING" document data is visible in correct columns 3s 237ms
After Hooks.deleteModeOfTransportationAfterTest() 361ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 519ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 650ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0002" "Marka2" "Model2" "BBBB0002" 1s 768ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0003" "Marka3" "Model3" "BBBB0003" 1s 662ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 630ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 394ms
And Go to mode of transportation details 356ms
And Update "WINTER_MAPPING" document 291ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0004" "Marka4" "Model4" "BBBB0004" 517ms
And Reject mode of transportation by API 339ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0005" "Marka5" "Model5" "BBBB0005" 1s 825ms
And Add "WINTER_MAPPING" document to mode of transportation by API with "pba1-carrier" 349ms
And Reject "WINTER_MAPPING" document by API 458ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0006" "Marka6" "Model6" "BBBB0006" 1s 694ms
And Disable mode of transportation by API 360ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 617ms
Then Check mode of transportation status filters 5s 738ms
After Hooks.deleteAllModesOfTransportationAfterTest() 2s 899ms
Scenario Outline Check if dates have proper colors in MOT table [A-6761]
Steps
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 4s 083ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 625ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_DOCUMENT_EXPIRATION_DATE_CARRIER_SHOULD_BE_BLOCKED" for "bausch" to mode of transportation by API with "pba1-carrier" 443ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 662ms
Then Verify that last sensor calibrate certificate has class "red-warning" 1s 076ms
org.junit.ComparisonFailure: Oczekiwana klasa css różni się od tej w tabeli!!! expected:<[red]-warning> but was:<[yellow]-warning>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.verifyThatLastSensorCalibrateCertificateHasClass(MOTTableTest.java:134)
	at ✽.Verify that last sensor calibrate certificate has class "red-warning"(file:Features/Atom/ModeOfTransportation/ModeOfTransportationTable.feature:76)
After Hooks.deleteAllModesOfTransportationAfterTest() 380ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 525ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 665ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "HOW_MANY_DAYS_BEFORE_CERTIFICATE_EXPIRATION_SHOULD_MAIL_BE_SENT" for "bausch" to mode of transportation by API with "pba1-carrier" 413ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 593ms
Then Verify that last sensor calibrate certificate has class "yellow-warning" 1s 070ms
After Hooks.deleteAllModesOfTransportationAfterTest() 367ms
Given Login as "pba1-carrier" and set token of apiUsername "super-admin-bausch" 2s 422ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0001" "Marka1" "Model1" "BBBB0001" 721ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document with "" for "bausch" to mode of transportation by API with "pba1-carrier" 419ms
When Go to "MODE_OF_TRANSPORTATION_TAB" 517ms
Then Verify that last sensor calibrate certificate has class "" 1s 068ms
After Hooks.deleteAllModesOfTransportationAfterTest() 369ms