File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ The main goal of this experiment is to share with the community how `Cypress Stu
26
26
27
27
### Prerequisites
28
28
29
- * npm
29
+ * yarn
30
30
``` sh
31
- npm install npm@latest -g
31
+ npm install --global yarn
32
32
```
33
33
34
34
### How to run cypress tests
@@ -40,19 +40,18 @@ The main goal of this experiment is to share with the community how `Cypress Stu
40
40
3 . Install NPM packages under ` cypress-studio ` folder
41
41
``` sh
42
42
cd cypress-studio
43
- npm install
43
+ yarn
44
44
```
45
45
4 . You can run cypress tests in two ways:
46
46
47
- * Headless
48
-
47
+ * Headless mode
49
48
``` javascript
50
- . / node_modules / . bin / cypress run
49
+ npx cypress run
51
50
```
52
51
or
53
52
* Open Cypress Test Runner
54
53
``` javascript
55
- . / node_modules / . bin / cypress open
54
+ npx cypress open
56
55
```
57
56
58
57
<p align =" right " >(<a href =" #top " >back to top</a >)</p >
You can’t perform that action at this time.
0 commit comments