mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 15:51:06 +00:00
Add some debugging to the playwright script + add a timeout for the playwright ci (#1400)
This commit is contained in:
parent
513b9dc93d
commit
ce04b3337c
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -46,5 +46,7 @@ jobs:
|
|||||||
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '18'
|
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '18'
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
- run: npm run test -- --testPathIgnorePatterns ".*playwright.*"
|
- run: npm run test -- --testPathIgnorePatterns ".*playwright.*"
|
||||||
- if: matrix.platform != 'ubuntu-latest' # Doesn't work on non-GUI ubuntu
|
- name: Playwright tests
|
||||||
|
if: matrix.platform != 'ubuntu-latest' # Doesn't work on non-GUI ubuntu
|
||||||
run: npm run test:playwright
|
run: npm run test:playwright
|
||||||
|
timeout-minutes: 5
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
"relock": "rm -rf ./node_modules/ ./app/node_modules/ ./npm-shrinkwrap.json ./app/npm-shrinkwrap.json && npm install --ignore-scripts --package-lock && mv package-lock.json npm-shrinkwrap.json && npm out; cd app && npm install --ignore-scripts --package-lock && mv package-lock.json npm-shrinkwrap.json && npm out",
|
"relock": "rm -rf ./node_modules/ ./app/node_modules/ ./npm-shrinkwrap.json ./app/npm-shrinkwrap.json && npm install --ignore-scripts --package-lock && mv package-lock.json npm-shrinkwrap.json && npm out; cd app && npm install --ignore-scripts --package-lock && mv package-lock.json npm-shrinkwrap.json && npm out",
|
||||||
"test:integration": "jest --testRegex '.*integration-test.js'",
|
"test:integration": "jest --testRegex '.*integration-test.js'",
|
||||||
"test:manual": "npm run build && bash .github/manual-test",
|
"test:manual": "npm run build && bash .github/manual-test",
|
||||||
"test:playwright": "jest --testRegex '.*playwright-test.js'",
|
"test:playwright": "jest --detectOpenHandles --testRegex '.*playwright-test.js'",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
"test:watch": "echo 'Remember to run npm run build:watch for the test watcher to work!' && jest --watchAll --collectCoverage=false",
|
"test:watch": "echo 'Remember to run npm run build:watch for the test watcher to work!' && jest --watchAll --collectCoverage=false",
|
||||||
"test:withlog": "LOGLEVEL=trace npm run test",
|
"test:withlog": "LOGLEVEL=trace npm run test",
|
||||||
|
Loading…
Reference in New Issue
Block a user