File tree Expand file tree Collapse file tree 6 files changed +1359
-1
lines changed Expand file tree Collapse file tree 6 files changed +1359
-1
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,13 @@ workflows:
83
83
cypress-cache-key : cypress-cache{{ arch }}-{{ checksum "examples/yarn-install/package.json" }}
84
84
post-install : " npx cypress install"
85
85
package-manager : " yarn"
86
+ - cypress/run :
87
+ filters : *filters
88
+ name : Pnpm Example
89
+ working-directory : examples/pnpm-install
90
+ cypress-cache-key : cypress-cache{{ arch }}-{{ checksum "examples/pnpm-install/package.json" }}
91
+ post-install : " pnpm dlx cypress install"
92
+ package-manager : " pnpm"
86
93
- cypress/run :
87
94
filters : *filters
88
95
name : Custom Install Example
@@ -143,6 +150,7 @@ workflows:
143
150
- Standard Npm Example
144
151
- Custom Node Version Example
145
152
- Yarn Example
153
+ - Pnpm Example
146
154
- Custom Install Example
147
155
- Wait On Example
148
156
- Angular Application
Original file line number Diff line number Diff line change
1
+ const { defineConfig } = require ( 'cypress' )
2
+
3
+ module . exports = defineConfig ( {
4
+ fixturesFolder : false ,
5
+ e2e : {
6
+ supportFile : false ,
7
+ video : false
8
+ } ,
9
+ } )
Original file line number Diff line number Diff line change
1
+ it ( 'works' , ( ) => {
2
+ expect ( 42 ) . to . equal ( 21 + 21 )
3
+ cy . visit ( 'https://example.cypress.io' ) . then ( ( ) => {
4
+ expect ( 'hello' ) . to . equal ( 'hello' )
5
+ } )
6
+ } )
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " pnpm-install-project" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " basic example how to run Cypress tests with pnpm" ,
5
+ "scripts" : {
6
+ "test" : " cypress run"
7
+ },
8
+ "author" : " " ,
9
+ "private" : true ,
10
+ "devDependencies" : {
11
+ "cypress" : " ^13.13.0"
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments