Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Oct 29, 2024
1 parent 86ff92d commit 547adf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cypress/tests/functional/CustomBlocks.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ describe('Custom Block Manager plugin tests', function() {

// FIXME: The settings area has to be reloaded before the new block will appear.a
// This click should be unnecessary.
cy.reload();
cy.get('nav').contains('Settings').click();
// Ensure submenu item click despite animation
cy.get('nav').contains('Website').click({ force: true });
cy.get('button[id="appearance-button"]').click();
cy.get('#appearance > .pkpTabs > .pkpTabs__buttons > #appearance-setup-button').click();
cy.get('#appearance-setup span:contains("test-custom-block"):first').click();
cy.get('#appearance-setup button:contains("Save")').click();
Expand Down

0 comments on commit 547adf0

Please sign in to comment.