mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- the editor only clears once, also there are some other bugs associated with clearing it this way - according to https://github.com/scrumpy/tiptap/issues/21 there should be a clearContent(), but haven't been able to get it to work - cypress test for some reason is with a weird bug where I need to submit the form, then click on the submit button, otherwise it doesn't call the handleSubmit method
16 lines
608 B
Gherkin
16 lines
608 B
Gherkin
Feature: Post Comment
|
|
As a user
|
|
I want to comment on contributions of others
|
|
To be able to express my thoughts and emotions about these, discuss, and add give further information.
|
|
|
|
Background:
|
|
Given we have the following posts in our database:
|
|
| id | title | slug |
|
|
| bWBjpkTKZp | 101 Essays that will change the way you think | 101-essays |
|
|
And I have a user account
|
|
And I am logged in
|
|
|
|
Scenario:
|
|
Given I visit "post/bWBjpkTKZp/101-essays"
|
|
Then I should be able to post a comment
|
|
And I should see my comment |