From c2ef3c9c44027912326daa26b5ddbf4a74077845 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 12 Apr 2019 13:37:12 +0200 Subject: [PATCH] possible fix for cypress create post --- cypress/integration/common/steps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index 8944b7c25..9478d8d4e 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -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) })