Project Number Date
ApolloFullRunnerReport apollo-test-2.1 17 Jul 2021, 02:42

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 17s 672ms Failed
Feature Mode of transportation status
Scenario Outline Check if rejected mode of transportation status is rejected
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 014ms
When Create default mode of transportation by API with "pba1-carrier" 073ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 235ms
And Go to mode of transportation details 117ms
Then Reject mode of transportation 054ms
And Verify that user is redirected to mode of transportation tab 167ms
Then Check if "Odrzucony" status is visible in mode of transportation table 028ms
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() 092ms
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 064ms
When Create default mode of transportation by API with "pba1-carrier" 070ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 061ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 059ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 446ms
And Go to mode of transportation details 140ms
Then Approve mode of transportation 047ms
And Check if confirm mode of transportation button is visible 164ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 188ms
And Verify that user is redirected to mode of transportation tab 025ms
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() 092ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 097ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 273ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 058ms
When Login as "super-admin-bausch" 984ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 232ms
And Go to mode of transportation details 150ms
And Verify that MOT has "SUMMER_MAPPING" document 013ms
Then Disable "SUMMER_MAPPING" document 15s 612ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 012ms
And Check if mode of transportation has status "Zaakceptowany" 029ms
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() 131ms
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" 092ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 283ms
When Login as "super-admin-bausch" 1s 124ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 242ms
And Go to mode of transportation details 155ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 016ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 633ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 053ms
And Check if mode of transportation has status "Zablokowany" 030ms
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() 098ms
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" 095ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 079ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 062ms
When Login as "super-admin-bausch" 1s 054ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 235ms
And Go to mode of transportation details 139ms
Then Approve mode of transportation 062ms
And Check if mode of transportation has status "Niezaakceptowany" 024ms
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() 084ms
Scenario Outline Check if rejecting non required section correctly changes status of the mode of transportation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-bausch" 104ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 277ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 058ms
When Login as "super-admin-bausch" 960ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 237ms
And Go to mode of transportation details 145ms
And Verify that MOT has "SUMMER_MAPPING" document 012ms
Then Disable "SUMMER_MAPPING" document 15s 610ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 028ms
And Check if mode of transportation has status "Zaakceptowany" 028ms
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() 099ms
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" 095ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 258ms
When Login as "super-admin-bausch" 1s 133ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 229ms
And Go to mode of transportation details 152ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 012ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 600ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 055ms
And Check if mode of transportation has status "Zablokowany" 027ms
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() 093ms
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" 092ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 076ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 073ms
When Login as "super-admin-bausch" 1s 090ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 238ms
And Go to mode of transportation details 145ms
Then Approve mode of transportation 055ms
And Check if mode of transportation has status "Niezaakceptowany" 026ms
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() 091ms