Feature
Rooms Management
Logged in Users (Administrators), must be able to create new rooms through Room Management page by filling up all mandatory fields and selecting room room features.
If any of the mandatory fields is missing, proper mandatory error message must be displayed.
If any of the fields is filled in with invalid data, proper validation error message must be displayed.
7.542
Background
Given
User is logged via Booking Management Login Page as Administrator
2.233
And
User is on the Rooms Management Page
5.308
2.062
Scenario
User must be able to create new room by filling up all mandatory fields
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.632
When
User creates new Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe'
1.169
Then
New Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe' will be created
0.893
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.052
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.118
10.454
Background
Given
User is logged via Booking Management Login Page as Administrator
4.764
And
User is on the Rooms Management Page
5.690
2.641
Scenario
User must be able to create new room by filling up all mandatory fields
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.006
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
7.857
When
User creates new Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.683
Then
New Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.957
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.118
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.208
7.723
Background
Given
User is logged via Booking Management Login Page as Administrator
2.455
And
User is on the Rooms Management Page
5.268
1.359
Scenario
User must be able to create new room by filling up all mandatory fields
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.536
When
User creates new Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room'
0.585
Then
New Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room' will be created
0.774
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.041
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.147
7.970
Background
Given
User is logged via Booking Management Login Page as Administrator
2.158
And
User is on the Rooms Management Page
5.812
1.160
Scenario
User must NOT be able to create new room without filling up room price field
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.608
When
User creates new Twin type Not Accessible room '314' with 'WiFi, TV and Safe' without filling up room price field
1.029
Then
User will get mandatory error message: 'must be greater than or equal to 1'
0.130
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.164
7.290
Background
Given
User is logged via Booking Management Login Page as Administrator
2.031
And
User is on the Rooms Management Page
5.259
1.031
Scenario
User must NOT be able to create new room without filling up room name field
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.389
When
User creates new Twin type Not Accessible room priced at 55 GBP with 'WiFi and TV' without filling up room name field
0.943
Then
User will get mandatory error message: 'Room name must be set'
0.088
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.128
7.689
Background
Given
User is logged via Booking Management Login Page as Administrator
2.244
And
User is on the Rooms Management Page
5.444
1.334
Scenario
User must NOT be able to create new room with price 0
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
1.094
When
User creates new Single type Not Accessible room '214' priced at 0 GBP with 'no features added to the room'
0.650
Then
User will get validation error message: 'must be greater than or equal to 1'
0.684
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.125
7.429
Background
Given
User is logged via Booking Management Login Page as Administrator
2.111
And
User is on the Rooms Management Page
5.318
2.118
Scenario
User must be able to create new room by filling up all mandatory fields
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.482
When
User creates new Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe'
1.217
Then
New Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe' will be created
0.901
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.041
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.098
7.247
Background
Given
User is logged via Booking Management Login Page as Administrator
1.990
And
User is on the Rooms Management Page
5.257
2.194
Scenario
User must be able to create new room by filling up all mandatory fields
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.004
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.439
When
User creates new Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.271
Then
New Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.923
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.111