mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix cypress test
This commit is contained in:
parent
d8d1db389a
commit
7ce40b3b37
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user