Fix cypress test

This commit is contained in:
mattwr18 2020-02-14 20:44:39 +01:00
parent d8d1db389a
commit 7ce40b3b37

View File

@ -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)