Project Number Date
functional-tests 1 01 Jul 2024, 09:19

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 21.644 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.967
Given Visitor is on the Front Page 1.967
1.638
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.376
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up all mandatory fields with valid data 1.145
Then Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation' 0.492
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.119
2.530
Given Visitor is on the Front Page 2.530
1.869
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.313
When Visitor 'John Doe' tries to contact property without filling up subject field 1.553
Then Visitor will get Contact Mandatory Error Message: 'Subject may not be blank' 0.202
And Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.' 0.113
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.000
After com.levi9.functionaltests.hooks.Hooks.tearDownDriver() 0.122
2.181
Given Visitor is on the Front Page 2.181
1.166
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.727
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up message field 0.821
Then Visitor will get Contact Mandatory Error Message: 'Message may not be blank' 0.198
And Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.' 0.147
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.156
1.771
Given Visitor is on the Front Page 1.771
1.344
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.312
When Visitor tries to contact property regarding 'Special Accommodation' without filling up name field 0.751
Then Visitor will get Contact Mandatory Error Message: 'Name may not be blank' 0.592
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.145
2.328
Given Visitor is on the Front Page 2.328
1.848
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.628
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up phone field 0.958
Then Visitor will get Contact Mandatory Error Message: 'Phone may not be blank' 0.727
And Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.' 0.163
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.277
1.918
Given Visitor is on the Front Page 1.918
1.078
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Before com.levi9.functionaltests.hooks.Hooks.setupDriver() 0.383
When Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' without filling up email field 0.955
Then Visitor will get Contact Mandatory Error Message: 'Email may not be blank' 0.123
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.177