Logo: Relish

  1. Sign in

Project: Example-project

Show my favourites CTA

  • @favourites_CTA

AS A user
I WANT to see 'My Favourites' CTA on every page
SO THAT I can click it

Scenarios
Can see 'My Favourites' CTA on home page
When
I visit "/modules/bbcmetest"
Then
I should see the 'My Favourites' CTA
  • @invalid
Can view 'My Favourites' CTA on benefits page
When
I visit "/modules/bbcmetest/my/benefits"
Then
I should see the 'My Favourites' CTA
Can click 'My Favourites' CTA and see benefits page
Given
I am not signed in
And
I visit "/modules/bbcmetest"
When
I click 'My Favourites' CTA
Then
I should be redirected to 'Benefits' page
And
I should see 'Benefits' page
Can click 'My Favourites' CTA and see favourites page
Given
I am signed in
And
I visit "/modules/bbcmetest"
When
I click 'My Favourites' CTA
Then
I should go to 'Favourites' page
And
I should see 'Favourites' page
Can go to 'Benefits' page
Given
I am not signed in
When
I visit "/modules/bbcmetest/my/favourites/benefits"
Then
I should see 'Benefits' page
Can go to 'Benefits' page - signed in user
Given
I am signed in
When
I visit "/modules/bbcmetest/my/favourites/benefits"
Then
I should see 'Benefits' page

Last published about 7 years ago by medhavi.