Ocelot-Social/cypress/integration/WritePost.feature
Robert Schäfer 8d77731bbf Remove obsolete number prefix on cypress tests
Cypress tests don't need to be executed in order so we don't need the
numbers anymore.

cc @appinteractive
2019-04-10 14:09:55 +02:00

26 lines
787 B
Gherkin

Feature: Create a post
As a user
I would like to create a post
To say something to everyone in the community
Background:
Given I have a user account
And I am logged in
And I am on the "landing" page
Scenario: Create a post
When I click on the big plus icon in the bottom right corner to create post
And I choose "My first post" as the title of the post
And I type in the following text:
"""
Human Connection is a free and open-source social network
for active citizenship.
"""
And I click on "Save"
Then I get redirected to ".../my-first-post"
And the post was saved successfully
Scenario: See a post on the landing page
Given I previously created a post
Then the post shows up on the landing page at position 1