Logo: Relish

  1. Sign in

Project: Widget

BBC Id vote content

  • @content-bbciD-vote
  • @ignore-hidden-elements

In order to use a vote that requires a BBC ID account
As a user
I want to be served the appropriate vote content

Scenarios
  • @automated
  • @bbc-id-vote
Viewing an open ID vote whilst not logged in
Given
I am viewing a page with an embedded open ID vote
And
I am not logged in to my BBC ID account
Then
I should see a message warning this vote requires BBC login
And
I should see the BBC ID CTA
  • @automated
  • @bbc-id-vote
  • @reset-identity-cookies
Viewing an open ID vote whilst logged in
Given
I am viewing a page with an embedded open ID vote
And
I am logged in to my BBC ID account
Then
I should see the vote form
  • @automated
  • @bbc-id-vote
  • @reset-identity-cookies
Viewing an unopen ID vote
Given
I am viewing a page with an embedded vote_status ID vote
Then
I should see a status_feedback message
And
I should not see the BBC ID CTA
And
I should not see the vote form
Examples: Unopen ID vote status messages
vote_status status_feedback
closed closed vote message
finished finished vote message
suspended suspended vote message
  • @automated
  • @bbc-id-vote
  • @reset-identity-cookies
Viewing a pending ID vote whilst not logged in
Given
I am viewing a page with an embedded pending ID vote
And
I am not logged in to my BBC ID account
Then
I should see the pending status feedback message
And
I should see the BBC ID CTA
And
I should not see the vote form
  • @automated
  • @bbc-id-vote
  • @reset-identity-cookies
Viewing a pending ID vote whilst logged in
Given
I am viewing a page with an embedded pending ID vote
And
I am logged in to my BBC ID account
Then
I should see the pending status feedback message
And
I should see the pending vote message
And
I should not see the BBC ID CTA
And
I should not see the vote form

Last published about 5 years ago by Claudio Neves.