possible fix for cypress create post

This commit is contained in:
Ulf Gebhardt 2019-04-12 13:37:12 +02:00
parent 00a95f956a
commit c2ef3c9c44
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3

View File

@ -228,7 +228,7 @@ Then('I get redirected to {string}', route => {
})
Then('the post was saved successfully', () => {
cy.get('.ds-card-header > .ds-heading').should('contain', lastPost.title)
cy.get('.ds-card-content > .ds-heading').should('contain', lastPost.title)
cy.get('.content').should('contain', lastPost.content)
})