diff --git a/cypress/integration/common/post.js b/cypress/integration/common/post.js index 3f5e0f3b2..04bc23a8e 100644 --- a/cypress/integration/common/post.js +++ b/cypress/integration/common/post.js @@ -119,7 +119,7 @@ Then("I add all required fields", () => { }) Then("the post was saved successfully with the {string} teaser image", condition => { - if (condition === 'change') + if (condition === 'updated') expectedValue = { title: 'to be updated', content: 'successfully updated', src: 'humanconnection' } cy.get(".ds-card-content > .ds-heading") .should("contain", expectedValue.title)