No Code Attached Yet
avatar D3S-Gaurav
D3S-Gaurav
20 Feb 2026

Steps to reproduce the issue

  1. Run the system test suite in CI or locally with a slow/variable network connection.
  2. The test "can install and uninstall a component from URL tab" in tests/System/integration/administrator/components/com_installer/FromUrl.cy.js downloads a real extension ZIP from a live GitHub URL: https://github.com/joomla-extensions/patchtester/releases/download/4.4.0/com_patchtester_4.4.0.zip
  3. After clicking the "Check & Install" button, the test asserts success using cy.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.

Expected result

The test should reliably pass regardless of network latency by using an explicit timeout that accounts for the download and installation time.

Actual result

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.

System information (as much as possible)

  • Joomla Branch: 5.4-dev
  • File: tests/System/integration/administrator/components/com_installer/FromUrl.cy.js, line 18
  • Test Runner: Cypress
  • CI Environment: GitHub Actions (Ubuntu, joomlaprojects/docker-images:cypress*)

Additional comments

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 });
avatar D3S-Gaurav D3S-Gaurav - open - 20 Feb 2026
avatar joomla-cms-bot joomla-cms-bot - change - 20 Feb 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Feb 2026
avatar D3S-Gaurav D3S-Gaurav - change - 22 Feb 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-02-22 10:27:00
Closed_By D3S-Gaurav
avatar D3S-Gaurav D3S-Gaurav - close - 22 Feb 2026

Add a Comment

Login with GitHub to post a comment