Project Number Date
ApolloFullRunnerReport 2021.AT1.5 20 Jul 2021, 02:53

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 984ms 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 039ms
When Create default mode of transportation by API with "pba1-carrier" 388ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 399ms
And Go to mode of transportation details 105ms
Then Reject mode of transportation 055ms
And Verify that user is redirected to mode of transportation tab 428ms
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() 365ms
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 021ms
When Create default mode of transportation by API with "pba1-carrier" 396ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 066ms
And Accept "SENSOR_CALIBRATION_CERTIFICATE" document by API 337ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 234ms
And Go to mode of transportation details 141ms
Then Approve mode of transportation 066ms
And Check if confirm mode of transportation button is visible 726ms
Then Go to "MODE_OF_TRANSPORTATION_TAB" 188ms
And Verify that user is redirected to mode of transportation tab 026ms
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() 365ms
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" 093ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 277ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 056ms
When Login as "super-admin-bausch" 984ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 235ms
And Go to mode of transportation details 153ms
And Verify that MOT has "SUMMER_MAPPING" document 010ms
Then Disable "SUMMER_MAPPING" document 15s 590ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 055ms
And Check if mode of transportation has status "Zaakceptowany" 031ms
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() 376ms
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" 095ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 368ms
When Login as "super-admin-bausch" 1s 073ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 241ms
And Go to mode of transportation details 145ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 014ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 643ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 004ms
And Check if mode of transportation has status "Zablokowany" 039ms
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() 375ms
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" 103ms
And Create mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 341ms
And Add "SENSOR_CALIBRATION_CERTIFICATE" document to mode of transportation by API with "pba1-carrier" 066ms
When Login as "super-admin-bausch" 1s 057ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 277ms
And Go to mode of transportation details 171ms
Then Approve mode of transportation 071ms
And Check if mode of transportation has status "Niezaakceptowany" 027ms
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() 355ms
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" 093ms
And Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000" 1s 324ms
And Add "SUMMER_MAPPING" document to mode of transportation by API with "pba1-carrier" 048ms
When Login as "super-admin-bausch" 971ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 240ms
And Go to mode of transportation details 151ms
And Verify that MOT has "SUMMER_MAPPING" document 012ms
Then Disable "SUMMER_MAPPING" document 15s 629ms
And Verify that "SUMMER_MAPPING" document disappeared from MOT details 15s 044ms
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() 364ms
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" 1s 290ms
When Login as "super-admin-bausch" 1s 089ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 228ms
And Go to mode of transportation details 147ms
And Verify that MOT has "SENSOR_CALIBRATION_CERTIFICATE" document 012ms
Then Disable "SENSOR_CALIBRATION_CERTIFICATE" document 15s 612ms
And Verify that "SENSOR_CALIBRATION_CERTIFICATE" document disappeared from MOT details 15s 007ms
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:197)
After Hooks.deleteModeOfTransportationAfterTest() 376ms
Scenario Outline Check if it is possible to approve mode of transportation without accepted required section
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-bausch" 096ms
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" 062ms
When Login as "super-admin-bausch" 1s 036ms
And Go to "MODE_OF_TRANSPORTATION_TAB" 244ms
And Go to mode of transportation details 136ms
Then Approve mode of transportation 058ms
And Check if mode of transportation has status "Niezaakceptowany" 031ms
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() 363ms