Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
cy: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Nov 16, 2021
1 parent 5c8d3c1 commit 0b48880
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/integration/block-basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ describe('Blocks Tests', () => {
// Add block
cy.get('.ui.basic.icon.button.block-add-button').first().click();
//cy.get('.blocks-chooser .title').contains('Common Blocks').click();
cy.get('.content.active.media .button.image').contains('Image').click();
cy.get('.content.active.common_blocks .button.image')
.contains('Image')
.click();

// Save
cy.get('#toolbar-save').click();
cy.url().should('eq', Cypress.config().baseUrl + '/cypress/my-page');

// then the page view should contain our changes
cy.contains('My Add-on Page');
cy.contains('My Page');
cy.get('.block.image');
});
});

0 comments on commit 0b48880

Please sign in to comment.