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.550
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
2.507
2.178
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.489
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.600
Then
Visitor will get Booking Successful! Message
0.577
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.066
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.153
2.596
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.052
And
Visitor is on the Front Page
2.519
2.791
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.685
When
Visitor 'John' 'Doe' with an invalid email 'email.example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.189
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.602
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.208
2.683
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.041
And
Visitor is on the Front Page
2.609
1.963
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.461
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.385
Then
Visitor will get Booking Successful! Message
0.577
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.180
2.912
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.038
And
Visitor is on the Front Page
2.855
2.456
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.597
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.847
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.608
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.137
2.439
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.360
2.058
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.629
When
Visitor 'John' 'Doe' with an invalid email '#@%^%#$@#$@#.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.941
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.067
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.231
2.740
Background
Given
User is logged in as Administrator
0.015
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.688
2.487
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.673
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.911
Then
Visitor will get Booking Successful! Message
0.576
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.206
2.559
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.026
And
Visitor is on the Front Page
2.519
2.141
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.514
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.594
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.050
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.145
2.423
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.049
And
Visitor is on the Front Page
2.345
1.944
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.003
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.467
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.826
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.115
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.276
2.615
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.031
And
Visitor is on the Front Page
2.551
2.568
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.553
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.923
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.644
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.090
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.220
2.247
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.097
And
Visitor is on the Front Page
2.112
2.199
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.499
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.098
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.100
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()
0.237
2.533
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
2.473
1.953
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.537
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.852
Then
Visitor will get Booking Validation Error Message: 'size must be between 11 and 21'
0.101
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()
0.114
2.840
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.049
And
Visitor is on the Front Page
2.774
1.669
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.728
When
Visitor 'John' 'Doe' with an invalid email '.email@example.com' and phone number '+44 1632 960018' tries to book a room '1408'
1.542
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.127
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.159
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.304
1.986
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.554
When
Visitor 'John' 'Doe' with an invalid email 'email@example..com' and phone number '+44 1632 960018' tries to book a room '1408'
1.870
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.115
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.055
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.227
2.890
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.034
And
Visitor is on the Front Page
2.832
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.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.426
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.052
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.051
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.146
2.166
Background
Given
User is logged in as Administrator
0.015
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.033
And
Visitor is on the Front Page
2.117
1.973
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.440
When
Visitor 'John' 'Doe' with an invalid email 'plainaddress' and phone number '+44 1632 960018' tries to book a room '1408'
1.839
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.072
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.156
2.927
Background
Given
User is logged in as Administrator
0.063
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.104
And
Visitor is on the Front Page
2.759
2.347
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.563
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.713
Then
Visitor will get Booking Successful! Message
0.633
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.238
2.110
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.048
And
Visitor is on the Front Page
2.034
1.997
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.559
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.417
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
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.038
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.145
2.838
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.048
And
Visitor is on the Front Page
2.758
1.984
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.443
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.855
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.129
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.279
3.630
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.103
And
Visitor is on the Front Page
3.460
2.882
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.459
When
Visitor 'John' 'Doe' with an invalid email 'email@-example.com' and phone number '+44 1632 960018' tries to book a room '1408'
2.220
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.661
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.159
2.895
Background
Given
User is logged in as Administrator
0.015
And
User has created Single type Accessible room '1408' priced at 50 GBP with 'WiFi, TV, Refreshments and Safe'
0.032
And
Visitor is on the Front Page
2.847
2.599
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.705
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.996
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
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.046
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.153
2.551
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.042
And
Visitor is on the Front Page
2.481
2.410
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.517
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.767
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 18'
0.643
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.097
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.229
2.230
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.044
And
Visitor is on the Front Page
2.165
2.262
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.613
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.715
Then
Visitor will get Booking Successful! Message
0.547
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()
0.151
2.960
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.038
And
Visitor is on the Front Page
2.895
1.845
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.502
When
Visitor 'John' 'Doe' with an invalid email '<email@example.com>' and phone number '+44 1632 960018' tries to book a room '1408'
1.737
Then
Visitor will get Booking Validation Error Message: 'must be a well-formed email address'
0.107
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.038
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.146
2.306
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.038
And
Visitor is on the Front Page
2.245
1.913
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.458
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.329
Then
Visitor will get Booking Validation Error Message: 'size must be between 3 and 30'
0.584
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.101