Page MenuHomeSoftware Heritage

Jenkins > should switch tabs when playing with browser history::Tests / Cypress tests / Run cypress tests / Origin Save Tests should switch tabs when playing with browser history
Failed

TEST RESULT

Run At
Mar 25 2022, 11:29 AM
Details
CypressError: Timed out retrying after 20050ms: `cy.should()` failed because this element is detached from the DOM. `<a class="nav-link " href="/save/list/" id="swh-origin-save-requests-list-tab">Browse ...</a>` Cypress requires elements be attached in the DOM to interact with them. The previous command that ran was: > `cy.get()` 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:163921:76) at applyChainers (http://localhost:5004/__cypress/runner/cypress_runner.js:155847:12) at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:13022:23) at Function.Promise.attempt.Promise.try (http://localhost:5004/__cypress/runner/cypress_runner.js:10296:29) at Context.shouldFn (http://localhost:5004/__cypress/runner/cypress_runner.js:155879:63) at Context.should (http://localhost:5004/__cypress/runner/cypress_runner.js:155898:23) at http://localhost:5004/__cypress/runner/cypress_runner.js:150897:39 at assertions (http://localhost:5004/__cypress/runner/cypress_runner.js:151258:16) at tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:13022:23) at Object.gotValue (http://localhost:5004/__cypress/runner/cypress_runner.js:12166:18) at Object.gotAccum (http://localhost:5004/__cypress/runner/cypress_runner.js:12153:25) at Object.tryCatcher (http://localhost:5004/__cypress/runner/cypress_runner.js:13022:23) at Promise._settlePromiseFromHandler (http://localhost:5004/__cypress/runner/cypress_runner.js:10957:31) at Promise._settlePromise (http://localhost:5004/__cypress/runner/cypress_runner.js:11014:18) at Promise._settlePromiseCtx (http://localhost:5004/__cypress/runner/cypress_runner.js:11051:10) at _drainQueueStep (http://localhost:5004/__cypress/runner/cypress_runner.js:7733:12) From Your Spec Code: at Context.eval (http://localhost:5004/__cypress/tests?p=cypress/integration/origin-save.spec.js:761:58)