mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix WritePost.feature
This commit is contained in:
parent
63d928e12e
commit
6ee9b9d830
@ -17,7 +17,7 @@ Feature: Create a post
|
||||
for active citizenship.
|
||||
"""
|
||||
And I click on "Save"
|
||||
Then I get redirected to "/post/my-first-post/"
|
||||
Then I get redirected to ".../my-first-post"
|
||||
And the post was saved successfully
|
||||
|
||||
Scenario: See a post on the landing page
|
||||
|
||||
@ -224,7 +224,7 @@ Then('the post shows up on the landing page at position {int}', index => {
|
||||
})
|
||||
|
||||
Then('I get redirected to {string}', route => {
|
||||
cy.location('pathname').should('contain', route)
|
||||
cy.location('pathname').should('contain', route.replace('...', ''))
|
||||
})
|
||||
|
||||
Then('the post was saved successfully', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user