diff --git a/cypress/integration/Post.Create.feature b/cypress/integration/Post.Create.feature index e9cd8b01a..53835dc74 100644 --- a/cypress/integration/Post.Create.feature +++ b/cypress/integration/Post.Create.feature @@ -24,6 +24,6 @@ Feature: Create a post And the post was saved successfully Scenario: See a post on the landing page - Given I previously created a post + When I previously created a post And I navigate to page "landing" - And the post shows up on the landing page at position 1 + Then the post shows up on the landing page at position 1 diff --git a/cypress/integration/post/.WritePost.feature b/cypress/integration/post/.WritePost.feature deleted file mode 100644 index 0d74606ad..000000000 --- a/cypress/integration/post/.WritePost.feature +++ /dev/null @@ -1,28 +0,0 @@ -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 we have a selection of categories - 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 select a category - And I choose "en" as the language for the post - 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