From b3c9d2ee69803dab1c24b92bc1dd208d977c4555 Mon Sep 17 00:00:00 2001 From: faisal-alvi Date: Mon, 4 Dec 2023 15:25:52 +0530 Subject: [PATCH] revert the selector to be core heading block --- tests/cypress/integration/pmk-block-patterns.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cypress/integration/pmk-block-patterns.test.js b/tests/cypress/integration/pmk-block-patterns.test.js index c2414d0..8c475f0 100644 --- a/tests/cypress/integration/pmk-block-patterns.test.js +++ b/tests/cypress/integration/pmk-block-patterns.test.js @@ -19,6 +19,6 @@ describe('Check if Media Kit Block Pattern is available for use', () => { cy.get('[aria-label="Publisher Media Kit - Cover"]').click(); cy.get('.edit-post-header-toolbar__inserter-toggle').click(); - cy.get('.edit-post-visual-editor__post-title-wrapper .editor-post-title').should('contain.text', 'Media Kit'); + cy.get('[data-type="core/heading"]').should('contain.text', 'Media Kit'); }); });