Project Number Date
functional-tests 1 09 Feb 2026, 10:24

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 30.721 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.737
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.044
And Visitor is on the Front Page 1.661
2.400
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.406
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 1.855
Then Visitor will get Booking Successful! Message 0.544
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.136
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.160
5.440
Given User is logged in as Administrator 2.371
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.896
And Visitor is on the Front Page 2.172
4.453
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.011
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 20.212
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 3.614
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.693
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.145
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.567
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.307
1.743
Given User is logged in as Administrator 0.023
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.033
And Visitor is on the Front Page 1.686
2.065
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.442
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.437
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.628
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.075
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.149
1.967
Given User is logged in as Administrator 0.024
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.037
And Visitor is on the Front Page 1.905
2.962
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.445
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.231
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.641
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.089
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.072
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.221
1.748
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.044
And Visitor is on the Front Page 1.664
1.916
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.482
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.778
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.079
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.059
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.058
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.106
1.739
Given User is logged in as Administrator 0.043
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.074
And Visitor is on the Front Page 1.621
2.544
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.407
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 1.941
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.602
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.159