diff --git a/tests/cypress/e2e/embed-block-figma.test.js b/tests/cypress/e2e/embed-block-figma.test.js index 04136a4..3d53cac 100644 --- a/tests/cypress/e2e/embed-block-figma.test.js +++ b/tests/cypress/e2e/embed-block-figma.test.js @@ -1,12 +1,8 @@ /* eslint-disable no-undef */ describe('Figma Embed Block', () => { - before(() => { - cy.login(); - }); - beforeEach(() => { - // Navigate to the Block Editor + cy.login(); cy.visit('/wp-admin/post-new.php'); cy.get('.block-editor-writing-flow', { timeout: 10000 }).should('exist'); // Ensure editor loads });