Skip to content

Commit

Permalink
Fix Ghost tests
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
  • Loading branch information
migruiz4 committed Sep 20, 2022
1 parent 2537931 commit 5fbb037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .vib/ghost/cypress/cypress/integration/ghost_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ it('allows to create and publish a new post', () => {
cy.get('textarea[placeholder="Post title"]').type(
`${$posts.newPost.title}-${random}`
);
cy.get('article').type(`${$posts.newPost.content}-${random}`);
cy.get('div[contenteditable="true"]').type(`${$posts.newPost.content}-${random}`, {force: true});
});
// Publishing a post needs 3 steps
// Step 1: Open drop-down menu
Expand Down Expand Up @@ -53,7 +53,7 @@ it('allows to create a new page', () => {
cy.get('textarea[placeholder="Page title"]').type(
`${$pages.newPage.title}-${random}`
);
cy.get('article').type(`${$pages.newPage.content}-${random}`);
cy.get('div[contenteditable="true"]').type(`${$pages.newPage.content}-${random}`, {force: true});
});
// Publishing a page needs 3 steps
// Step 1: Open drop down-menu
Expand Down

0 comments on commit 5fbb037

Please sign in to comment.