Testing and development

Cypress 9.0.0 Duplicate Command Error

Adding an existing command with Cypress.commands.add() will throw an error indicating that overwrite should be used in these situations instead.

Cypress 8.7.0 slowTestThreshold Config

Adds slowTestThreshold config option to customize slow test threshold.

Cypress cy.pause() in Headed Mode

cy.pause() will not be ignored and pause a test when --headed and --no-exit flags are passed to cypress run.

Cypress 8.6.0 Unselect Options

Cypress introduced the feature to un-select all selected options by passing an empty array.

Cypress 8.6.0 Screenshot Overwrite

Cypress introduced the overwrite:true as an option to cy.screenshot() command to overwrite existing screenshots with the same file name.

Cypress version 8.5.0 adds select by index

Cypress introduced the feature to select an option by index within the .select() command.