Skip to content

Commit

Permalink
cypress testing select value
Browse files Browse the repository at this point in the history
  • Loading branch information
tedw87 committed Aug 9, 2023
1 parent 0a0d70b commit b36174a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cypress/e2e/01-block-basics.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,13 @@ describe('Blocks Tests', () => {
cy.contains('My Add-on Page');
cy.get('.block.image');
});

it('Test Geographic Widget: Select Value', () => {
cy.get('.edit').first().click();
cy.get(
'#geo_coverage-select-listingblock-template-group .react-select__control',
).click();
cy.contains('.react-select__option', 'eea32').click();
cy.get('#toolbar-save').click();
});
});

0 comments on commit b36174a

Please sign in to comment.