Logo: Relish

  1. Sign in

Project: Ideas-zone

A user can add and display ideas

In order to take part in the crowd-sourcing project
Then I want to be able to display ideas
So that I can vote and comment on them

Background A setup with users campaigns and ideas
Given
a set up with users campaigns and existing ideas
And
I am logged in as a user
And
I go to the first campaign page
Scenarios
  • @wip
  • @javascript
I display an idea
Given
I click on 'All Ideas'
And
I show the first idea
Then
I should see 'Add a comment'
And
I should see a total of 0 comments
And
I should see a total of 0 votes
  • @pending
  • @javascript
An ordinary user can add an idea to a campaign
When
I click on 'Submit an idea'
And
I fill in "Headline" with "My first idea"
And
I fill in "Description" with "Lorex Ipsum"
And
I press "Publish"
Then
I should see 'Lorex Ipsum'
And
I should see 'Your idea has been published'
When
I click on 'All Ideas'
Then
I should see 'My first idea'
And
I should see 'Lorex Ipsum'
And
I should see my name against it
And
I should see a tally of comments
And
I should see a tally of votes
But
I should not see a voting button
When
I click on 'My Ideas'
Then
I should see 'My first idea'
And
I should see 'Lorex Ipsum'

Last published over 5 years ago by JohnSmall.