Feature
Invalid Data Validation on 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 fields is filled in with invalid data, proper Contact Validation Error Message must be displayed.
2.768
Background
Given
Visitor is on the Front Page
2.768
1.787
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.827
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example.com (Joe Smith)'
1.704
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.082
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.973
2.491
Background
Given
Visitor is on the Front Page
2.491
1.110
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.053
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '#@%^%#$@#$@#.com'
1.041
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.721
1.950
Background
Given
Visitor is on the Front Page
1.950
1.251
Scenario
Visitor must be able to contact the property by filling up the subject with valid length, between 5 and 100 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.517
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 100 characters
1.123
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.127
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.864
2.239
Background
Given
Visitor is on the Front Page
2.239
1.634
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.899
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example..com'
1.523
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.061
3.692
Background
Given
Visitor is on the Front Page
3.692
6.271
Scenario
Visitor must NOT be able to contact the property by filling up the message with invalid length, less than 20 and more than 2000 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.015
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
11.255
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2001 characters
5.514
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.756
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.001
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.092
1.928
Background
Given
Visitor is on the Front Page
1.928
1.794
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.089
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'plainaddress'
1.702
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.092
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.826
2.132
Background
Given
Visitor is on the Front Page
2.132
2.617
Scenario
Visitor must be able to contact the property by filling up the message with valid length, between 20 and 2000 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.467
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2000 characters
2.522
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.094
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.658
2.500
Background
Given
Visitor is on the Front Page
2.500
1.834
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.115
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@-example.com'
1.703
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.130
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.001
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.208
2.146
Background
Given
Visitor is on the Front Page
2.146
1.630
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.335
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'Abc..123@example.com'
1.523
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.107
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.950
2.087
Background
Given
Visitor is on the Front Page
2.087
1.005
Scenario
Visitor must NOT be able to contact the property by filling up the invalid phone number
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.486
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890123456789012'
0.909
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.096
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.657
1.999
Background
Given
Visitor is on the Front Page
1.999
1.005
Scenario
Visitor must be able to contact the property by filling up valid phone phone number
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.266
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '12345678901'
0.847
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.157
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()
1.075
2.510
Background
Given
Visitor is on the Front Page
2.510
1.534
Scenario
Visitor must be able to contact the property by filling up valid phone phone number
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.402
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '123456789012345678901'
1.255
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.278
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()
1.160
2.442
Background
Given
Visitor is on the Front Page
2.442
1.599
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.142
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '@example.com Joe Smith'
1.353
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.245
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()
1.048
1.845
Background
Given
Visitor is on the Front Page
1.845
1.460
Scenario
Visitor must NOT be able to contact the property by filling up the subject with invalid length, less than 5 and more than 100 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.929
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 4 characters
1.365
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.095
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.809
1.910
Background
Given
Visitor is on the Front Page
1.910
1.021
Scenario
Visitor must NOT be able to contact the property by filling up the subject with invalid length, less than 5 and more than 100 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.573
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 101 characters
0.968
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.052
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.651
1.767
Background
Given
Visitor is on the Front Page
1.767
0.854
Scenario
Visitor must NOT be able to contact the property by filling up the message with invalid length, less than 20 and more than 2000 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.969
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 19 characters
0.809
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.045
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.639
2.395
Background
Given
Visitor is on the Front Page
2.395
1.635
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.408
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '<email@example.com>'
1.562
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.072
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.858
31.769
Background
Given
Visitor is on the Front Page
31.769
2.629
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.413
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example@example.com'
2.560
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.068
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.910
2.085
Background
Given
Visitor is on the Front Page
2.085
1.868
Scenario
Visitor must NOT be able to contact the property by filling up the invalid phone number
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.001
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.206
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890'
1.779
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.089
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.862
2.091
Background
Given
Visitor is on the Front Page
2.091
0.962
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.568
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email.example.com'
0.912
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.049
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.638
2.094
Background
Given
Visitor is on the Front Page
2.094
0.984
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.776
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email..email@example.com'
0.925
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.058
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.660
2.599
Background
Given
Visitor is on the Front Page
2.599
1.143
Scenario
Visitor must be able to contact the property by filling up the subject with valid length, between 5 and 100 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.158
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 5 characters
1.069
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.074
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.787
2.147
Background
Given
Visitor is on the Front Page
2.147
1.607
Scenario
Visitor must NOT be able to contact the property by filling up invalid email
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.467
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '.email@example.com'
1.507
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.099
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.002
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.945
2.440
Background
Given
Visitor is on the Front Page
2.440
2.816
Scenario
Visitor must be able to contact the property by filling up the message with valid length, between 20 and 2000 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.736
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 20 characters
0.802
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
2.013
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()
1.220