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.227
Background
Given
Visitor is on the Front Page
2.227
3.248
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.005
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.587
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2001 characters
3.166
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
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()
1.203
1.858
Background
Given
Visitor is on the Front Page
1.858
1.404
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()
2.874
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 19 characters
1.320
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.083
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.927
2.289
Background
Given
Visitor is on the Front Page
2.289
1.564
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.809
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '<email@example.com>'
1.457
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.106
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.924
2.762
Background
Given
Visitor is on the Front Page
2.762
1.547
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.755
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example@example.com'
1.491
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.055
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.899
3.664
Background
Given
Visitor is on the Front Page
3.664
4.174
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.006
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
4.533
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '123456789012345678901'
1.706
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
2.468
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.009
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.005
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.407
2.161
Background
Given
Visitor is on the Front Page
2.161
1.655
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.673
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email..email@example.com'
1.535
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.119
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.003
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.001
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.992
2.084
Background
Given
Visitor is on the Front Page
2.084
1.447
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.964
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890123456789012'
1.355
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
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.898
2.223
Background
Given
Visitor is on the Front Page
2.223
1.208
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.337
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 5 characters
1.110
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.097
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.185
2.177
Background
Given
Visitor is on the Front Page
2.177
1.297
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.661
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '.email@example.com'
1.176
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.121
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.369
2.192
Background
Given
Visitor is on the Front Page
2.192
1.134
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.779
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example.com (Joe Smith)'
1.082
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.051
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.031
2.524
Background
Given
Visitor is on the Front Page
2.524
1.348
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.890
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '@example.com Joe Smith'
1.253
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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()
1.217
1.911
Background
Given
Visitor is on the Front Page
1.911
1.743
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()
2.646
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 101 characters
1.638
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.105
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.016
2.315
Background
Given
Visitor is on the Front Page
2.315
1.265
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.840
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'Abc..123@example.com'
1.145
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.119
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.352
2.333
Background
Given
Visitor is on the Front Page
2.333
1.559
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.004
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.881
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email.example.com'
1.455
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.077
2.301
Background
Given
Visitor is on the Front Page
2.301
1.816
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()
3.507
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 100 characters
1.665
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.151
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.084
2.415
Background
Given
Visitor is on the Front Page
2.415
1.403
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.408
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '12345678901'
1.281
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.121
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.755
2.000
Background
Given
Visitor is on the Front Page
2.000
1.242
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()
2.497
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 4 characters
1.151
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.090
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.735
2.557
Background
Given
Visitor is on the Front Page
2.557
1.719
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.799
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@-example.com'
1.657
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.061
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.081
2.264
Background
Given
Visitor is on the Front Page
2.264
1.520
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.185
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 20 characters
1.295
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.225
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.003
2.086
Background
Given
Visitor is on the Front Page
2.086
1.402
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.342
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '#@%^%#$@#$@#.com'
1.289
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.112
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.045
2.165
Background
Given
Visitor is on the Front Page
2.165
2.777
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()
1.984
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2000 characters
2.607
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.170
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.120
2.329
Background
Given
Visitor is on the Front Page
2.329
1.925
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.896
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example..com'
1.842
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()
1.022
2.000
Background
Given
Visitor is on the Front Page
2.000
2.071
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.180
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'plainaddress'
1.886
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.184
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.203
1.994
Background
Given
Visitor is on the Front Page
1.994
1.067
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()
1.967
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890'
0.983
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.083
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.890