Project Number Date
ApolloFullRunnerReport 2021.AT1.2 18 Jul 2021, 02:38

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 23s 819ms 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 127ms
When Create default mode of transportation by API with "pba1-carrier" 194ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 531ms
And Go to mode of transportation details 116ms
Then Reject mode of transportation 051ms
And Verify that user is redirected to mode of transportation tab 340ms
Then Check if "Odrzucony" status is visible in mode of transportation table 031ms
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() 276ms
Scenario Outline Check if accepted mode of transportation status is accepted
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "bausch-admin" and set token of apiUsername "super-admin-bausch" 1s 071ms
When Create default mode of transportation by API with "pba1-carrier" 433ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 095ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 267ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 310ms
And Go to mode of transportation details 181ms
Then Approve mode of transportation 066ms
And Check if confirm mode of transportation button is visible 419ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 195ms
And Verify that user is redirected to mode of transportation tab 018ms
Then Check if "Zaakceptowany" status is visible in mode of transportation table 026ms
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() 326ms
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" 105ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 873ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 061ms
When Login as "super-admin-bausch" 1s 271ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 247ms
And Go to mode of transportation details 166ms
And Verify that MOT has "SUMMER_MAPPING" document 012ms
Then Disable "SUMMER_MAPPING" document 15s 633ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 054ms
And Check if mode of transportation has status "Zaakceptowany" 030ms
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() 304ms
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" 093ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 895ms
When Login as "super-admin-bausch" 1s 157ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 300ms
And Go to mode of transportation details 201ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 010ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 652ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 024ms
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:151)
After Hooks.deleteModeOfTransportationAfterTest() 271ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-bausch" 107ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 198ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 054ms
When Login as "super-admin-bausch" 1s 197ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 290ms
And Go to mode of transportation details 155ms
Then Approve mode of transportation 066ms
And Check if mode of transportation has status "Niezaakceptowany" 063ms
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() 291ms
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" 107ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 924ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 066ms
When Login as "super-admin-bausch" 1s 317ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 349ms
And Go to mode of transportation details 224ms
And Verify that MOT has "SUMMER_MAPPING" document 031ms
Then Disable "SUMMER_MAPPING" document 15s 680ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 011ms
And Check if mode of transportation has status "Zaakceptowany" 025ms
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() 282ms
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" 094ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 933ms
When Login as "super-admin-bausch" 1s 174ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 358ms
And Go to mode of transportation details 247ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 027ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 623ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 048ms
And Check if mode of transportation has status "Zablokowany" 029ms
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() 291ms
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" 097ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 230ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 064ms
When Login as "super-admin-bausch" 1s 157ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 296ms
And Go to mode of transportation details 140ms
Then Approve mode of transportation 065ms
And Check if mode of transportation has status "Niezaakceptowany" 056ms
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() 328ms