Skip to content

breaking: 15.0.0 Release #31408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 85 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
24e7689
chore: updating v8 snapshot cache (#31305)
github-actions[bot] Mar 17, 2025
be95849
chore: updating v8 snapshot cache (#31306)
github-actions[bot] Mar 17, 2025
d3353d7
chore: updating v8 snapshot cache (#31307)
github-actions[bot] Mar 17, 2025
a24062b
Merge branch 'develop' into release/15.0.0
jennifer-shehane Mar 28, 2025
6fb1011
breaking change commit
jennifer-shehane Mar 28, 2025
35b5131
chore: updating v8 snapshot cache (#31410)
github-actions[bot] Mar 31, 2025
4e44ccb
chore: updating v8 snapshot cache (#31411)
github-actions[bot] Mar 31, 2025
fd6a923
chore: updating v8 snapshot cache (#31412)
github-actions[bot] Mar 31, 2025
1f81595
breaking: Remove support for Node.js 18 & 23 (#31409)
jennifer-shehane Apr 1, 2025
b2240ce
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 1, 2025
707f8ee
chore: updating v8 snapshot cache (#31420)
github-actions[bot] Apr 1, 2025
f23f779
chore: updating v8 snapshot cache (#31421)
github-actions[bot] Apr 1, 2025
534324f
chore: updating v8 snapshot cache (#31422)
github-actions[bot] Apr 1, 2025
25f0fd0
breaking: remove CDP from firefox with Cypress 15 (#31200)
AtofStryker Apr 3, 2025
346e801
chore: merge develop into cypress release 15 branch (#31464)
AtofStryker Apr 8, 2025
6165b8b
chore: merge develop into release/15.0.0
AtofStryker Apr 11, 2025
646ef10
Merge pull request #31489 from cypress-io/chore/merge_15_develop
AtofStryker Apr 11, 2025
144c7ad
chore: updating v8 snapshot cache (#31493)
github-actions[bot] Apr 11, 2025
ac420ed
chore: updating v8 snapshot cache (#31494)
github-actions[bot] Apr 11, 2025
59d2e4e
chore: updating v8 snapshot cache (#31491)
github-actions[bot] Apr 11, 2025
3b5879f
Merge branch 'develop' of github.com:cypress-io/cypress into chore/me…
AtofStryker Apr 15, 2025
8cee6dc
Merge pull request #31507 from cypress-io/chore/merge_dev_15
AtofStryker Apr 15, 2025
012fbfd
chore: updating v8 snapshot cache (#31514)
github-actions[bot] Apr 15, 2025
8b2e9e5
chore: updating v8 snapshot cache (#31515)
github-actions[bot] Apr 15, 2025
570b786
chore: updating v8 snapshot cache (#31517)
github-actions[bot] Apr 15, 2025
0a51e6d
chore: cut over web extension methods to use webdriver BiDi to automa…
AtofStryker Apr 18, 2025
c33504c
chore: updating v8 snapshot cache (#31545)
github-actions[bot] Apr 18, 2025
06c373e
chore: updating v8 snapshot cache (#31544)
github-actions[bot] Apr 18, 2025
a114df9
chore: updating v8 snapshot cache (#31543)
github-actions[bot] Apr 18, 2025
057a8b9
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 18, 2025
0e1c8c1
breaking: remove support for typescript 4 (#31492)
AtofStryker Apr 18, 2025
808a7c8
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 18, 2025
0f14f69
delete firefox deprecated message
jennifer-shehane Apr 21, 2025
726244c
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 23, 2025
062b340
chore: updating v8 snapshot cache (#31571)
github-actions[bot] Apr 23, 2025
705af5a
chore: updating v8 snapshot cache (#31572)
github-actions[bot] Apr 23, 2025
59323fb
chore: updating v8 snapshot cache (#31573)
github-actions[bot] Apr 23, 2025
971b7ae
breaking: remove Angular 17 support (#31446)
AtofStryker Apr 24, 2025
890280e
chore: updating v8 snapshot cache (#31580)
github-actions[bot] Apr 25, 2025
285b71c
chore: updating v8 snapshot cache (#31579)
github-actions[bot] Apr 25, 2025
1d2a26a
chore: updating v8 snapshot cache (#31578)
github-actions[bot] Apr 25, 2025
9b3b023
feat: replace `ts-node` with `tsx` for parsing user configuration (#3…
AtofStryker Apr 29, 2025
1987f39
chore: updating v8 snapshot cache (#31602)
github-actions[bot] Apr 29, 2025
72241ce
chore: updating v8 snapshot cache (#31603)
github-actions[bot] Apr 29, 2025
d00809c
chore: updating v8 snapshot cache (#31604)
github-actions[bot] Apr 29, 2025
2fd8712
breaking: the minimum version of webpack for webpack-preprocessor and…
AtofStryker May 1, 2025
f235a75
chore: updating v8 snapshot cache (#31623)
github-actions[bot] May 1, 2025
99791cc
chore: updating v8 snapshot cache (#31624)
github-actions[bot] May 1, 2025
50c3b50
chore: updating v8 snapshot cache (#31622)
github-actions[bot] May 1, 2025
f58aabd
breaking: Remove deprecated cy.stub(obj, method, fn) signature (#31548)
jennifer-shehane May 2, 2025
a621b42
Merge branch 'develop' into release/15.0.0
jennifer-shehane May 5, 2025
44bae88
chore: updating v8 snapshot cache (#31637)
github-actions[bot] May 5, 2025
efcb728
chore: updating v8 snapshot cache (#31638)
github-actions[bot] May 5, 2025
a1450f7
chore: updating v8 snapshot cache (#31639)
github-actions[bot] May 5, 2025
8659b27
breaking: make the minimum zone/js version in @cypress/angular 0.14.0…
AtofStryker May 5, 2025
1835883
chore: updating v8 snapshot cache (#31640)
github-actions[bot] May 5, 2025
0ab6dbd
chore: updating v8 snapshot cache (#31641)
github-actions[bot] May 5, 2025
b7de30a
chore: updating v8 snapshot cache (#31642)
github-actions[bot] May 5, 2025
7423b5b
Merge branch 'develop' into release/15.0.0
jennifer-shehane May 6, 2025
b583a40
chore: updating v8 snapshot cache (#31652)
github-actions[bot] May 6, 2025
ad31215
chore: updating v8 snapshot cache (#31653)
github-actions[bot] May 6, 2025
43d97a8
chore: updating v8 snapshot cache (#31654)
github-actions[bot] May 6, 2025
86c2233
Merge branch 'develop' of github.com:cypress-io/cypress into merge_de…
AtofStryker May 7, 2025
737c46c
Merge pull request #31662 from cypress-io/merge_dev_rel_15
AtofStryker May 8, 2025
849f39c
chore: updating v8 snapshot cache (#31668)
github-actions[bot] May 8, 2025
e2e2ebd
chore: updating v8 snapshot cache (#31669)
github-actions[bot] May 8, 2025
f79d1fa
chore: updating v8 snapshot cache (#31670)
github-actions[bot] May 8, 2025
10c6656
misc: Remove migration UI, warnings, and errors for changes pre-Cypre…
jennifer-shehane May 12, 2025
3bd6eac
merge develop into 15
jennifer-shehane May 12, 2025
020747d
chore: updating v8 snapshot cache (#31692)
github-actions[bot] May 12, 2025
ad71490
chore: updating v8 snapshot cache (#31693)
github-actions[bot] May 12, 2025
98fb293
chore: updating v8 snapshot cache (#31694)
github-actions[bot] May 12, 2025
a438738
merge develop
jennifer-shehane May 14, 2025
9148604
chore: updating v8 snapshot cache (#31713)
github-actions[bot] May 14, 2025
20551d6
chore: updating v8 snapshot cache (#31714)
github-actions[bot] May 14, 2025
088c40d
chore: updating v8 snapshot cache (#31715)
github-actions[bot] May 14, 2025
74daed4
Merge branch 'develop' into release/15.0.0
jennifer-shehane May 21, 2025
92ec300
chore: updating v8 snapshot cache (#31761)
github-actions[bot] May 21, 2025
8bcfac4
chore: updating v8 snapshot cache (#31762)
github-actions[bot] May 21, 2025
0e74d2c
chore: updating v8 snapshot cache (#31764)
github-actions[bot] May 21, 2025
8b8230b
breaking: remove built-ins from `@cypress/webpack-batteries-included-…
AtofStryker May 29, 2025
6119d97
chore: updating v8 snapshot cache (#31797)
github-actions[bot] May 29, 2025
2436a3e
chore: updating v8 snapshot cache (#31798)
github-actions[bot] May 29, 2025
7551d44
chore: updating v8 snapshot cache (#31799)
github-actions[bot] May 29, 2025
f369f50
feat: allow for @cypress/webpack-batteries-included-preprocessor to f…
AtofStryker May 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/cache-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Bump this version to force CI to re-create the cache from scratch.

5-14-2025
5-21-2025
58 changes: 5 additions & 53 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mainBuildFilters: &mainBuildFilters
- /^release\/\d+\.\d+\.\d+$/
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- 'update-v8-snapshot-cache-on-develop'
- 'misc/chore/fix_sinon_chai_rewrite'
- 'feat/wbip_full_resolve_ts_config'

# usually we don't build Mac app - it takes a long time
# but sometimes we want to really confirm we are doing the right thing
Expand All @@ -49,7 +49,7 @@ macWorkflowFilters: &darwin-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'misc/throw_error_on_extension_chrome_137', << pipeline.git.branch >> ]
- equal: [ 'feat/wbip_full_resolve_ts_config', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -60,7 +60,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'misc/throw_error_on_extension_chrome_137', << pipeline.git.branch >> ]
- equal: [ 'feat/wbip_full_resolve_ts_config', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -83,7 +83,7 @@ windowsWorkflowFilters: &windows-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'misc/throw_error_on_extension_chrome_137', << pipeline.git.branch >> ]
- equal: [ 'feat/wbip_full_resolve_ts_config', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand Down Expand Up @@ -157,7 +157,7 @@ commands:
name: Set environment variable to determine whether or not to persist artifacts
command: |
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "misc/throw_error_on_extension_chrome_137" ]]; then
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "feat/wbip_full_resolve_ts_config" ]]; then
export SHOULD_PERSIST_ARTIFACTS=true
fi' >> "$BASH_ENV"
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
Expand Down Expand Up @@ -656,11 +656,6 @@ commands:
description: run subset of tests with injectDocumentDomain config enabled
type: boolean
default: false
is-firefox-cdp:
description: whether or not the group should be associated to the firefox CDP
run or not. This is determined by the browser version.
type: boolean
default: false

steps:
- restore_cached_workspace
Expand Down Expand Up @@ -701,9 +696,6 @@ commands:
if << parameters.inject-document-domain >> ; then
YARN_CMD="cypress:run:inject-document-domain"
PARALLEL="--parallel --group 5x-driver-inject-document-domain-<<parameters.browser>>"
elif << parameters.is-firefox-cdp >> ; then
YARN_CMD="cypress:run"
PARALLEL="--parallel --group 5x-driver-cdp-<<parameters.browser>>"
else
YARN_CMD="cypress:run"
PARALLEL="--parallel --group 5x-driver-<<parameters.browser>>"
Expand Down Expand Up @@ -1168,23 +1160,6 @@ commands:
CYPRESS_INSTALL_BINARY=~/cypress/cypress.zip npm install --legacy-peer-deps ~/cypress/cypress.tgz
fi
working_directory: /tmp/<<parameters.repo>>
- run:
name: Scaffold new config file
working_directory: /tmp/<<parameters.repo>>
environment:
CYPRESS_INTERNAL_FORCE_SCAFFOLD: "1"
command: |
if [[ -f cypress.json ]]; then
rm -rf cypress.json
echo 'module.exports = { e2e: {} }' > cypress.config.js
fi
- run:
name: Rename support file
working_directory: /tmp/<<parameters.repo>>
command: |
if [[ -f cypress/support/index.js ]]; then
mv cypress/support/index.js cypress/support/e2e.js
fi
- run:
name: Print Cypress version
working_directory: /tmp/<<parameters.repo>>
Expand Down Expand Up @@ -2137,18 +2112,6 @@ jobs:
- run-driver-integration-tests:
browser: firefox

# Runs the driver tests using firefox 134, which does NOT use WebDriver BiDi
# This is to test and make sure there aren't regressions with the old CDP driver
driver-integration-tests-firefox-cdp:
<<: *defaults
resource_class: medium+
parallelism: 5
steps:
- run-driver-integration-tests:
browser: firefox
firefox-version: "134.0.2"
is-firefox-cdp: true

driver-integration-tests-electron:
<<: *defaults
parallelism: 5
Expand Down Expand Up @@ -2889,7 +2852,6 @@ linux-x64-workflow: &linux-x64-workflow
- run-webpack-dev-server-integration-tests
- run-vite-dev-server-integration-tests
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-inject-document-domain
- driver-integration-tests-chrome-beta-inject-document-domain
Expand Down Expand Up @@ -2965,10 +2927,6 @@ linux-x64-workflow: &linux-x64-workflow
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-firefox-cdp:
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-electron:
context: test-runner:cypress-record-key
requires:
Expand Down Expand Up @@ -3111,7 +3069,6 @@ linux-x64-workflow: &linux-x64-workflow
- linux-lint
- percy-finalize
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-beta
- driver-integration-tests-chrome-inject-document-domain
Expand Down Expand Up @@ -3367,10 +3324,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
context: test-runner:cypress-record-key
requires:
- contributor-pr
- driver-integration-tests-firefox-cdp:
context: test-runner:cypress-record-key
requires:
- contributor-pr
- driver-integration-tests-electron:
context: test-runner:cypress-record-key
requires:
Expand Down Expand Up @@ -3512,7 +3465,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
- linux-lint
- percy-finalize
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-beta
- driver-integration-tests-electron
Expand Down
24 changes: 24 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 15.0.0

_Released 07/01/2025 (PENDING)_

**Breaking Changes:**

- Removed support for Angular 17. The minimum supported version is now `18.0.0`. Addresses [#31303](https://github.com/cypress-io/cypress/issues/31303).
- `@cypress/angular` now requires a minimum of `zone.js` `0.14.0`. Addresses [#31582](https://github.com/cypress-io/cypress/issues/31582).
- Removed support for Node.js 18 and Node.js 23. Addresses [#31302](https://github.com/cypress-io/cypress/issues/31302).
- Removed support for [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol) with the [firefox](https://www.mozilla.org/) browser. Addresses [#31189](https://github.com/cypress-io/cypress/issues/31189).
- Removed support of the deprecated 3 argument signature of `cy.stub`. Use `cy.stub(object, name).callsFake(fn)` instead. Addresses [#31346](https://github.com/cypress-io/cypress/issues/31346).
- The Cypress configuration wizard for Component Testing supports TypeScript 5.0 or greater. Addresses [#31187](https://github.com/cypress-io/cypress/issues/31187).
- `@cypress/webpack-dev-server` and `@cypress/webpack-preprocessor` no longer support `webpack` version 4. Addresses [#31344](https://github.com/cypress-io/cypress/issues/31344). If you still need to use `webpack` version 4, please see our [migration guide](https://docs.cypress.io/app/references/migration-guide#Migrating-to-Cypress-150).
- `@cypress/webpack-dev-server` no longer supports `webpack-dev-server` version 4. Addresses [#31605](https://github.com/cypress-io/cypress/issues/31605). If you still need to use `webpack-dev-server` version 4, please see our [migration guide](https://docs.cypress.io/app/references/migration-guide#Migrating-to-Cypress-150).
- The `@cypress/webpack-batteries-included-preprocessor` no longer includes browser built-ins that were automatically provided by Webpack 4. To add built-ins manually, refer to the Webpack [resolve.fallback](https://webpack.js.org/configuration/resolve/#resolvefallback) documentation and the [`@cypress/webpack-batteries-included-preprocessor` README](../npm/webpack-batteries-included-preprocessor/README.md). Addresses [#31039](https://github.com/cypress-io/cypress/issues/31039).

**Features:**

- [`tsx`](https://tsx.is/) is now used in all cases to run the Cypress config, replacing [ts-node](https://github.com/TypeStrong/ts-node) for TypeScript and Node for commonjs/ESM. This should allow for more interoperability for users who are using any variant of ES Modules. Addresses [#8090](https://github.com/cypress-io/cypress/issues/8090), [#15724](https://github.com/cypress-io/cypress/issues/15724), [#21805](https://github.com/cypress-io/cypress/issues/21805), [#22273](https://github.com/cypress-io/cypress/issues/22273), [#22747](https://github.com/cypress-io/cypress/issues/22747), [#23141](https://github.com/cypress-io/cypress/issues/23141), [#25958](https://github.com/cypress-io/cypress/issues/25958), [#25959](https://github.com/cypress-io/cypress/issues/25959), [#26606](https://github.com/cypress-io/cypress/issues/26606), [#27359](https://github.com/cypress-io/cypress/issues/27359), [#27450](https://github.com/cypress-io/cypress/issues/27450), [#28442](https://github.com/cypress-io/cypress/issues/28442), [#30318](https://github.com/cypress-io/cypress/issues/30318), [#30718](https://github.com/cypress-io/cypress/issues/30718), [#30907](https://github.com/cypress-io/cypress/issues/30907), [#30915](https://github.com/cypress-io/cypress/issues/30915), [#30925](https://github.com/cypress-io/cypress/issues/30925), [#30954](https://github.com/cypress-io/cypress/issues/30954) and [#31185](https://github.com/cypress-io/cypress/issues/31185).

**Misc:**

- Migration helpers and related errors are no longer shown when upgrading from Cypress versions earlier than 10.0.0. To migrate from a pre-10.0.0 version, upgrade one major version at a time to receive the appropriate guidance. Addresses [#31345](https://github.com/cypress-io/cypress/issues/31345). Addressed in [https://github.com/cypress-io/cypress/pull/31629/](https://github.com/cypress-io/cypress/pull/31629/).

## 14.4.1

_Released 6/3/2025 (PENDING)_
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"cypress": "bin/cypress"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
},
"types": "types",
"exports": {
Expand Down
6 changes: 0 additions & 6 deletions cli/types/cypress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2126,12 +2126,6 @@ declare namespace Cypress {
* expect(o.toString).to.have.been.calledOnce
*/
stub<T>(obj: T, method: keyof T): Agent<sinon.SinonStub>
/**
* Stubs a method on an object
*
* @deprecated Use `cy.stub(object, name).callsFake(fn)` instead
*/
stub<T>(obj: T, method: keyof T, func: (...args: any[]) => any): Agent<sinon.SinonStub>

/**
* Submit a form.
Expand Down
2 changes: 1 addition & 1 deletion cli/types/tests/plugins-config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// checking types passed to cypress/plugins/index.js file
// checking types passed through setupNodeEvents

// does nothing
const pluginConfig: Cypress.PluginConfig = (on, config) => {}
Expand Down
12 changes: 6 additions & 6 deletions guides/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Clear, consistent, errors are one of the important parts of the Cypress experien

### @packages/errors

All error related logic for the server should be added to `@packages/errors`. This logic has been separated out from the `@packages/server` to enable strict type checking & use in other packages we have added in the `10.0-release` branch.
All error related logic for the server should be added to `@packages/errors`.

### Errors Development Workflow

Expand Down Expand Up @@ -78,15 +78,15 @@ In this case, `arg1` will be highlighted in yellow when printed to the terminal.


```ts
PLUGINS_FILE_ERROR: (arg1: string, arg2: Error) => {
FAKE_ERROR: (arg1: string, arg2: Error) => {
return errTemplate`\
The plugins file is missing or invalid.
The fake file is missing or invalid.

Your \`pluginsFile\` is set to ${arg1}, but either the file is missing, it contains a syntax error, or threw an error when required. The \`pluginsFile\` must be a \`.js\`, \`.ts\`, or \`.coffee\` file.
Your \`fakeFile\` is set to ${arg1}, but either the file is missing, it contains a syntax error, or threw an error when required. The \`fakeFile\` must be a \`.js\`, \`.ts\`, or \`.coffee\` file.

Or you might have renamed the extension of your \`pluginsFile\`. If that's the case, restart the test runner.
Or you might have renamed the extension of your \`fakeFile\`. If that's the case, restart the test runner.

Please fix this, or set \`pluginsFile\` to \`false\` if a plugins file is not necessary for your project.
Please fix this, or set \`fakeFile\` to \`false\` if a plugins file is not necessary for your project.

${details(arg2)}
`
Expand Down
2 changes: 1 addition & 1 deletion npm/angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Mount Angular components in the open source [Cypress.io](https://www.cypress.io/

## Requirements

- Angular 17.2.0+ (Cypress 13 and under supports Angular 13 - 16)
- Angular 18.0.0+ (`@cypress/angular@2` supports Angular 13 - 16 and `@cypress/angular@3` supports Angular 17)

## Development

Expand Down
14 changes: 7 additions & 7 deletions npm/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
},
"dependencies": {},
"devDependencies": {
"@angular/common": "^17.2.0",
"@angular/core": "^17.2.0",
"@angular/platform-browser-dynamic": "^17.2.0",
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@cypress/mount-utils": "0.0.0-development",
"rollup": "^4.24.4",
"typescript": "~5.4.5",
"zone.js": "~0.14.6"
},
"peerDependencies": {
"@angular/common": ">=17.2",
"@angular/core": ">=17.2",
"@angular/platform-browser-dynamic": ">=17.2",
"@angular/common": ">=18.0.0",
"@angular/core": ">=18.0.0",
"@angular/platform-browser-dynamic": ">=18.0.0",
"rxjs": ">=7.5.0",
"zone.js": ">=0.13.0"
"zone.js": ">=0.14.0"
},
"files": [
"dist"
Expand Down
6 changes: 0 additions & 6 deletions npm/angular/src/mount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ export type MountResponse<T> = {
component: T
};

// 'zone.js/testing' is not properly aliasing `it.skip` but it does provide `xit`/`xspecify`
// Written up under https://github.com/angular/angular/issues/46297 but is not seeing movement
// so we'll patch here pending a fix in that library
// @ts-ignore Ignore so that way we can bypass semantic error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
globalThis.it.skip = globalThis.xit

@Injectable()
class CypressAngularErrorHandler implements ErrorHandler {
handleError (error: Error): void {
Expand Down
3 changes: 1 addition & 2 deletions npm/cypress-schematic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@

## Requirements

- Angular 17.2.0+ (Cypress 13 and under supports Angular 13 - 16)

- Angular 18.0.0+ (`@cypress/schematic@2` supports Angular 13 - 16 and `@cypress/schematic@3` supports Angular 17)
## Usage ⏯

### Adding E2E and Component Testing
Expand Down
4 changes: 2 additions & 2 deletions npm/cypress-schematic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"vitest": "2.1.4"
},
"peerDependencies": {
"@angular/cli": ">=17.2",
"@angular/core": ">=17.2"
"@angular/cli": ">=18.0.0",
"@angular/core": ">=18.0.0"
},
"license": "MIT",
"repository": {
Expand Down
16 changes: 9 additions & 7 deletions npm/grep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,16 @@ $ npx cypress run --env grepTags=@smoke,grepFilterSpecs=true
$ npx cypress run --env grepUntagged=true
```

You can use any way to modify the environment values `grep` and `grepTags`, except the run-time `Cypress.env('grep')` (because it is too late at run-time). You can set the `grep` value in the `cypress.json` file to run only tests with the substring `viewport` in their names
You can use any way to modify the environment values `grep` and `grepTags`, except the run-time `Cypress.env('grep')` (because it is too late at run-time). You can set the `grep` value in the `cypress.config.js` file to run only tests with the substring `viewport` in their names

```json
{
"env": {
"grep": "viewport"
}
}
```js
const { defineConfig } = require('cypress')

module.exports = defineConfig({
env: {
grep: "viewport"
},
})
```

You can also set the `env.grep` object in the plugin file, but remember to return the changed config object:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Mocking ES6 import', () => {

// stub property on the loaded ES6 module using cy.stub
// which will be restored after the test automatically
cy.stub(GreetingModule, 'greeting', 'test greeting')
cy.stub(GreetingModule, 'greeting').returns('test greeting')
mount(<Component />)
cy.contains('h1', 'test greeting').should('be.visible')
})
Expand Down
1 change: 1 addition & 0 deletions npm/vite-dev-server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"resolveJsonModule": true,
"target": "ES2017" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"moduleResolution": "node",
"lib": [
"es2015",
"dom"
Expand Down
Loading
Loading