The Content.cy.js system test file uses cy.wait(5000) 9 times to wait for an iframe to load before interacting with its contents. This is a Cypress anti-pattern that:
.should('not.be.empty') assertions that follow are already retryable by Cypresstests/System/integration/administrator/components/com_contenthistory/Content.cy.js
cy.wait(5000);
cy.get('iframe.iframe-content')
.its('0.contentDocument.body')
.should('not.be.empty')
.then(cy.wrap)
.find('a')
.should('contain.text', formattedDate);| Labels |
Added:
No Code Attached Yet
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-02-22 10:26:45 |
| Closed_By | ⇒ | D3S-Gaurav |
@D3S-Gaurav you don't need to open an issue if you are submitting a pull request