Project Number Date
functional-tests 1 15 Dec 2025, 09:31

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 29.907 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.122
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.029
And Visitor is on the Front Page 2.075
1.921
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.434
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 1.385
Then Visitor will get Booking Successful! Message 0.536
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.122
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.121
5.034
Given User is logged in as Administrator 1.816
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.996
And Visitor is on the Front Page 2.221
4.438
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.020
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 11.342
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 3.493
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.778
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.166
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.004
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.004
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.255
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.248
2.581
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.022
And Visitor is on the Front Page 2.540
2.056
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.288
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.344
Then Visitor will get Booking Mandatory Error Message: 'must not be null' 0.711
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.099
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.282
1.657
Given User is logged in as Administrator 0.032
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.045
And Visitor is on the Front Page 1.579
2.351
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.604
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.161
Then Visitor will get Booking Mandatory Error Message: 'Lastname should not be blank' 0.116
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 30' 0.073
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.059
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.140
1.574
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.033
And Visitor is on the Front Page 1.521
2.456
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.441
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.819
Then Visitor will get Booking Mandatory Error Message: 'Firstname should not be blank' 0.581
And Visitor will get Booking Validation Error Message: 'size must be between 3 and 18' 0.054
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.049
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.148
1.603
Given User is logged in as Administrator 0.047
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.058
And Visitor is on the Front Page 1.497
2.109
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.450
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 1.996
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.113
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.059
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.101