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.
8.121
Background
Given
User is logged via Booking Management Login Page as Administrator
2.921
And
User is on the Rooms Management Page
5.200
1.398
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()
2.735
When
User creates new Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room'
0.819
Then
New Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room' will be created
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.125
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.746
7.967
Background
Given
User is logged via Booking Management Login Page as Administrator
2.700
And
User is on the Rooms Management Page
5.267
1.692
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()
3.757
When
User creates new Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe'
1.285
Then
New Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe' will be created
0.407
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()
1.054
8.085
Background
Given
User is logged via Booking Management Login Page as Administrator
2.902
And
User is on the Rooms Management Page
5.183
1.277
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()
2.759
When
User creates new Single type Not Accessible room '214' priced at 0 GBP with 'no features added to the room'
0.665
Then
User will get validation error message: 'must be greater than or equal to 1'
0.611
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.002
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.270
7.689
Background
Given
User is logged via Booking Management Login Page as Administrator
2.572
And
User is on the Rooms Management Page
5.117
0.761
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()
2.667
When
User creates new Twin type Not Accessible room priced at 55 GBP with 'WiFi and TV' without filling up room name field
0.704
Then
User will get mandatory error message: 'Room name must be set'
0.057
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()
1.570
7.375
Background
Given
User is logged via Booking Management Login Page as Administrator
2.209
And
User is on the Rooms Management Page
5.166
1.859
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()
3.229
When
User creates new Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.509
Then
New Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.349
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()
1.290
7.703
Background
Given
User is logged via Booking Management Login Page as Administrator
2.575
And
User is on the Rooms Management Page
5.127
1.178
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()
3.054
When
User creates new Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe'
0.886
Then
New Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe' will be created
0.291
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.606
7.771
Background
Given
User is logged via Booking Management Login Page as Administrator
2.552
And
User is on the Rooms Management Page
5.219
0.865
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()
2.557
When
User creates new Twin type Not Accessible room '314' with 'WiFi, TV and Safe' without filling up room price field
0.823
Then
User will get mandatory error message: 'must be greater than or equal to 1'
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.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.389
7.791
Background
Given
User is logged via Booking Management Login Page as Administrator
2.638
And
User is on the Rooms Management Page
5.153
1.805
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()
2.900
When
User creates new Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.453
Then
New Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.352
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.094
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
1.461