Logo: Relish

  1. Sign in

Project: Example-project

Add to Favourite button non-JS

  • @favourite_plugin
  • @non_js
  • @add_to_non_js
  • @remove_favourite
Background
Given
I have "disabled" javascript
Scenarios
Pre-requisite scenario to remove existing favourites
Given
I have removed all my favourites
Can sign in when adding favourite without JS
Given
I am not signed in
And
I am on an "bbcmetest" page
When
I add "food recipe" to my favourites
Then
I will be redirected to the "sign in" page
Can add a favourite without JS
Given
I am signed in
And
I am on an "bbcmetest" page
When
I add "food recipe" to my favourites
Then
it will add the "food recipe" to my favourites
Can add (ignore) when already added non-JS
Given
I am signed in
And
I have "food recipe" already added to my favourites
And
I am on an "bbcmetest" page
When
I add the same "food recipe" to my favourites
Then
the added "food recipe" will be ignored
  • @integration
Can cancel sign in/add when adding favourite
Given
I am not signed in
And
I am on an "bbcmetest" page
When
I add "food recipe" to my favourites
Then
I will be redirected to the "sign in" page
When
I cancel the sign in
Then
I will be redirected to the "bbcmetest" page
Can add track to my favourites
Given
I am signed in
And
I am on an "bbcmetest" page
When
I add "radio programme" to my favourites
Then
it will add the "radio programme" to my favourites
  • @wip
Can add brand (context) and item when adding favourite

This scenario does not have any steps.

  • @stub
Service error when adding favourite

This scenario does not have any steps.


Last published about 7 years ago by medhavi.