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.547
Background
Given
Visitor is on the Front Page
2.547
1.274
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()
0.646
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example.com (Joe Smith)'
1.180
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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.139
2.185
Background
Given
Visitor is on the Front Page
2.185
1.331
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()
0.863
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@-example.com'
1.228
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
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()
0.242
2.375
Background
Given
Visitor is on the Front Page
2.375
1.448
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()
0.476
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email.example.com'
0.825
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.623
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.213
3.355
Background
Given
Visitor is on the Front Page
3.355
2.442
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.023
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
9.336
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 5 characters
1.826
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.615
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.164
1.914
Background
Given
Visitor is on the Front Page
1.914
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()
0.755
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example@example.com'
1.485
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.139
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.207
2.705
Background
Given
Visitor is on the Front Page
2.705
3.635
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()
0.502
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2001 characters
3.511
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
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.218
1.932
Background
Given
Visitor is on the Front Page
1.932
1.145
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()
0.562
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example..com'
1.035
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.109
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.193
Background
Given
Visitor is on the Front Page
2.193
3.926
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()
0.720
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2000 characters
3.715
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.210
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.250
2.024
Background
Given
Visitor is on the Front Page
2.024
1.961
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()
0.788
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'Abc..123@example.com'
1.293
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.668
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.196
1.501
Background
Given
Visitor is on the Front Page
1.501
0.854
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()
0.411
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '<email@example.com>'
0.787
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.067
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.550
Background
Given
Visitor is on the Front Page
2.550
1.437
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()
0.512
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 4 characters
1.321
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.116
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.637
Background
Given
Visitor is on the Front Page
2.637
1.325
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()
0.372
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'plainaddress'
1.213
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.003
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.281
2.116
Background
Given
Visitor is on the Front Page
2.116
1.797
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()
0.603
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890123456789012'
1.681
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.116
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.139
2.529
Background
Given
Visitor is on the Front Page
2.529
1.396
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()
0.616
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '123456789012345678901'
1.214
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.182
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.124
1.862
Background
Given
Visitor is on the Front Page
1.862
2.060
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()
0.725
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '12345678901'
1.227
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.832
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.001
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.149
2.580
Background
Given
Visitor is on the Front Page
2.580
0.972
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()
0.515
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '@example.com Joe Smith'
0.892
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.080
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.134
2.119
Background
Given
Visitor is on the Front Page
2.119
1.325
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()
0.622
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email..email@example.com'
1.135
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.189
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.106
1.992
Background
Given
Visitor is on the Front Page
1.992
1.497
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()
0.822
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 101 characters
1.371
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.126
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.154
1.732
Background
Given
Visitor is on the Front Page
1.732
1.267
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()
0.578
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '.email@example.com'
1.192
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.075
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.151
2.627
Background
Given
Visitor is on the Front Page
2.627
1.444
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()
0.700
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '#@%^%#$@#$@#.com'
1.333
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()
0.154
2.711
Background
Given
Visitor is on the Front Page
2.711
1.793
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()
0.700
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 20 characters
1.177
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.615
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.539
Background
Given
Visitor is on the Front Page
1.539
1.411
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()
0.620
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890'
0.830
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.580
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.143
1.913
Background
Given
Visitor is on the Front Page
1.913
1.553
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()
0.457
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 19 characters
0.967
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
0.586
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.124
2.497
Background
Given
Visitor is on the Front Page
2.497
1.733
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()
0.731
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 100 characters
1.617
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.116
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.110