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.126
Background
Given
User is logged in as Administrator
0.020
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.038
And
Visitor is on the Front Page
2.068
2.363
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()
0.606
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
1.729
Then
Visitor will get Booking Successful! Message
0.634
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.095
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.163
2.316
Background
Given
User is logged in as Administrator
0.036
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
2.226
2.295
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()
0.480
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.198
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
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.054
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.160
2.230
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.043
And
Visitor is on the Front Page
2.158
2.212
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()
0.467
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.094
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
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.073
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.227
1.972
Background
Given
User is logged in as Administrator
0.013
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.023
And
Visitor is on the Front Page
1.935
2.061
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()
0.338
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
1.519
Then
Visitor will get Booking Successful! Message
0.541
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.076
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.248
2.359
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.048
And
Visitor is on the Front Page
2.282
2.396
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()
0.657
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
1.722
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.673
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.191
2.760
Background
Given
User is logged in as Administrator
0.068
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.107
And
Visitor is on the Front Page
2.584
2.780
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()
0.535
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.621
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.159
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.164
2.670
Background
Given
User is logged in as Administrator
0.035
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
2.590
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()
0.481
When
Visitor 'John' 'Doe' with an invalid email 'email@-example.com' and phone number '+44 1632 960018' tries to book a room '1408'
3.163
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.610
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.058
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.103
5.155
Background
Given
User is logged in as Administrator
1.748
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.959
And
Visitor is on the Front Page
2.447
5.994
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.011
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
14.676
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
5.008
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.986
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.315
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.300
1.970
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.050
And
Visitor is on the Front Page
1.890
2.131
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()
0.299
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
1.584
Then
Visitor will get Booking Successful! Message
0.546
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.061
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.155
2.197
Background
Given
User is logged in as Administrator
0.041
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.064
And
Visitor is on the Front Page
2.091
2.732
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()
0.658
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'
2.010
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.721
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.103
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.158
2.344
Background
Given
User is logged in as Administrator
0.050
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.061
And
Visitor is on the Front Page
2.232
2.126
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()
0.660
When
Visitor 'John' 'Doe' with an invalid email 'Abc..123@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.921
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.205
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.077
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.289
1.884
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.027
And
Visitor is on the Front Page
1.841
1.980
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()
0.310
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
1.419
Then
Visitor will get Booking Successful! Message
0.561
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.079
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.184
3.790
Background
Given
User is logged in as Administrator
1.199
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.318
And
Visitor is on the Front Page
2.271
2.293
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()
0.458
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.190
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.102
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.087
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.125
2.148
Background
Given
User is logged in as Administrator
0.017
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.029
And
Visitor is on the Front Page
2.102
2.241
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()
0.448
When
Visitor 'John' 'Doe' with an invalid email 'plainaddress' and phone number '+44 1632 960018' tries to book a room '1408'
2.108
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.133
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()
0.228
2.327
Background
Given
User is logged in as Administrator
0.023
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.031
And
Visitor is on the Front Page
2.272
2.937
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()
0.661
When
Visitor 'John' 'Doe' with an invalid email 'email..email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.188
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.748
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.140
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.282
2.248
Background
Given
User is logged in as Administrator
0.058
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.092
And
Visitor is on the Front Page
2.097
2.365
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()
0.511
When
Visitor 'John' 'Doe' with an invalid email '#@%^%#$@#$@#.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.201
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.164
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.193
2.107
Background
Given
User is logged in as Administrator
0.027
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.043
And
Visitor is on the Front Page
2.037
2.519
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()
0.581
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.940
Then
Visitor will get Booking Successful! Message
0.579
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.123
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.190
5.383
Background
Given
User is logged in as Administrator
1.780
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.920
And
Visitor is on the Front Page
2.682
5.531
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.018
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
14.668
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
5.264
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.266
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.003
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.405
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.425
2.117
Background
Given
User is logged in as Administrator
0.044
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.067
And
Visitor is on the Front Page
2.005
1.895
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()
0.463
When
Visitor 'John' 'Doe' with an invalid email '<email@example.com>' and phone number '+44 1632 960018' tries to book a room '1408'
1.761
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.134
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.166
3.042
Background
Given
User is logged in as Administrator
0.051
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.087
And
Visitor is on the Front Page
2.903
2.245
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()
0.777
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.125
Then
Visitor will get Booking 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.075
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.134
2.233
Background
Given
User is logged in as Administrator
0.065
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.074
And
Visitor is on the Front Page
2.093
2.251
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()
0.574
When
Visitor 'John' 'Doe' with an invalid email '.email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.081
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.169
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.127
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.235
2.409
Background
Given
User is logged in as Administrator
0.049
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.078
And
Visitor is on the Front Page
2.281
2.699
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()
0.560
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.152
Then
Visitor will get Booking Successful! Message
0.546
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.124
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.290
2.270
Background
Given
User is logged in as Administrator
0.037
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.096
And
Visitor is on the Front Page
2.137
2.637
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()
0.650
When
Visitor 'John' 'Doe' with an invalid email 'email.example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.034
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.603
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.079
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.215
2.317
Background
Given
User is logged in as Administrator
0.028
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.040
And
Visitor is on the Front Page
2.248
2.291
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()
0.592
When
Visitor 'John' 'Doe' with an invalid email 'email@example..com' and phone number '+44 1632 960018' tries to book a room '1408'
2.146
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.144
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()
0.345