Skip to content

Commit

Permalink
Add wait for form to settle
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jan 27, 2023
1 parent ac60ef5 commit e8117dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/tests/functional/StaticPages.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('Static Pages plugin tests', function() {

// Create a static page
cy.get('a[id^="component-plugins-generic-staticpages-controllers-grid-staticpagegrid-addStaticPage-button-"]').click();
cy.waitJQuery(2000); // Wait for form to settle
cy.get('form[id="staticPageForm"] input[id^="path-"]').type('flarm');
cy.get('form[id^="staticPageForm"] input[id^="title-en_US-"]').type('Test Static Page');
cy.get('textarea[id^="content-en_US-"]').then(node => {
Expand Down

0 comments on commit e8117dc

Please sign in to comment.