Logo: Relish

  1. Sign in

Project: Hotel

Admin edits destination

  • @javascript
Background
Given
I am signed in as an admin
And
the following destination:
name outer space
And
I am on the destinations page
Scenarios
Scenario
When
I edit that destination
Then
I see my changes to that destination
remove all content blocks
When
I remove all content blocks from that destination
Then
I see no content blocks on the destination
Quote too long
When
I follow "outer space"
And
I follow "edit destination"
And
I make a quote that is longer than 255 characters
And
I click "Update"
Then
I should see "Quote is too long (maximum is 255 characters)"
Scenario
When
I follow "outer space"
And
I follow "edit destination"
Then
I can choose a different image

Last published over 5 years ago by Faraaz Khan.