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.091
Background
Given
Visitor is on the Front Page
2.091
1.211
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.038
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'plainaddress'
1.150
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()
0.988
1.699
Background
Given
Visitor is on the Front Page
1.699
1.182
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.637
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 100 characters
1.113
Then
Visitor 'John Doe' will get Thanks for getting in touch message
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.670
2.155
Background
Given
Visitor is on the Front Page
2.155
1.476
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.629
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '@example.com Joe Smith'
1.357
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.118
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.010
2.223
Background
Given
Visitor is on the Front Page
2.223
1.391
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.918
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example.com (Joe Smith)'
1.279
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.039
1.828
Background
Given
Visitor is on the Front Page
1.828
1.200
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.302
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 101 characters
1.116
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.084
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.896
4.040
Background
Given
Visitor is on the Front Page
4.040
2.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()
16.015
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email.example.com'
2.287
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.675
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()
1.093
2.291
Background
Given
Visitor is on the Front Page
2.291
1.390
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()
3.812
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890'
1.268
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
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.002
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.033
2.228
Background
Given
Visitor is on the Front Page
2.228
1.075
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.452
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 5 characters
0.948
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()
1.013
2.210
Background
Given
Visitor is on the Front Page
2.210
4.052
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()
3.456
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2000 characters
3.936
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.115
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.873
2.120
Background
Given
Visitor is on the Front Page
2.120
0.844
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.711
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 20 characters
0.696
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.148
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.855
1.934
Background
Given
Visitor is on the Front Page
1.934
1.239
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.015
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example..com'
1.189
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.050
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.740
2.211
Background
Given
Visitor is on the Front Page
2.211
1.584
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()
3.118
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 4 characters
1.529
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
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.958
1.906
Background
Given
Visitor is on the Front Page
1.906
1.665
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.143
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@-example.com'
1.534
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.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.165
1.870
Background
Given
Visitor is on the Front Page
1.870
1.248
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.718
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '12345678901'
1.125
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.122
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.183
2.352
Background
Given
Visitor is on the Front Page
2.352
1.408
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.745
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example@example.com'
1.347
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.060
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.012
2.179
Background
Given
Visitor is on the Front Page
2.179
1.500
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()
3.325
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '123456789012345678901'
1.318
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.181
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.281
1.851
Background
Given
Visitor is on the Front Page
1.851
1.089
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.002
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.354
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email..email@example.com'
1.017
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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.991
2.259
Background
Given
Visitor is on the Front Page
2.259
1.136
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.376
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'Abc..123@example.com'
1.071
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.064
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.143
2.384
Background
Given
Visitor is on the Front Page
2.384
1.625
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.012
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '<email@example.com>'
1.519
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()
1.176
2.165
Background
Given
Visitor is on the Front Page
2.165
1.443
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()
3.575
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890123456789012'
1.353
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 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()
1.051
2.046
Background
Given
Visitor is on the Front Page
2.046
3.448
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()
3.061
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2001 characters
3.344
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.103
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.136
2.210
Background
Given
Visitor is on the Front Page
2.210
1.360
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.807
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '.email@example.com'
1.303
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.056
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.266
2.861
Background
Given
Visitor is on the Front Page
2.861
1.406
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.220
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '#@%^%#$@#$@#.com'
1.348
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.057
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.705
2.190
Background
Given
Visitor is on the Front Page
2.190
1.268
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.002
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.962
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 19 characters
1.191
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.077
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