File tree 3 files changed +20
-2
lines changed
3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1
- node_modules
1
+ node_modules
2
+ videos
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1"
7
+ "test" : " cypress open --e2e --browser=chrome" ,
8
+ "test:run" : " cypress run"
8
9
},
9
10
"keywords" : [],
10
11
"author" : " " ,
Original file line number Diff line number Diff line change
1
+ # Cypress Postgres Demo
2
+
3
+ This is my Demo project where you can try out how to connect Cypress with a Postgres Database.
4
+
5
+ Inside the project I also included a DockerFile and a Docker Compose file
6
+
7
+ If you want to run the Database just run the command:
8
+
9
+ ``` bash
10
+ docker compose up
11
+ ```
12
+
13
+ This will start the Postgres on your localhost:5432 and the example cypress test will connect to it.
14
+
15
+ To start testing just run npm test or npm run test: run for headless mode.
16
+
You can’t perform that action at this time.
0 commit comments