Bug #58405
Updated by Nizamudeen A over 1 year ago
https://jenkins.ceph.com/job/ceph-api-nightly-main-e2e/231/consoleFull
<pre>
4 passing (6m)
1 failing
1) Mirroring page
rbd mirroring bootstrap
should generate and import the bootstrap token between clusters:
CypressError: Timed out retrying after 120050ms: `cy.click()` failed because this element is detached from the DOM.
`<label _ngcontent-cmh-c300="" class="custom-control-label" for="rbd-mirror">rbd-mirror</label>`
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 (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:168765:76)
at runAllChecks (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:154675:12)
at retryActionability (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:154755:16)
at tryCatcher (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:13022:23)
at Promise.attempt.Promise.try (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:10296:29)
at whenStable (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:173835:65)
at https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:173290:14
at tryCatcher (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:13022:23)
at Promise._settlePromiseFromHandler (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:10957:31)
at Promise._settlePromise (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:11014:18)
at Promise._settlePromise0 (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:11059:10)
at Promise._settlePromises (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:11139:18)
at Promise._fulfill (https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:11083:18)
at https://172.21.2.10:7820/__cypress/runner/cypress_runner.js:12697:46
From Your Spec Code:
at Context.eval (https://172.21.2.10:7820/__cypress/tests?p=cypress/integration/block/mirroring.e2e-spec.ts:217:21)
</pre>