diff --git a/tests/cypress/e2e/admin.test.js b/tests/cypress/e2e/admin.test.js index c964a7a..1db2ff3 100644 --- a/tests/cypress/e2e/admin.test.js +++ b/tests/cypress/e2e/admin.test.js @@ -5,6 +5,7 @@ describe("Admin can login and open dashboard", () => { it('Create post and insert heading', () => { cy.createPost({ + content: '', beforeSave: () => { cy.insertBlock('core/heading').then(id => { cy.getBlockEditor().find(`#${id}`).click().type('This is test heading');