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.617
Background
Given
User is logged via Booking Management Login Page as Administrator
2.066
And
User is on the Rooms Management Page
6.550
1.869
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.606
When
User creates new Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room'
0.896
Then
New Single type Not Accessible room '114' priced at 80 GBP with 'no features added to the room' will be created
0.973
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.044
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.129
8.657
Background
Given
User is logged via Booking Management Login Page as Administrator
2.225
And
User is on the Rooms Management Page
6.432
0.688
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.451
When
User creates new Twin type Not Accessible room '314' with 'WiFi, TV and Safe' without filling up room price field
0.629
Then
User will get mandatory error message: 'must be greater than or equal to 1'
0.058
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.147
10.444
Background
Given
User is logged via Booking Management Login Page as Administrator
3.502
And
User is on the Rooms Management Page
6.942
2.855
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.782
When
User creates new Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe'
1.947
Then
New Double type Accessible room '116' priced at 200 GBP with 'WiFi, TV, Refreshments and Safe' will be created
0.907
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.163
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.140
8.593
Background
Given
User is logged via Booking Management Login Page as Administrator
2.036
And
User is on the Rooms Management Page
6.556
1.366
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.386
When
User creates new Single type Not Accessible room '214' priced at 0 GBP with 'no features added to the room'
0.680
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.000
After
com.levi9.functionaltests.hooks.Hooks.embedScenarioFailedScreenshot(io.cucumber.java.Scenario)
0.009
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.122
8.484
Background
Given
User is logged via Booking Management Login Page as Administrator
1.821
And
User is on the Rooms Management Page
6.663
3.226
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.665
When
User creates new Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.907
Then
New Family type Accessible room '117' priced at 250 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
1.318
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.120
9.093
Background
Given
User is logged via Booking Management Login Page as Administrator
2.389
And
User is on the Rooms Management Page
6.704
2.418
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.521
When
User creates new Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views'
1.609
Then
New Suite type Accessible room '118' priced at 300 GBP with 'WiFi, TV, Radio, Refreshments, Safe and Views' will be created
0.809
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.130
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.222
8.831
Background
Given
User is logged via Booking Management Login Page as Administrator
1.933
And
User is on the Rooms Management Page
6.897
1.631
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.583
When
User creates new Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe'
0.711
Then
New Twin type Not Accessible room '115' priced at 150 GBP with 'WiFi, TV and Safe' will be created
0.919
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.047
After
com.levi9.functionaltests.hooks.Hooks.tearDownDriver()
0.161
8.868
Background
Given
User is logged via Booking Management Login Page as Administrator
2.160
And
User is on the Rooms Management Page
6.708
1.401
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.430
When
User creates new Twin type Not Accessible room priced at 55 GBP with 'WiFi and TV' without filling up room name field
0.782
Then
User will get mandatory error message: 'Room name must be set'
0.618
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.163