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
{{ message }}
Repository navigation
Commit 8457318
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/codingcatdev/src/routes/(content-single)/(non-course)/post/angular-17-cypress-testing/+page.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,35 +45,20 @@ To get started with Cypress component testing, you will need to install Cypress
45
45
46
46
```sh
47
47
npm install cypress -D
48
-
npm install @cypress/angular
49
48
```
50
49
51
-
Once Cypress is installed, you can create a new test file. For example, you could create a file called `stepper.component.spec.ts`. This file will contain the tests for your stepper component.
50
+
Once Cypress is installed, you can create a new test file. For example, you could create a file called `stepper.component.cy.ts`. This file will contain the tests for your stepper component.
52
51
53
52
**Writing your first Angular component test**
54
53
55
54
The following code snippet shows how to write a simple test for a stepper component:
0 commit comments