From ee06a69b853580ef53c1be0cc063c9286af2b42a Mon Sep 17 00:00:00 2001 From: jeffpaul <2818133+jeffpaul@users.noreply.github.com> Date: Thu, 29 Oct 2026 19:27:52 +0000 Subject: [PATCH] Fix Cypress post creation on WP trunk Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- tests/cypress/e2e/admin.test.js | 1 + 1 file changed, 1 insertion(+) 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');