Project Number Date
functional-tests 1 31 Aug 2026, 16:43

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 36.244 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.
2.276
Given User is logged in as Administrator 0.156
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.148
And Visitor is on the Front Page 1.971
3.024
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.616
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 2.469
Then Visitor will get Booking Successful! Message 0.555
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.183
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.221
1.797
Given User is logged in as Administrator 0.070
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.081
And Visitor is on the Front Page 1.646
2.022
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.720
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 1.896
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.073
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.053
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.069
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.102
7.913
Given User is logged in as Administrator 3.635
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 1.435
And Visitor is on the Front Page 2.843
4.020
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.016
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 4.087
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 3.405
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.615
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.001
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.399
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.214
2.365
Given User is logged in as Administrator 0.099
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.081
And Visitor is on the Front Page 2.183
3.276
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.497
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 2.425
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.748
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.103
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.085
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.326
2.381
Given User is logged in as Administrator 0.085
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.138
And Visitor is on the Front Page 2.156
2.039
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.678
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.397
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.642
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.101
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.176
2.429
Given User is logged in as Administrator 0.039
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.072
And Visitor is on the Front Page 2.318
2.695
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.695
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.527
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.099
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.068
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.078
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.100