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.416
Background
Given
User is logged via Booking Management Login Page as Administrator
2.149
And
User is on the Rooms Management Page
5.267
1.545
Scenario Outline
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.420
When
User creates new Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room'
0.666
Then
New Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room' will be created
0.878
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.009
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.082
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.193
7.684
Background
Given
User is logged via Booking Management Login Page as Administrator
2.375
And
User is on the Rooms Management Page
5.309
2.584
Scenario Outline
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.510
When
User creates new Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe'
1.517
Then
New Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe' will be created
1.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.056
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.162
7.455
Background
Given
User is logged via Booking Management Login Page as Administrator
2.193
And
User is on the Rooms Management Page
5.261
1.148
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()
0.527
When
User creates new Single type Not Accessible room '214' priced at 0 GBP with 'no features added to the room'
0.576
Then
User will get validation error message: 'must be greater than or equal to 1'
0.571
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.143
7.220
Background
Given
User is logged via Booking Management Login Page as Administrator
1.981
And
User is on the Rooms Management Page
5.238
0.959
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.001
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
0.455
When
User creates new Twin type Not Accessible room priced at 55 GBP with 'WiFi and TV' without filling up room name field
0.899
Then
User will get mandatory error message: 'Room name must be set'
0.059
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.141
7.534
Background
Given
User is logged via Booking Management Login Page as Administrator
2.188
And
User is on the Rooms Management Page
5.346
2.985
Scenario Outline
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.564
When
User creates new Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.885
Then
New Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
1.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.058
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.185
7.525
Background
Given
User is logged via Booking Management Login Page as Administrator
2.163
And
User is on the Rooms Management Page
5.362
1.875
Scenario Outline
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.771
When
User creates new Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe'
0.992
Then
New Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe' will be created
0.883
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.173
7.084
Background
Given
User is logged via Booking Management Login Page as Administrator
1.849
And
User is on the Rooms Management Page
5.235
0.964
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.310
When
User creates new Twin type Not Accessible room '314' with 'WiFi, TV and Safe' without filling up room price field
0.902
Then
User will get mandatory error message: 'must be greater than or equal to 1'
0.062
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.091
7.171
Background
Given
User is logged via Booking Management Login Page as Administrator
1.943
And
User is on the Rooms Management Page
5.227
2.244
Scenario Outline
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.443
When
User creates new Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.351
Then
New Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.892
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.115