Feature
Invalid Data Validation when Booking a Room
Visitor must be able to book a room for available dates by filling up all mandatory fields with valid values, selecting available date and clicking on Book button.
If any of the fields is filled in with invalid data, proper Booking Validation Error Message must be displayed.
2.553
Background
Given
User is logged in as Administrator
0.045
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.055
And
Visitor is on the Front Page
2.452
3.260
Scenario
Visitor must be able to book a room by filling up the first name with valid length value, more than 3 and less than 18 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.830
When
Visitor 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up first name with value length of 18 characters
3.223
Then
Visitor will get Booking Successful! Message
0.037
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.083
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.356
2.631
Background
Given
User is logged in as Administrator
0.024
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.045
And
Visitor is on the Front Page
2.561
2.978
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.201
When
Visitor 'John' 'Doe' with an invalid email '@example.com Joe Smith' and phone number '+44 1632 960018' tries to book a room '1408'
2.925
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.053
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.056
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.809
2.876
Background
Given
User is logged in as Administrator
0.024
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.039
And
Visitor is on the Front Page
2.812
2.073
Scenario
Visitor must NOT be able to book a room by filling up the phone with invalid length value, less than 11 and more than 21 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.858
When
Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' by filling up phone with value length of 10 characters
2.011
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
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.071
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.894
2.311
Background
Given
User is logged in as Administrator
0.031
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.051
And
Visitor is on the Front Page
2.229
2.112
Scenario
Visitor must be able to book a room by filling up the phone with valid length value, more than 11 and less than 21 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.645
When
Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' by filling up phone with value length of 21 characters
2.093
Then
Visitor will get Booking Successful! Message
0.018
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.085
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.179
3.225
Background
Given
User is logged in as Administrator
0.024
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.044
And
Visitor is on the Front Page
3.155
2.562
Scenario
Visitor must NOT be able to book a room by filling up the first name with invalid length value, less than 3 and more than 18 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.109
When
Visitor 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up first name with value length of 2 characters
2.491
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.070
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.064
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.044
4.316
Background
Given
User is logged in as Administrator
1.734
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.285
And
Visitor is on the Front Page
2.295
2.873
Scenario
Visitor must NOT be able to book a room by filling up the last name with invalid length value, less than 3 and more than 30 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.579
When
Visitor 'John' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up last name with value length of 2 characters
2.814
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.059
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.141
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.689
2.937
Background
Given
User is logged in as Administrator
0.047
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.088
And
Visitor is on the Front Page
2.802
3.178
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.001
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.768
When
Visitor 'John' 'Doe' with an invalid email 'email@-example.com' and phone number '+44 1632 960018' tries to book a room '1408'
3.061
Then
Visitor will get Booking 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.101
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.109
6.967
Background
Given
User is logged in as Administrator
2.086
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
1.196
And
Visitor is on the Front Page
3.684
5.024
Scenario
Visitor must NOT be able to book a room by filling up the first name with invalid length value, less than 3 and more than 18 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
10.620
When
Visitor 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up first name with value length of 19 characters
4.177
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.847
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.134
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.904
2.052
Background
Given
User is logged in as Administrator
0.048
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.039
And
Visitor is on the Front Page
1.964
2.123
Scenario
Visitor must be able to book a room by filling up the last name with valid length value, more than 3 and less than 30 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.406
When
Visitor 'John' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up last name with value length of 30 characters
2.108
Then
Visitor will get Booking Successful! Message
0.014
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.092
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.786
3.085
Background
Given
User is logged in as Administrator
0.021
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.072
And
Visitor is on the Front Page
2.992
3.774
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.262
When
Visitor 'John' 'Doe' with an invalid email 'email@example.com (Joe Smith)' and phone number '+44 1632 960018' tries to book a room '1408'
3.707
Then
Visitor will get Booking 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.078
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.857
2.197
Background
Given
User is logged in as Administrator
0.045
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.046
And
Visitor is on the Front Page
2.104
2.604
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.107
When
Visitor 'John' 'Doe' with an invalid email 'Abc..123@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.535
Then
Visitor will get Booking 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.062
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.732
2.764
Background
Given
User is logged in as Administrator
0.018
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.036
And
Visitor is on the Front Page
2.709
2.954
Scenario
Visitor must be able to book a room by filling up the last name with valid length value, more than 3 and less than 30 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.600
When
Visitor 'John' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up last name with value length of 3 characters
2.916
Then
Visitor will get Booking Successful! Message
0.037
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.235
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.379
32.033
Background
Given
User is logged in as Administrator
0.024
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.037
And
Visitor is on the Front Page
31.971
2.944
Scenario
Visitor must NOT be able to book a room by filling up the phone with invalid length value, less than 11 and more than 21 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.453
When
Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' by filling up phone with value length of 22 characters
2.802
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.141
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.107
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.247
2.268
Background
Given
User is logged in as Administrator
0.014
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.037
And
Visitor is on the Front Page
2.216
2.075
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.962
When
Visitor 'John' 'Doe' with an invalid email 'plainaddress' and phone number '+44 1632 960018' tries to book a room '1408'
2.016
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.059
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.053
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.817
2.025
Background
Given
User is logged in as Administrator
0.040
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.053
And
Visitor is on the Front Page
1.931
1.800
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.143
When
Visitor 'John' 'Doe' with an invalid email 'email..email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.745
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.054
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.045
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.653
32.856
Background
Given
User is logged in as Administrator
0.029
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.046
And
Visitor is on the Front Page
32.779
2.132
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.519
When
Visitor 'John' 'Doe' with an invalid email '#@%^%#$@#$@#.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.072
Then
Visitor will get Booking 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.108
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.146
2.256
Background
Given
User is logged in as Administrator
0.016
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.045
And
Visitor is on the Front Page
2.193
1.808
Scenario
Visitor must be able to book a room by filling up the first name with valid length value, more than 3 and less than 18 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.030
When
Visitor 'Doe' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up first name with value length of 3 characters
1.793
Then
Visitor will get Booking Successful! Message
0.015
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.099
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.750
6.897
Background
Given
User is logged in as Administrator
1.870
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
1.366
And
Visitor is on the Front Page
3.661
4.581
Scenario
Visitor must NOT be able to book a room by filling up the last name with invalid length value, less than 3 and more than 30 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.017
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
11.371
When
Visitor 'John' with an email 'john.doe@email.com' and phone number '+44 1632 960018' tries to book a room '1408' by filling up last name with value length of 31 characters
4.478
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.102
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.002
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.298
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.074
2.160
Background
Given
User is logged in as Administrator
0.038
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.116
And
Visitor is on the Front Page
2.005
2.028
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.565
When
Visitor 'John' 'Doe' with an invalid email '<email@example.com>' and phone number '+44 1632 960018' tries to book a room '1408'
1.967
Then
Visitor will get Booking 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.091
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.803
2.844
Background
Given
User is logged in as Administrator
0.033
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.041
And
Visitor is on the Front Page
2.769
3.114
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.059
When
Visitor 'John' 'Doe' with an invalid email 'email@example@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.973
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.140
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.128
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.069
3.004
Background
Given
User is logged in as Administrator
0.022
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.039
And
Visitor is on the Front Page
2.942
2.695
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.194
When
Visitor 'John' 'Doe' with an invalid email '.email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.630
Then
Visitor will get Booking 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.057
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.027
32.323
Background
Given
User is logged in as Administrator
0.024
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.042
And
Visitor is on the Front Page
32.255
2.444
Scenario
Visitor must be able to book a room by filling up the phone with valid length value, more than 11 and less than 21 characters
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.100
When
Visitor 'John' 'Doe' with an email 'john.doe@email.com' tries to book a room '1408' by filling up phone with value length of 11 characters
2.432
Then
Visitor will get Booking Successful! Message
0.012
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.088
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.040
3.425
Background
Given
User is logged in as Administrator
0.022
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.027
And
Visitor is on the Front Page
3.376
2.360
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.125
When
Visitor 'John' 'Doe' with an invalid email 'email.example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.270
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
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.068
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.017
3.223
Background
Given
User is logged in as Administrator
0.016
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.024
And
Visitor is on the Front Page
3.182
2.281
Scenario
Visitor must NOT be able to book a room by filling up email with invalid value
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.196
When
Visitor 'John' 'Doe' with an invalid email 'email@example..com' and phone number '+44 1632 960018' tries to book a room '1408'
2.190
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
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.088
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.816