Project Number Date
functional-tests 1 27 Jul 2026, 12:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Booking a Room 33 0 0 0 0 33 6 0 6 26.120 Passed
Tags: @ui @booking
Feature Booking a Room
Visitor must be able to book a room for available dates by filling up all Mandatory fields with valid values, selecting available date and clicking on Book button. If any of the Mandatory fields is missing, proper Mandatory Error Message must be displayed.
1.950
Given User is logged in as Administrator 0.150
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.129
And Visitor is on the Front Page 1.669
2.008
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.003
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.713
When Visitor 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' without filling up first name field 1.847
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.097
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.063
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.089
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.139
1.936
Given User is logged in as Administrator 0.028
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.067
And Visitor is on the Front Page 1.840
2.142
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.519
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 2.036
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.106
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.106
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.105
2.008
Given User is logged in as Administrator 0.031
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.054
And Visitor is on the Front Page 1.922
2.836
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.562
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 2.254
Then Visitor will get Booking Successful! Message 0.581
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.109
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.170
2.278
Given User is logged in as Administrator 0.052
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.142
And Visitor is on the Front Page 2.083
1.939
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.003
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.640
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' without setting booking dates 1.293
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.646
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.082
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.165
1.973
Given User is logged in as Administrator 0.055
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.045
And Visitor is on the Front Page 1.872
2.537
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.613
When Visitor 'John' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' without filling up last name field 2.288
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.157
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.090
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.123
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.175
2.010
Given User is logged in as Administrator 0.031
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.071
And Visitor is on the Front Page 1.906
2.497
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.645
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 2.241
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.137
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.117
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.089
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.155