Tests: drop karma (deprecated) in favor of web-test-runner

This commit is contained in:
larabr
2024-09-18 12:17:11 +02:00
parent e924a50c31
commit 4b017f6c67
6 changed files with 4742 additions and 1191 deletions

View File

@@ -100,12 +100,12 @@ jobs:
run: npx playwright install --with-deps webkit
- name: Run browser tests
run: npm run test-browser
run: npm run test-browser -- --static-logging
- name: Run browser tests (lightweight) # overwrite test/lib
run: |
npm run build-test --lightweight
npm run test-browser
npm run test-browser -- --static-logging
test-browsers-compatibility:
name: Browsers (older, on Browserstack)
@@ -139,12 +139,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run browserstack tests
run: npm run test-browserstack
run: npm run test-browserstack -- --static-logging
- name: Run browserstack tests (lightweight) # overwrite test/lib
run: |
npm run build-test --lightweight
npm run test-browserstack
npm run test-browserstack -- --static-logging
env:
LIGHTWEIGHT: true