Breaking changes in Cypress 10.0

Cypress version 10.0 was released last month with a lot of new features, changes, bug fixes, and deprecations.

Cypress 9.6.0 introduces cy.origin for testing multi-domain workflows

Cypress introduces cy.origin to switch between multiple superdomains in a single test from UI

Cypress 9.3.0 added .selectFile() command to select files

Cypress introduced native support for file upload and selecting files in an HTML5 input element.

Cypress 9.2.0 introduces a new environment variable 'CYPRESS_VERIFY_TIMEOUT'

Add the 'CYPRESS_VERIFY_TIMEOUT' environment variable to override the timeout duration of the verify command.

Cypress 9.2.0 will throw an error when a user attempts to update a read-only config value

Cypress will throw an error when a user attempts to update a read-only configuration value at run-time using either the Test Configuration or using Cypress.config().

Cypress 9.0.0 will throw an error on adding existing commands

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 - Adds 'slowTestThreshold' config option.

Adds slowTestThreshold config option to customize slow test threshold.

cy.pause() now pauses test while running cypress run --headed --no-exit

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 all selected options with[])

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

Cypress 8.6.0 adds overwrite option to cy.screenshot

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