Project Number Date
ApolloFullRunnerReport 2021.AT1.3 19 Jul 2021, 02:44

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Mode of transportation status 64 8 2 0 0 74 0 8 8 2m 30s 571ms Failed
Feature Mode of transportation status
Scenario Outline Check if rejected mode of transportation status is rejected
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 592ms
When Create default mode of transportation by API with "pba1-carrier" 1s 582ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 383ms
And Go to mode of transportation details 227ms
Then Reject mode of transportation 094ms
And Verify that user is redirected to mode of transportation tab 678ms
Then Check if "Odrzucony" status is visible in mode of transportation table 065ms
org.junit.ComparisonFailure: Status Odrzucony jest widoczny w tabeli expected:<[Odrzucony]> but was:<[Rejected]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Odrzucony" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:11)
After Hooks.deleteModeOfTransportationAfterTest() 596ms
Scenario Outline Check if accepted mode of transportation status is accepted
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 793ms
When Create default mode of transportation by API with "pba1-carrier" 452ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 109ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 1s 259ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 347ms
And Go to mode of transportation details 286ms
Then Approve mode of transportation 075ms
And Check if confirm mode of transportation button is visible 764ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 360ms
And Verify that user is redirected to mode of transportation tab 032ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 032ms
org.junit.ComparisonFailure: Status Zaakceptowany jest widoczny w tabeli expected:<[Zaakceptowany]> but was:<[Accepted]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTTableTest.checkIfStatusIsVisibleInCreatedMOT(MOTTableTest.java:71)
	at ✽.Check if "Zaakceptowany" status is visible in mode of transportation table(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:120)
After Hooks.deleteModeOfTransportationAfterTest() 719ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-bausch" 109ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 482ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 053ms
When Login as "super-admin-bausch" 947ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 259ms
And Go to mode of transportation details 155ms
And Verify that MOT has "SUMMER_MAPPING" document 014ms
Then Disable "SUMMER_MAPPING" document 15s 627ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 011ms
And Check if mode of transportation has status "Zaakceptowany" 027ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Accepted]> but was:<[Zaakceptowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Zaakceptowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:136)
After Hooks.deleteModeOfTransportationAfterTest() 533ms
Scenario Outline Check if rejecting required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 098ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 313ms
When Login as "super-admin-bausch" 1s 292ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 360ms
And Go to mode of transportation details 202ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 011ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 602ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 037ms
And Check if mode of transportation has status "Zablokowany" 024ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Blocked]> but was:<[Zablokowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Zablokowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:151)
After Hooks.deleteModeOfTransportationAfterTest() 478ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 102ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 349ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 056ms
When Login as "super-admin-bausch" 1s 118ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 365ms
And Go to mode of transportation details 239ms
Then Approve mode of transportation 094ms
And Check if mode of transportation has status "Niezaakceptowany" 081ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Unaccepted]> but was:<[Niezaakceptowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Niezaakceptowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:165)
And Check if error message is visible in mode of transportation details 000ms
After Hooks.deleteModeOfTransportationAfterTest() 497ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-bausch" 094ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 430ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 104ms
When Login as "super-admin-bausch" 1s 236ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 425ms
And Go to mode of transportation details 227ms
And Verify that MOT has "SUMMER_MAPPING" document 012ms
Then Disable "SUMMER_MAPPING" document 15s 612ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 043ms
And Check if mode of transportation has status "Zaakceptowany" 027ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Accepted]> but was:<[Zaakceptowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Zaakceptowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:182)
After Hooks.deleteModeOfTransportationAfterTest() 519ms
Scenario Outline Check if rejecting required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-bausch" 093ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 214ms
When Login as "super-admin-bausch" 1s 315ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 322ms
And Go to mode of transportation details 211ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 029ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 659ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 008ms
And Check if mode of transportation has status "Zablokowany" 025ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Blocked]> but was:<[Zablokowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Zablokowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:197)
After Hooks.deleteModeOfTransportationAfterTest() 495ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 101ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 345ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 060ms
When Login as "super-admin-bausch" 1s 126ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 336ms
And Go to mode of transportation details 227ms
Then Approve mode of transportation 061ms
And Check if mode of transportation has status "Niezaakceptowany" 034ms
org.junit.ComparisonFailure: Środek transportu posiada nieprawidłowy status! expected:<[Unaccepted]> but was:<[Niezaakceptowany]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.ModeOfTransportation.MOTDetailsTest.checkIfModeOfTransportationHasStatus(MOTDetailsTest.java:317)
	at ✽.Check if mode of transportation has status "Niezaakceptowany"(file:Features/Atom/ModeOfTransportation/MOTStatus.feature:211)
And Check if error message is visible in mode of transportation details 000ms
After Hooks.deleteModeOfTransportationAfterTest() 576ms