Project Number Date
functional-tests 1 26 Jan 2026, 09:36

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 33.126 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.386
Given User is logged in as Administrator 0.033
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.073
And Visitor is on the Front Page 2.278
1.755
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.952
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 1.737
Then Visitor will get Booking Successful! Message 0.017
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.103
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.851
6.176
Given User is logged in as Administrator 2.120
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 1.148
And Visitor is on the Front Page 2.908
3.485
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.010
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 31.601
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 2.769
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.609
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.106
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.006
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.369
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.192
2.712
Given User is logged in as Administrator 0.044
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.055
And Visitor is on the Front Page 2.612
1.447
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.231
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.369
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.078
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.060
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.313
2.789
Given User is logged in as Administrator 0.051
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.055
And Visitor is on the Front Page 2.682
2.760
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 3.091
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.611
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.079
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.069
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.051
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.052
1.990
Given User is logged in as Administrator 0.044
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.061
And Visitor is on the Front Page 1.884
1.773
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.995
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.614
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.096
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.062
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.050
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.876
2.891
Given User is logged in as Administrator 0.058
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.096
And Visitor is on the Front Page 2.735
2.956
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.879
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 2.846
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.110
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.100
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 1.054