@cypress/webpack-dev-server
6.2.0 · 14 Nov 2026MIT151.9k / weekRepositoryHomepagenpmAtom feed
In short
14 changed
Release note
Released 12/21/2020
Features:
You can now listen to
before:runandafter:runevents in the plugins file. See thebefore:runandafter:rundocs for more information. Addressed in #14238 and #14263.You can now listen to
before:specandafter:specevents in the plugins file. See thebefore:specandafter:specdocs for more information. Addressed in #9646 and #14178.The
Timed out retryingerror message now displays the amount of time Cypress retried. Addresses #5781.
Bugfixes:
Getting an alias of
cy.intercept()usingcy.get()will no longer always yieldnull. Fixes #9306.cy.intercept()will now automatically responds to CORS preflight requests (HTTPOPTIONSrequests) that match defined routes. Fixes #9599.Response errors from
forceNetworkErrorcan now be awaited usingcy.intercept()andcy.wait(). Fixes #9062.Using
cy.log()inside.then()no longer breaks the subject value in the command chain. Fixes #8084.Using
Cypress.Commands.overwriteto overwrite.then()now preserves the properthiscontext and sets aliases correctly. Fixes #5101.Using
Cypress.Commands.overwriteto overwritecy.route()orcy.intercept()and wait on its alias now properly works. Fixes #3890 and #9580.Cypress no longer fails to find specs if you set the fixtures folder to be the same as the integration folder. Fixes #14226.
Cypress no longer fails to show error code frames if the spec filename has a space in it, fixes #7553.
Misc:
scrollBehavioris now an allowed type when passed as test configuration. Addresses #9643.The
FileObjecttype for the file argument of thefile:preprocessorevent now includes theEventEmittertype. Addresses #9276.
Dependency Updates:
Upgraded
electronfrom11.0.2to11.0.3. Addressed in #9409.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.