A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Run jest tests in ci & upload coverage
shamoon37e928d8696e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex e8c9bb533..fe06fe25e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -202,10 +202,20 @@ jobs:name: Linting checksrun: cd src-ui && npm run lint-- name: Run Playwright tests+ name: Run Jest unit tests+ run: cd src-ui && npm run test+ -+ name: Upload Jest coverage+ if: always()+ uses: actions/upload-artifact@v3+ with:+ name: jest-coverage-report+ path: src-ui/coverage+ -+ name: Run Playwright e2e testsrun: cd src-ui && npx playwright test-- name: Upload test results+ name: Upload Playwright test resultsif: always()uses: actions/upload-artifact@v3with:diff --git a/src-ui/package-lock.json b/src-ui/package-lock.jsonindex 71d98cc15..7134bd48d 100644--- a/src-ui/package-lock.json+++ b/src-ui/package-lock.json@@ -43,7 +43,7 @@"@angular-eslint/template-parser": "15.2.1","@angular/cli": "~15.2.7","@angular/compiler-cli": "~15.2.8",- "@playwright/test": "^1.34.3",+ "@playwright/test": "^1.35.1","@types/jest": "^29.5.0","@types/node": "^20.2.5","@typescript-eslint/eslint-plugin": "^5.59.8",@@ -4229,19 +4229,19 @@}},"node_modules/@playwright/test": {- "version": "1.34.3",- "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.34.3.tgz",- "integrity": "sha512-zPLef6w9P6T/iT6XDYG3mvGOqOyb6eHaV9XtkunYs0+OzxBtrPAAaHotc0X+PJ00WPPnLfFBTl7mf45Mn8DBmw==",+ "version": "1.35.1",+ "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.1.tgz",+ "integrity": "sha512-b5YoFe6J9exsMYg0pQAobNDR85T1nLumUYgUTtKm4d21iX2L7WqKq9dW8NGJ+2vX0etZd+Y7UeuqsxDXm9+5ZA==","dev": true,"dependencies": {"@types/node": "*",- "playwright-core": "1.34.3"+ "playwright-core": "1.35.1"},"bin": {"playwright": "cli.js"},"engines": {- "node": ">=14"+ "node": ">=16"},"optionalDependencies": {"fsevents": "2.3.2"@@ -14615,15 +14615,15 @@}},"node_modules/playwright-core": {- "version": "1.34.3",- "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.34.3.tgz",- "integrity": "sha512-2pWd6G7OHKemc5x1r1rp8aQcpvDh7goMBZlJv6Co5vCNLVcQJdhxRL09SGaY6HcyHH9aT4tiynZabMofVasBYw==",+ "version": "1.35.1",+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.1.tgz",+ "integrity": "sha512-pNXb6CQ7OqmGDRspEjlxE49w+4YtR6a3X6mT1hZXeJHWmsEz7SunmvZeiG/+y1yyMZdHnnn73WKYdtV1er0Xyg==","dev": true,"bin": {"playwright-core": "cli.js"},"engines": {- "node": ">=14"+ "node": ">=16"}},"node_modules/postcss": {diff --git a/src-ui/package.json b/src-ui/package.jsonindex 0da23eb5c..e1ffc6c33 100644--- a/src-ui/package.json+++ b/src-ui/package.json@@ -45,7 +45,7 @@"@angular-eslint/template-parser": "15.2.1","@angular/cli": "~15.2.7","@angular/compiler-cli": "~15.2.8",- "@playwright/test": "^1.34.3",+ "@playwright/test": "^1.35.1","@types/jest": "^29.5.0","@types/node": "^20.2.5","@typescript-eslint/eslint-plugin": "^5.59.8",