HomeSoftware Heritage

cypress: Override type command to remove key press delay

Description

cypress: Override type command to remove key press delay

Cypress use a default key press delay of 10ms which significantly
slow downs e2e tests when typing a long string in an input element.

So override the type command to remove that delay.

Locally, overall cypress tests execution is reduced by one minute
(from 6m36 to 5m37).

Details

Provenance
anlambertAuthored on Jun 16 2022, 1:52 PM
anlambertPushed on Jun 16 2022, 2:28 PM
Differential Revision
D7997: cypress: Override type command to remove key press delay
Parents
rDWAPPSf8c7ca101e6a: cypress/persistent-identifiers: Workaround tests hang issue
Branches
Unknown
Tags
Unknown
Build Status
Buildable 29907
Build 46750: test-and-buildJenkins console · Jenkins