Skip to content

Commit e156611

Browse files
committed
limit tests to one while we get them working
1 parent f4fdc89 commit e156611

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262

6363
- name: Run UI tests
6464
run: npm run test:ui
65+
timeout-minutes: 5
6566
env:
6667
BASE_URL: https://localhost:6984
6768
BASE_PATH: /prototype/_design/prototype

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,4 @@ node_modules
142142
.DS_Store
143143
~*
144144
*.swp
145+
FieldDB

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"test:deprecated": "DEBUG=${DEBUG:-lib:user} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 nyc mocha --timeout 25000 test/routes/deprecated-spec.js",
7575
"test:fielddb": "NODE_ENV=localhost jasmine-node node_modules/fielddb/tests",
7676
"test:production": "ls config/production.js",
77-
"test:ui": "git clone https://github.com/FieldDB/FieldDB.git && cd FieldDB/test-e2e && npm install && npx playwright install firefox chromium && BASE_URL='https://localhost:6984' BASE_PATH='/prototype/_design/prototype' npm run test",
77+
"test:ui": "git clone https://github.com/FieldDB/FieldDB.git; cd FieldDB/test-e2e && npm install && npx playwright install chromium && BASE_URL=${BASE_URL:-https://localhost:6984} BASE_PATH=${BASE_PATH:-/prototypedev/_design/prototype} DEBUG=${DEBUG:-none} npm run test -- --retries=0 --project=Chromium register",
7878
"watch": "nodemon ./bin/www.js"
7979
},
8080
"license": "Apache-2.0"

0 commit comments

Comments
 (0)