From 4cf3372365fd1572e0c1065a0a6149102f1da252 Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Tue, 18 Oct 2022 14:20:21 -0700 Subject: [PATCH] Fix detached element error with workaround delay --- cypress/tests/functional/QuickSubmit.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/tests/functional/QuickSubmit.spec.js b/cypress/tests/functional/QuickSubmit.spec.js index 4025219..f9dc52e 100644 --- a/cypress/tests/functional/QuickSubmit.spec.js +++ b/cypress/tests/functional/QuickSubmit.spec.js @@ -15,6 +15,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 Published Test Submission', {delay: 0}); cy.get('textarea[id^="abstract-en_US-"]').then(node => {