Project Number Date
functional-tests 1 30 Mar 2026, 10:18

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 28.963 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.
3.051
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.067
And Visitor is on the Front Page 2.884
2.308
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.129
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.029
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.135
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.143
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.003
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.163
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.140
2.498
Given User is logged in as Administrator 0.081
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.100
And Visitor is on the Front Page 2.316
1.924
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.717
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 1.769
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.155
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.225
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.404
2.652
Given User is logged in as Administrator 0.061
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 2.520
2.276
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.048
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 1.948
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.184
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.143
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.002
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.164
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.669
2.755
Given User is logged in as Administrator 0.090
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.155
And Visitor is on the Front Page 2.509
2.686
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.053
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.494
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.098
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.094
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.003
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.133
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.310
2.550
Given User is logged in as Administrator 0.057
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.111
And Visitor is on the Front Page 2.381
2.135
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.552
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 2.109
Then Visitor will get Booking Successful! Message 0.025
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.322
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.402
2.615
Given User is logged in as Administrator 0.091
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.120
And Visitor is on the Front Page 2.403
1.505
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.445
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.276
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.229
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.161
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.799