Project Number Date
functional-tests 1 30 Jun 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 27.987 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.914
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.030
And Visitor is on the Front Page 1.859
2.190
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.681
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' 2.123
Then Visitor will get Booking Successful! Message 0.067
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.089
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.181
1.673
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.621
2.407
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.482
When Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' without filling up phone field 1.735
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.599
And Visitor will get Booking Validation Error Message: 'size must be between 11 and 21' 0.071
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.039
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.162
1.928
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.045
And Visitor is on the Front Page 1.849
2.326
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.589
When Visitor 'John' 'Doe' with phone number '+44 1632 960018' tries to book a room '1408' without filling up email field 2.214
Then Visitor will get Booking Mandatory Error Message: 'must not be empty' 0.111
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.047
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.149
1.741
Given User is logged in as Administrator 0.013
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.026
And Visitor is on the Front Page 1.701
1.902
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.381
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.080
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.048
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.148
1.683
Given User is logged in as Administrator 0.026
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.619
1.994
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.403
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.773
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.104
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.079
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.209
5.889
Given User is logged in as Administrator 2.244
And User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe' 0.646
And Visitor is on the Front Page 2.998
2.336
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.007
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 2.785
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.705
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.001
After com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.236
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.182