Project Number Date
functional-tests 1 13 Oct 2025, 09:22

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.343 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.836
Given User is logged in as Administrator 0.017
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.036
And Visitor is on the Front Page 1.782
2.403
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.002
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.509
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 1.847
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.073
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.148
4.896
Given User is logged in as Administrator 1.800
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.934
And Visitor is on the Front Page 2.160
4.464
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.013
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 11.628
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 3.525
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.790
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.147
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.397
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.373
1.869
Given User is logged in as Administrator 0.018
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.027
And Visitor is on the Front Page 1.823
1.872
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.425
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.240
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.631
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.091
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.216
1.877
Given User is logged in as Administrator 0.027
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.032
And Visitor is on the Front Page 1.817
2.859
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.520
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 1.970
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.782
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 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.073
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.101
1.700
Given User is logged in as Administrator 0.021
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.063
And Visitor is on the Front Page 1.615
2.430
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.442
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.761
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.599
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 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.052
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.146
1.859
Given User is logged in as Administrator 0.034
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.083
And Visitor is on the Front Page 1.741
2.273
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.424
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 2.153
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.120
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.087
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.217