Skip to content

Commit

Permalink
rollback create post test changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Jul 5, 2024
1 parent a708eaf commit 499d7dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/cypress/e2e/create-post.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ describe('Command: createPost', () => {
.find('input[type="checkbox"]')
.should('be.checked');
} else {
cy.get('.editor-post-sticky__toggle-control').should('be.visible');
cy.get(
'.editor-post-sticky__toggle-control input[type="checkbox"]'
).check();
cy.get(
'.editor-post-sticky__toggle-control input[type="checkbox"]'
).should('be.checked');
}
});
},
Expand Down

0 comments on commit 499d7dd

Please sign in to comment.