Skip to content

Commit

Permalink
Fix detached element error with workaround delay
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Oct 11, 2022
1 parent 4a476d0 commit bdd03ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/tests/functional/QuickSubmit.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ describe('Quick Submit plugin tests', function() {
cy.get('a:contains("QuickSubmit Plugin")').click();
cy.get('select[id="sectionId"]').select('Articles');
cy.waitJQuery(); // Wait for form resubmission hack on section change.
cy.wait(2000); // FIXME: Detached element delay

cy.get('input[id^="title-en_US-"]').type('QuickSubmit Unpublished Test Submission', {delay: 0});
cy.get('textarea[id^="abstract-en_US-"]').then(node => {
Expand Down

0 comments on commit bdd03ac

Please sign in to comment.