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.271
Background
Given
Visitor is on the Front Page
2.271
1.569
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.525
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example.com (Joe Smith)'
0.925
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.643
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.149
2.307
Background
Given
Visitor is on the Front Page
2.307
1.706
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.389
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '#@%^%#$@#$@#.com'
1.560
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.146
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.109
2.186
Background
Given
Visitor is on the Front Page
2.186
1.483
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.494
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 100 characters
1.357
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.125
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.226
2.249
Background
Given
Visitor is on the Front Page
2.249
2.895
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.542
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example..com'
2.044
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.851
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.297
3.213
Background
Given
Visitor is on the Front Page
3.213
7.349
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.006
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
14.726
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2001 characters
5.691
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 characters.'
1.657
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.006
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()
0.261
1.989
Background
Given
Visitor is on the Front Page
1.989
1.489
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.422
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'plainaddress'
1.351
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.138
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
1.921
Background
Given
Visitor is on the Front Page
1.921
3.935
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.368
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 2000 characters
3.654
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.281
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.162
2.264
Background
Given
Visitor is on the Front Page
2.264
2.090
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.401
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@-example.com'
1.462
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.628
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.201
1.908
Background
Given
Visitor is on the Front Page
1.908
0.934
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.493
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'Abc..123@example.com'
0.842
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.091
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.165
2.366
Background
Given
Visitor is on the Front Page
2.366
1.898
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.528
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890123456789012'
1.274
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.624
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.245
2.150
Background
Given
Visitor is on the Front Page
2.150
1.955
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.666
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '12345678901'
1.190
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
0.765
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.222
2.204
Background
Given
Visitor is on the Front Page
2.204
3.112
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.002
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.590
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with valid value: '123456789012345678901'
2.026
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
1.085
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.212
2.226
Background
Given
Visitor is on the Front Page
2.226
1.835
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.573
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '@example.com Joe Smith'
1.133
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.702
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.211
2.096
Background
Given
Visitor is on the Front Page
2.096
1.279
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.647
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 4 characters
1.193
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.085
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.144
2.292
Background
Given
Visitor is on the Front Page
2.292
1.281
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.598
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 101 characters
1.126
Then
Visitor will get Contact Validation Error Message: 'Subject must be between 5 and 100 characters.'
0.154
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.294
1.910
Background
Given
Visitor is on the Front Page
1.910
0.865
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.404
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 19 characters
0.769
Then
Visitor will get Contact Validation Error Message: 'Message must be between 20 and 2000 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.148
2.005
Background
Given
Visitor is on the Front Page
2.005
1.662
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.514
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '<email@example.com>'
1.544
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.117
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.210
2.181
Background
Given
Visitor is on the Front Page
2.181
1.980
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.454
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email@example@example.com'
1.315
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.664
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.255
2.171
Background
Given
Visitor is on the Front Page
2.171
1.680
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.318
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up phone with invalid value: '1234567890'
1.543
Then
Visitor will get Contact Validation Error Message: 'Phone must be between 11 and 21 characters.'
0.136
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.150
2.264
Background
Given
Visitor is on the Front Page
2.264
2.054
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.549
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email.example.com'
1.327
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.727
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.257
2.139
Background
Given
Visitor is on the Front Page
2.139
1.357
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.641
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: 'email..email@example.com'
1.277
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.079
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.146
1.896
Background
Given
Visitor is on the Front Page
1.896
1.974
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.556
When
Visitor 'John Doe' tries to contact property by filling up subject with value length of 5 characters
1.841
Then
Visitor 'John Doe' will get Thanks for getting in touch message
0.132
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.001
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.155
1.994
Background
Given
Visitor is on the Front Page
1.994
1.521
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.401
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up email with invalid value: '.email@example.com'
1.334
Then
Visitor will get Contact Validation Error Message: 'must be a well-formed email address'
0.186
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.294
2.138
Background
Given
Visitor is on the Front Page
2.138
3.107
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.005
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.602
When
Visitor 'John Doe' tries to contact property regarding 'Special Accommodation' by filling up message with value length of 20 characters
1.844
Then
Visitor 'John Doe' will get Thanks for getting in touch message regarding subject 'Special Accommodation'
1.263
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.007
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.296