https://github.com/joomla-extensions/patchtester/releases/download/4.4.0/com_patchtester_4.4.0.zipcy.contains('Installation of the component was successful.'); which uses Cypress's default timeout (~4 seconds). This is insufficient for downloading and installing an extension from an external URL.The test should reliably pass regardless of network latency by using an explicit timeout that accounts for the download and installation time.
The test intermittently fails with a timeout error: AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Installation of the component was successful.' This makes the system test suite flaky and unreliable in CI.
Proposed fix: Add an explicit timeout to the cy.contains() assertion to allow enough time for the network download and extension installation:
cy.contains('Installation of the component was successful.', { timeout: 30000 });| Labels |
Added:
No Code Attached Yet
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-02-22 10:27:00 |
| Closed_By | ⇒ | D3S-Gaurav |