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.536
Background
Given
User is logged in as Administrator
0.066
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.079
And
Visitor is on the Front Page
2.390
3.101
Scenario Outline
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.003
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
2.540
When
Visitor 'John' 'Doe' with an invalid email 'email.example.com' and phone number '+44 1632 960018' tries to book a room '1408'
3.046
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.089
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.010
2.997
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.077
And
Visitor is on the Front Page
2.871
2.270
Scenario Outline
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.848
When
Visitor 'John' 'Doe' with an invalid email '.email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.221
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.048
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()
1.056
6.169
Background
Given
User is logged in as Administrator
1.982
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
1.116
And
Visitor is on the Front Page
3.070
3.596
Scenario Outline
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.008
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
26.324
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.929
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.666
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.345
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.910
2.313
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.043
And
Visitor is on the Front Page
2.232
2.146
Scenario Outline
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.492
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.079
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.066
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.063
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.201
5.577
Background
Given
User is logged in as Administrator
2.319
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.169
And
Visitor is on the Front Page
3.089
2.367
Scenario Outline
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.580
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
2.297
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
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.112
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.062
2.688
Background
Given
User is logged in as Administrator
0.030
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.063
And
Visitor is on the Front Page
2.593
2.152
Scenario Outline
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.954
When
Visitor 'John' 'Doe' with an invalid email 'email@example..com' and phone number '+44 1632 960018' tries to book a room '1408'
2.096
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.056
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.074
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.059
3.117
Background
Given
User is logged in as Administrator
0.066
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.105
And
Visitor is on the Front Page
2.945
2.064
Scenario Outline
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.128
When
Visitor 'John' 'Doe' with an invalid email '<email@example.com>' and phone number '+44 1632 960018' tries to book a room '1408'
1.977
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.086
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.089
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.013
2.560
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.057
And
Visitor is on the Front Page
2.452
2.297
Scenario Outline
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.047
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.236
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.061
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.057
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.117
2.627
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.044
And
Visitor is on the Front Page
2.558
2.347
Scenario Outline
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.472
When
Visitor 'John' 'Doe' with an invalid email '#@%^%#$@#$@#.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.173
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.173
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.685
2.395
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.034
And
Visitor is on the Front Page
2.338
1.918
Scenario Outline
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.303
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'
1.875
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.043
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.049
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.220
2.282
Background
Given
User is logged in as Administrator
0.043
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.177
1.836
Scenario Outline
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.352
When
Visitor 'John' 'Doe' with an invalid email 'email@example@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.729
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.106
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.072
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.126
2.107
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.065
And
Visitor is on the Front Page
2.012
1.434
Scenario Outline
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()
3.013
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
1.409
Then
Visitor will get Booking Successful! Message
0.024
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.120
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.766
2.443
Background
Given
User is logged in as Administrator
0.053
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.337
2.881
Scenario Outline
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.723
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
2.868
Then
Visitor will get Booking Successful! Message
0.013
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.937
2.381
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.046
And
Visitor is on the Front Page
2.303
1.828
Scenario Outline
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.002
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.208
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.805
Then
Visitor will get Booking Successful! Message
0.022
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.002
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.097
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.162
1.764
Background
Given
User is logged in as Administrator
0.025
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.034
And
Visitor is on the Front Page
1.705
1.160
Scenario Outline
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.430
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.150
Then
Visitor will get Booking Successful! Message
0.009
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.048
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.698
2.187
Background
Given
User is logged in as Administrator
0.026
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.116
1.856
Scenario Outline
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()
2.444
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
1.808
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.047
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.919
2.912
Background
Given
User is logged in as Administrator
0.052
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.106
And
Visitor is on the Front Page
2.754
2.638
Scenario Outline
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()
3.077
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.589
Then
Visitor will get Booking Successful! Message
0.049
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.156
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.259
2.265
Background
Given
User is logged in as Administrator
0.064
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.128
1.879
Scenario Outline
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.027
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
1.839
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.040
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.960
3.197
Background
Given
User is logged in as Administrator
0.042
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.091
And
Visitor is on the Front Page
3.063
2.224
Scenario Outline
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.458
When
Visitor 'John' 'Doe' with an invalid email 'email@-example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.152
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.072
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.218
2.402
Background
Given
User is logged in as Administrator
0.032
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.324
2.208
Scenario Outline
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()
2.943
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.121
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.087
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.767
2.494
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.077
And
Visitor is on the Front Page
2.375
1.965
Scenario Outline
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.212
When
Visitor 'John' 'Doe' with an invalid email 'plainaddress' and phone number '+44 1632 960018' tries to book a room '1408'
1.908
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.056
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.061
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.781
2.220
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.052
And
Visitor is on the Front Page
2.138
2.297
Scenario Outline
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.251
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.285
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.105
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.212
2.488
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.071
And
Visitor is on the Front Page
2.389
1.442
Scenario Outline
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.716
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
1.399
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.042
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.060
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.817
2.771
Background
Given
User is logged in as Administrator
0.082
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.134
And
Visitor is on the Front Page
2.554
3.119
Scenario Outline
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.804
When
Visitor 'John' 'Doe' with an invalid email '@example.com Joe Smith' and phone number '+44 1632 960018' tries to book a room '1408'
3.000
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.135
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.093