Logo: Relish

  1. Sign in

Project: Example-project

Show my food favourites (PSP-1298)

  • @memodule
  • @now
  • @test-fixture-food
  • @remove_favourite

As a Food iD User
I want to see my favourite recipes
So I can quickly find the things I want to cook

Background
Given
I am signed in
Scenarios
Pre-requisite scenario to remove existing favourites
Given
I have removed all my favourites
Can show recipes with info
And
I have "recipe" recipe added to my favourites
When
I view my favourites in "BBC food"
Then
I should see "recipe" in my favourites list
And
I should see the "recipe","image","chef" and "programme" about the recipe
Examples:
recipe image chef programme
Pecan toffee cheesecake pecan_toffee_cheesecake_22876 The Hairy Bikers The Hairy Bikers
Placeholder images
Given
I have "Felafel" recipe added to my favourites
When
I view my favourites in "BBC food"
And
the recipe "Felafel" has no image
Then
I should see a placeholder image for "Felafel"
  • @manual
There is an error retrieving extra information available from Food (show default)
Given
I am signed in
And
I have "Raspberry cinnamon meringue" recipe added to my favourites
When
I view my favourites in "BBC food"
And
there is an error retrieving extra information about Recipes
Then
I should see the "title" for "Raspberry cinnamon meringue"
And
I should see a placeholder image for "Raspberry cinnamon meringue"
And
I should not see the "chef,programme" about "Raspberry cinnamon meringue"
  • @manual
Other Characters
Given
I am signed in
And
I have "a recipe with foreign characters" recipe added to my favourites
When
I view my favourites in "BBC food"
Then
I should see "a recipe with foreign characters" in my favourites list
And
I should see the information about "a recipe with foreign characters" displayed correctly

Last published about 7 years ago by medhavi.