Logo: Relish

  1. Sign in

Project: Demo

Post a comment in a discussion

To allow users to share their opinions
A user must be able to post comments in a discussion

Scenarios
User enables markdown and posts a comment
Given
I am logged in
And
I am a member of a group
And
there is a discussion in the group
And
I don't prefer markdown
When
I visit the discussion page
And
I enable markdown
And
I write and submit a comment
Then
a comment should be added to the discussion
And
the comment should format markdown characters
And
the comment should autolink links
And
the comment should include appropriate new lines
And
markdown should now be on by default
User disable markdown and posts a comment
Given
I am logged in
And
I am a member of a group
And
there is a discussion in the group
And
I prefer markdown
When
I visit the discussion page
And
I disable markdown
And
I write and submit a comment
Then
a comment should be added to the discussion
And
the comment should not format markdown characters
And
the comment should autolink links
And
the comment should include appropriate new lines
And
markdown should now be off by default
Given
I am logged in
And
I am a member of a group
And
there is a discussion in the group
And
the discussion has comments
When
I visit the discussion page
Then
there should be an anchor for the comment
And
I should see a permalink to the anchor for that comment

Last published over 5 years ago by Loomio Project.