Logo: Relish

  1. Sign in

Project: Hotel

Hotels/room types

Background
Given
I am signed in as an admin
Scenarios
Admin creates room type
Given
a recently added hotel
And
I am viewing that hotel
And
I manage room types for that hotel
When
I add a new room type to that hotel
And
I create the room type
Then
I see the room type information for the hotel
Admin edits room type
Given
1 hotel with address
And
that hotel has the following room types:
name
An Obulus Room
And
I am viewing that hotel
And
I manage room types for that hotel
When
I follow "An Obulus Room"
And
I follow "edit room info"
And
I fill in "Name" with "The Max"
And
I click "Update Room type"
Then
I should see "The Max"
Admin removes room type
Given
1 hotel with address
And
that hotel has the following room types:
name
An Obulus Room
And
I am viewing that hotel
And
I manage room types for that hotel
When
I follow "An Obulus Room"
And
I follow "edit room info"
And
I follow "remove room type"
Then
I should not see "An Obulus Room"
Admin views room type
Given
1 hotel with address
And
that hotel has the following room with beds:
name
An Obulus Room
And
I am viewing that hotel
And
I manage room types for that hotel
When
I follow "An Obulus Room"
Then
I should see room details for "An Obulus Room"

Last published almost 7 years ago by Faraaz Khan.