? NPM Resource Changed PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
22 Oct 2022

This PR does 5 things. The first is to cache the download of the cypress binary in a local folder of the runner. Right now we are downloading the binary of cypress for each system test instance separately and verify them each time. By storing it in a caching folder on our runners, we only have to download and verify it once per runner and version and afterwards just can use those files for each build. That saves about 40 seconds per system test run, which comes down to about 3 minutes overall.

The second change is updating joomla-cypress to 0.0.16. This version changes the installation of Joomla slightly. Up till now, we were waiting for each ajax request individually and giving each a timeout of 20 seconds. For some reason, the ajax_populate1 wasn't properly caught and timed out prematurely. Now we are waiting for all ajax calls in one wait() command with a combined timeout of 2 minutes. That should fix the random issues we had with the installation in the system tests in the past.

The third change updates cypress to the latest version of 10.10.0.

The fourth change catches uncaught exceptions in cypress. These seem to be errors in the communication between cypress and the browser, but not errors in our application. The used code has been copied from the web, where the consensus was, that this would be fine...

The fifth change was a re-ordering of the steps in drone to prevent race conditions between steps with the same RDBMS (namely Postgres)

avatar Hackwar Hackwar - open - 22 Oct 2022
avatar Hackwar Hackwar - change - 22 Oct 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2022
Category Unit Tests
avatar Hackwar Hackwar - change - 22 Oct 2022
Labels Added: ? PR-4.3-dev
5669d2e 22 Oct 2022 avatar Hackwar Fix
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2022
Category Unit Tests Unit Tests NPM Change
avatar Hackwar Hackwar - change - 22 Oct 2022
Labels Added: NPM Resource Changed
avatar Hackwar Hackwar - change - 22 Oct 2022
The description was changed
avatar Hackwar Hackwar - edited - 22 Oct 2022
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2022
Category Unit Tests NPM Change Unit Tests NPM Change JavaScript
avatar Hackwar Hackwar - change - 22 Oct 2022
The description was changed
avatar Hackwar Hackwar - edited - 22 Oct 2022
avatar HLeithner HLeithner - change - 22 Oct 2022
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-10-22 11:59:41
Closed_By HLeithner
avatar HLeithner HLeithner - close - 22 Oct 2022
avatar HLeithner HLeithner - merge - 22 Oct 2022

Add a Comment

Login with GitHub to post a comment