Page MenuHomeSoftware Heritage

Jenkins > should select correct visit type if possible when clicking on "Save again" button::Tests / Cypress tests / Run cypress tests / Origin Save Tests should select correct visit type if possible when clicking on "Save again" button
Failed

TEST RESULT

Run At
Jun 8 2022, 4:20 PM
Details
CypressError: Timed out retrying after 20050ms: `cy.click()` failed because this element is detached from the DOM. `<button class="btn btn-default btn-sm swh-save-origin-again" type="button" onclick="swh.save.fillSaveRequestFormAndScroll('git', 'https://gitlab.inria.fr/solverstack/maphys/maphys/');">...</button>` Cypress requires elements be attached in the DOM to interact with them. The previous command that ran was: > `cy.eq()` This DOM element likely became detached somewhere between the previous and current command. Common situations why this happens: - Your JS framework re-rendered asynchronously - Your app code reacted to an event firing and removed the element You typically need to re-query for the element or add 'guards' which delay Cypress from running new commands. https://on.cypress.io/element-has-detached-from-dom at $Cy.ensureAttached (http://localhost:5004/__cypress/runner/cypress_runner.js:161862:76) at runAllChecks (http://localhost:5004/__cypress/runner/cypress_runner.js:147667:12) at retryActionability (http://localhost:5004/__cypress/runner/cypress_runner.js:147747:16) at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:13012:23) at Function.Promise.attempt.Promise.try (http://localhost:5004/__cypress/runner/cypress_runner.js:10286:29) at whenStable (http://localhost:5004/__cypress/runner/cypress_runner.js:166932:65) at http://localhost:5004/__cypress/runner/cypress_runner.js:166387:14 at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:13012:23) at Promise._settlePromiseFromHandler (http://localhost:5004/__cypress/runner/cypress_runner.js:10947:31) at Promise._settlePromise (http://localhost:5004/__cypress/runner/cypress_runner.js:11004:18) at Promise._settlePromise0 (http://localhost:5004/__cypress/runner/cypress_runner.js:11049:10) at Promise._settlePromises (http://localhost:5004/__cypress/runner/cypress_runner.js:11129:18) at Promise._fulfill (http://localhost:5004/__cypress/runner/cypress_runner.js:11073:18) at http://localhost:5004/__cypress/runner/cypress_runner.js:12687:46 From Your Spec Code: at Context.eval (http://localhost:5004/__cypress/tests?p=cypress/e2e/origin-save.cy.js:527:46)