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
Contact Hotel 21 0 0 0 0 21 6 0 6 20.831 Passed
Tags: @ui @contact
Feature Contact Hotel
Visitors must be able to contact the property by filling up all mandatory fields with valid values on contact form with valid data and clicking Submit button. If any of the mandatory fields is missing, proper Contact Mandatory Error Message must be displayed.
1.627
Given Visitor is on the Front Page 1.627
1.641
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.483
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up phone field 0.946
Then Visitor will get Contact Mandatory Error Message: 'Phone may not be blank' 0.608
And Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.' 0.085
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.183
1.623
Given Visitor is on the Front Page 1.623
1.353
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 Doe' tries to contact property without filling up subject field 1.179
Then Visitor will get Contact Mandatory Error Message: 'Subject may not be blank' 0.102
And Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.' 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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.141
2.018
Given Visitor is on the Front Page 2.018
2.061
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.657
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up all mandatory fields with valid data 1.384
Then Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation' 0.677
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.150
1.806
Given Visitor is on the Front Page 1.806
1.608
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.458
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up message field 1.366
Then Visitor will get Contact Mandatory Error Message: 'Message may not be blank' 0.150
And Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.' 0.091
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.146
1.950
Given Visitor is on the Front Page 1.950
1.903
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.785
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up email field 1.285
Then Visitor will get Contact Mandatory Error Message: 'Email may not be blank' 0.617
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.149
1.764
Given Visitor is on the Front Page 1.764
1.471
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.413
When Visitor tries to contact property regarding 'Special Accommodation' without filling up name field 1.238
Then Visitor will get Contact Mandatory Error Message: 'Name may not be blank' 0.232
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.273