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.130
Background
Given
User is logged via Booking Management Login Page as Administrator
2.841
And
User is on the Rooms Management Page
5.288
3.015
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.462
When
User creates new Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
2.103
Then
New Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.911
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.119
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.103
7.985
Background
Given
User is logged via Booking Management Login Page as Administrator
2.648
And
User is on the Rooms Management Page
5.337
1.096
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.561
When
User creates new Twin type Not Accessible room '314' with 'WiFi, TV and Safe' without filling up room price field
1.013
Then
User will get mandatory error message: 'must be greater than or equal to 1'
0.083
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.142
7.707
Background
Given
User is logged via Booking Management Login Page as Administrator
2.425
And
User is on the Rooms Management Page
5.282
1.527
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.674
When
User creates new Twin type Not Accessible room priced at 55 GBP with 'WiFi and TV' without filling up room name field
0.901
Then
User will get mandatory error message: 'Room name must be set'
0.625
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.001
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.137
8.185
Background
Given
User is logged via Booking Management Login Page as Administrator
2.782
And
User is on the Rooms Management Page
5.402
2.809
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.471
When
User creates new Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe'
1.682
Then
New Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe' will be created
1.126
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.155
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.165
7.605
Background
Given
User is logged via Booking Management Login Page as Administrator
2.305
And
User is on the Rooms Management Page
5.299
3.164
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.494
When
User creates new Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
2.244
Then
New Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.920
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.101
12.984
Background
Given
User is logged via Booking Management Login Page as Administrator
7.409
And
User is on the Rooms Management Page
5.574
1.469
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.006
Before
com.levi9.functionaltests.hooks.Hooks.setupDriver()
35.852
When
User creates new Single type Not Accessible room '214' priced at 0 GBP with 'no features added to the room'
0.783
Then
User will get validation error message: 'must be greater than or equal to 1'
0.685
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.001
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.213
7.449
Background
Given
User is logged via Booking Management Login Page as Administrator
2.216
And
User is on the Rooms Management Page
5.232
1.551
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.546
When
User creates new Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room'
0.653
Then
New Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room' will be created
0.898
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.105
7.793
Background
Given
User is logged via Booking Management Login Page as Administrator
2.506
And
User is on the Rooms Management Page
5.287
2.510
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.768
When
User creates new Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe'
1.203
Then
New Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe' will be created
1.307
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.102
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.193