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.
3.310
Background
Given
User is logged in as Administrator
0.060
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.073
And
Visitor is on the Front Page
3.175
1.542
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()
4.952
When
Visitor 'John' 'Doe' with an invalid email '<email@example.com>' and phone number '+44 1632 960018' tries to book a room '1408'
1.496
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.045
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.118
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.706
2.480
Background
Given
User is logged in as Administrator
0.089
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.128
And
Visitor is on the Front Page
2.262
2.522
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.722
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.476
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.046
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.111
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.116
2.175
Background
Given
User is logged in as Administrator
0.106
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.095
And
Visitor is on the Front Page
1.973
2.150
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()
4.118
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
2.083
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
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.086
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.495
2.652
Background
Given
User is logged in as Administrator
0.078
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.466
2.449
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.050
When
Visitor 'John' 'Doe' with an invalid email 'email@example..com' and phone number '+44 1632 960018' tries to book a room '1408'
2.336
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.112
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.005
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.242
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.572
2.919
Background
Given
User is logged in as Administrator
0.116
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.128
And
Visitor is on the Front Page
2.675
2.785
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.769
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.585
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.200
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.167
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.210
3.004
Background
Given
User is logged in as Administrator
0.076
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.098
And
Visitor is on the Front Page
2.829
2.632
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.637
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.557
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.074
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.110
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.948
2.989
Background
Given
User is logged in as Administrator
0.111
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.168
And
Visitor is on the Front Page
2.709
1.958
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()
4.637
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
1.871
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.086
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.137
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.901
2.913
Background
Given
User is logged in as Administrator
0.080
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.132
And
Visitor is on the Front Page
2.700
1.670
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()
4.527
When
Visitor 'John' 'Doe' with an invalid email 'plainaddress' and phone number '+44 1632 960018' tries to book a room '1408'
1.611
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.058
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.106
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.837
2.820
Background
Given
User is logged in as Administrator
0.142
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.137
And
Visitor is on the Front Page
2.540
2.189
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.473
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.175
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.116
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.582
2.799
Background
Given
User is logged in as Administrator
0.083
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.112
And
Visitor is on the Front Page
2.603
1.773
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()
5.453
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
1.676
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
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.157
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.778
2.086
Background
Given
User is logged in as Administrator
0.034
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.059
And
Visitor is on the Front Page
1.992
1.892
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.176
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.814
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.078
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.081
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.655
3.124
Background
Given
User is logged in as Administrator
0.096
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.132
And
Visitor is on the Front Page
2.895
1.847
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()
4.598
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.769
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.078
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.888
2.464
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.055
And
Visitor is on the Front Page
2.371
1.923
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()
4.687
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.909
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.291
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.889
2.217
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.067
And
Visitor is on the Front Page
2.118
2.000
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.627
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.986
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.252
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.878
5.727
Background
Given
User is logged in as Administrator
2.563
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.263
And
Visitor is on the Front Page
2.900
3.115
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.373
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.549
Then
Visitor will get Booking Successful! Message
0.566
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.299
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.783
2.858
Background
Given
User is logged in as Administrator
0.067
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.125
And
Visitor is on the Front Page
2.665
2.782
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()
4.171
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.734
Then
Visitor will get Booking Successful! Message
0.047
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.188
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.803
2.471
Background
Given
User is logged in as Administrator
0.074
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.049
And
Visitor is on the Front Page
2.347
1.786
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()
4.011
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.775
Then
Visitor will get Booking Successful! Message
0.011
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.104
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.523
2.340
Background
Given
User is logged in as Administrator
0.057
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.218
2.029
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.001
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
3.000
When
Visitor 'John' 'Doe' with an invalid email 'email@-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.108
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.196
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.921
3.122
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.080
And
Visitor is on the Front Page
2.973
1.953
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()
4.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.827
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.125
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.119
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.990
3.410
Background
Given
User is logged in as Administrator
0.192
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.144
And
Visitor is on the Front Page
3.073
1.904
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.001
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
4.966
When
Visitor 'John' 'Doe' with an invalid email 'email.example.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.758
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.146
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.002
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.163
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.719
5.042
Background
Given
User is logged in as Administrator
0.611
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
1.544
And
Visitor is on the Front Page
2.886
4.115
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()
18.167
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.361
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.753
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.004
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.287
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.823
3.099
Background
Given
User is logged in as Administrator
0.070
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.103
And
Visitor is on the Front Page
2.925
2.471
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()
4.259
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.404
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.177
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.784
2.593
Background
Given
User is logged in as Administrator
0.067
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.437
2.430
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()
4.148
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.292
Then
Visitor will get Booking 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.080
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.752
2.241
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.070
And
Visitor is on the Front Page
2.120
1.411
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.071
When
Visitor 'John' 'Doe' with an invalid email '#@%^%#$@#$@#.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.367
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.109
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.559