Logo: Relish

  1. Sign in

Project: Hotel

Admin edits hotel information

  • @javascript
Scenarios
editing a hotel
Given
an admin
And
the following hotel with address:
name The Standard
description This hotel is pretty standard...
And
I am signed in
When
I follow "The Standard"
And
I follow "edit hotel"
And
I change the hotel's name to "Another hotel" within public info
And
I change the hotel's description to "This hotel is not standard" within public info
And
I click "update hotel"
Then
I should see "Hotel successfully updated."
And
I should see "This hotel is not standard"

Last published over 5 years ago by Faraaz Khan.