You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With [LTS ending](https://angular.dev/reference/releases#actively-supported-versions) for Angular 17, the minimum required Angular version for component testing is now `18.0.0`.
26
+
27
+
#### To continue using Angular below 18.0.0
28
+
29
+
If you haven't been able to migrate away from an older Angular version and still need that test harness, it can be installed independently via the [`@cypress/angular`](https://www.npmjs.com/package/@cypress/angular)`3.x.x` package from `npm`.
30
+
31
+
Note that this test harness version is deprecated and no longer supported by Cypress. This version is intended to serve as a temporary workaround to migrate your project to Angular v18.0.0+.
32
+
33
+
```sh
34
+
npm install --save-dev @cypress/angular@3
35
+
```
36
+
37
+
Inside your support file (ex: `./cypress/support/component.(js|ts)`), or wherever your mount function is imported, make the following update to add `@`.
38
+
39
+
<Badgetype="danger">Before</Badge>{''}
40
+
41
+
```ts
42
+
import { mount } from`cypress/angular`
43
+
```
44
+
45
+
<Badgetype="success">After</Badge>
46
+
47
+
```ts
48
+
import { mount } from`@cypress/angular`
49
+
```
50
+
11
51
## Migrating to Cypress 14.0
12
52
13
53
This guide details the code changes needed to migrate to Cypress
0 commit comments