Logo: Relish

  1. Sign in

Project: Deciderapp

Vote

In order to vote on a proposal
As a person who has received an invite to vote
I want to be able to cast my vote for a proposal

Scenarios
See Vote Page
Given
There is a proposal with id "pzYhplQdBNUgwvBY"
When
I go to the vote page
Then
I should see the proposal title
And
I should see "Yes"
And
I should see "No"
And
I should see "Maybe"
Can Cast Yes Vote
Given
There is a proposal with id "pzYhplQdBNUgwvBY"
When
I go to the vote page
And
I choose Yes
And
I submit
Then
I should see "Vote registered"
And
I should see "You choose: Yes"
And
I should see "Yes: 1 vote(s)"
And
I should see "Maybe: 0 vote(s)"
And
I should see "No: 0 vote(s)"
Can Cast No Vote
Given
There is a proposal with id "pzYhplQdBNUgwvBY"
When
I go to the vote page
And
I choose No
And
I submit
Then
I should see "Vote registered"
And
I should see "You choose: No"
And
I should see "Yes: 0 vote(s)"
And
I should see "Maybe: 0 vote(s)"
And
I should see "No: 1 vote(s)"
Can Cast Maybe Vote
Given
There is a proposal with id "pzYhplQdBNUgwvBY"
When
I go to the vote page
And
I choose Maybe
And
I submit
Then
I should see "Vote registered"
And
I should see "You choose: Maybe"
And
I should see "Yes: 0 vote(s)"
And
I should see "Maybe: 1 vote(s)"
And
I should see "No: 0 vote(s)"

Last published almost 5 years ago by Shawn Button.