File tree Expand file tree Collapse file tree 3 files changed +36
-8
lines changed
Expand file tree Collapse file tree 3 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 1+ name : Run Tests
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Check out code
17+ uses : actions/checkout@v2
18+
19+ - name : Set up Node.js
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : ' 22'
23+
24+ - name : Install dependencies
25+ run : npm install
26+
27+ - name : Run unit tests
28+ run : npm run test
Original file line number Diff line number Diff line change 1- DB_USERNAME = your_username
2- DB_PASSWORD = your_password
3- DB_NAME = your_db_name
4- DB_HOST = your_host
5- DB_PORT = your_port
6- NEXT_PUBLIC_API_URL = http://your_ip :8000/api
7- FRONT_URL = http://your_ip :3000
1+ DB_USERNAME = postgres
2+ DB_PASSWORD = postgres
3+ DB_NAME = sisinfoDB
4+ DB_HOST = localhost
5+ DB_PORT = 5432
6+ NEXT_PUBLIC_API_URL = http://localhost :8000/api
7+ FRONT_URL = http://localhost :3000
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export class CustomWorld extends World {
1111 }
1212
1313 async init ( ) {
14- this . browser = await chromium . launch ( { headless : false } ) ;
14+ this . browser = await chromium . launch ( { headless : true } ) ;
1515 this . context = await this . browser . newContext ( ) ;
1616 this . page = await this . context . newPage ( ) ;
1717 }
You can’t perform that action at this time.
0 commit comments