plum-e2e 2.6.9 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +17 -2
- package/LICENSE +21 -677
- package/README.md +1 -1
- package/backend/Dockerfile +1 -13
- package/backend/app.js +4 -14
- package/backend/config/scripts/create-step.mjs +1 -13
- package/backend/config/scripts/create-test.mjs +1 -13
- package/backend/config/scripts/generate-report.js +5 -15
- package/backend/config/scripts/run-tests.js +5 -16
- package/backend/constants/defaults.js +8 -0
- package/backend/constants/env.js +16 -0
- package/backend/constants/jobStatus.js +21 -0
- package/backend/constants/socketEvents.js +40 -0
- package/backend/constants/triggers.js +6 -14
- package/backend/entrypoint.sh +1 -13
- package/backend/lib/authHeader.js +16 -0
- package/backend/lib/globalRegistry.js +1 -13
- package/backend/lib/nodeRegister.js +1 -13
- package/backend/lib/reportFilename.js +1 -13
- package/backend/lib/retryRunner.js +1 -13
- package/backend/lib/runnerProcess.js +5 -16
- package/backend/lib/screenshotPoller.js +1 -13
- package/backend/lib/serverBootstrap.js +189 -0
- package/backend/lib/serverConfig.js +1 -13
- package/backend/lib/testChunker.js +1 -13
- package/backend/lib/testEnv.js +1 -13
- package/backend/mcp/server.js +5 -15
- package/backend/middleware/auth.js +4 -14
- package/backend/middleware/jwtAuth.js +5 -16
- package/backend/middleware/requireAdmin.js +1 -13
- package/backend/package.json +3 -3
- package/backend/playwright.config.js +1 -13
- package/backend/routes/active-runs.routes.js +18 -0
- package/backend/routes/auth.routes.js +1 -13
- package/backend/routes/backup.routes.js +10 -21
- package/backend/routes/cron.routes.js +1 -13
- package/backend/routes/node.routes.js +11 -148
- package/backend/routes/reports.routes.js +1 -13
- package/backend/routes/runners.routes.js +11 -21
- package/backend/routes/settings.routes.js +6 -17
- package/backend/routes/test-cases.routes.js +1 -13
- package/backend/routes/test-runs.routes.js +1 -13
- package/backend/routes/test-suites.routes.js +1 -13
- package/backend/routes/tests.routes.js +1 -13
- package/backend/routes/trigger.routes.js +23 -165
- package/backend/routes/users.routes.js +1 -13
- package/backend/scripts/manage-runners.mjs +1 -13
- package/backend/server.js +34 -151
- package/backend/services/activeRunsService.js +55 -0
- package/backend/services/backupCronService.js +1 -13
- package/backend/services/backupService.js +7 -17
- package/backend/services/cronService.js +57 -39
- package/backend/services/envService.js +1 -13
- package/backend/services/nodeExecutionService.js +140 -0
- package/backend/services/notificationService.js +7 -17
- package/backend/services/prisma.js +1 -13
- package/backend/services/reportService.js +21 -17
- package/backend/services/runnerService.js +46 -27
- package/backend/services/settingsService.js +19 -19
- package/backend/services/testCaseService.js +1 -13
- package/backend/services/testRunService.js +1 -13
- package/backend/services/testService.js +1 -13
- package/backend/services/testSuiteService.js +1 -13
- package/backend/services/triggerService.js +246 -0
- package/backend/services/userService.js +1 -13
- package/backend/websockets/socketHandler.js +99 -48
- package/bin/plum.js +1 -13
- package/bin/postinstall.js +1 -13
- package/bin/scaffold-tests.js +1 -13
- package/docker-compose.node.yml +1 -13
- package/docker-compose.yml +1 -13
- package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +3 -3
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/BackLink.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/Badge.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +2 -24
- package/frontend/.svelte-kit/adapter-node/chunks/Modal.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/Toast.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/attributes.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/auth.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/auth2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/client.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/common.js +9 -29
- package/frontend/.svelte-kit/adapter-node/chunks/constants.js +4 -23
- package/frontend/.svelte-kit/adapter-node/chunks/escaping.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/exports.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/format.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/index-server.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/index.js +4 -26
- package/frontend/.svelte-kit/adapter-node/chunks/index2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/internal.js +1 -23
- package/frontend/.svelte-kit/adapter-node/chunks/reports.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/reports2.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/repository.js +10 -34
- package/frontend/.svelte-kit/adapter-node/chunks/runner.js +2 -25
- package/frontend/.svelte-kit/adapter-node/chunks/stores.js +0 -22
- package/frontend/.svelte-kit/adapter-node/chunks/theme.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +0 -22
- package/frontend/.svelte-kit/adapter-node/entries/pages/_page.svelte.js +114 -103
- package/frontend/.svelte-kit/adapter-node/entries/pages/login/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/live/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +2 -24
- package/frontend/.svelte-kit/adapter-node/entries/pages/setup/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/adapter-node/index.js +0 -22
- package/frontend/.svelte-kit/adapter-node/internal.js +0 -22
- package/frontend/.svelte-kit/adapter-node/manifest-full.js +1 -23
- package/frontend/.svelte-kit/adapter-node/manifest.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/0.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/1.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/10.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/11.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/12.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/2.js +2 -24
- package/frontend/.svelte-kit/adapter-node/nodes/3.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/4.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/5.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/6.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/7.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/8.js +1 -23
- package/frontend/.svelte-kit/adapter-node/nodes/9.js +1 -23
- package/frontend/.svelte-kit/ambient.d.ts +2 -22
- package/frontend/.svelte-kit/generated/client/app.js +0 -22
- package/frontend/.svelte-kit/generated/client/matchers.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/0.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/1.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/10.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/11.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/12.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/2.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/3.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/4.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/5.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/6.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/7.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/8.js +0 -22
- package/frontend/.svelte-kit/generated/client/nodes/9.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/app.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/matchers.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/0.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/1.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/10.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/11.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/12.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/2.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/3.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/4.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/5.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/6.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/7.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/8.js +0 -22
- package/frontend/.svelte-kit/generated/client-optimized/nodes/9.js +0 -22
- package/frontend/.svelte-kit/generated/root.js +0 -22
- package/frontend/.svelte-kit/generated/root.svelte +0 -22
- package/frontend/.svelte-kit/generated/server/internal.js +1 -23
- package/frontend/.svelte-kit/non-ambient.d.ts +0 -22
- package/frontend/.svelte-kit/output/client/.vite/manifest.json +225 -224
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.BhSG-jZH.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.CdaQUS6U.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/11.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.DFV9OgAu.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/7.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/9._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Modal.BZpm0HP8.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/2zMvi6fR.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{D2cvzNT9.js → 3InFPLvE.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAACMRH5.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BAMUGSh7.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BKuh57WU.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DkNBSlo2.js → BUwxRmHf.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Bfc47y5P.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DYlaQsvN.js → BmZ9upwL.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1Vid6wz.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C8OURRSs.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CGeZlCaI.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CKDtmZUQ.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{BjUpWNbl.js → CMEtqUfQ.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CNdcuGR0.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CUC98kMZ.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CgnwuKKO.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{B98sHkeB.js → Co3xKhEp.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CuqnZUex.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DlNYZJ7K.js → CzlPaHY9.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DCgHuuvs.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DHM6H-es.js +2 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{3IV-uqHa.js → DMZwI8Cj.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DMyTUV-Y.js +3 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{D2gYTmAA.js → DSLBMEpr.js} +1 -23
- package/frontend/{build/client/_app/immutable/chunks/DDblTLLE.js → .svelte-kit/output/client/_app/immutable/chunks/DbgD7JLa.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dlnxgs49.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/TOCyHP97.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/nURnIknV.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/t-La0hgu.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/w0D4Uzlq.js +0 -22
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/{app.BCWbw5zZ.js → app.BkBD0hgA.js} +2 -24
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/start.BxeX1Uxs.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.ChjDHxSJ.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.DBSWa36f.js +1 -0
- package/frontend/{build/client/_app/immutable/nodes/10.Bn4Ma-MU.js → .svelte-kit/output/client/_app/immutable/nodes/10.DEbnxfND.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/11.BacEu7sW.js → .svelte-kit/output/client/_app/immutable/nodes/11.O4cjXCg4.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.BWQdeRdX.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.BnHalSCi.js +1 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{3.DHx0kho3.js → 3._S1vrLVF.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{4.CnaMiirx.js → 4.D-YT_JJe.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/5.B6m-zTVe.js → .svelte-kit/output/client/_app/immutable/nodes/5.BiFBiWcW.js} +1 -23
- package/frontend/{build/client/_app/immutable/nodes/6.BPDag1zv.js → .svelte-kit/output/client/_app/immutable/nodes/6.BNS-W0R_.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{7.D7LwxSvT.js → 7.C-pKvVZy.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{8.CCkNX20G.js → 8.BEUdazrw.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{9.HDerA6JV.js → 9.CrLHYPEJ.js} +1 -23
- package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
- package/frontend/.svelte-kit/output/server/.vite/manifest.json +3 -3
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/.svelte-kit/output/server/chunks/BackLink.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/Badge.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +2 -24
- package/frontend/.svelte-kit/output/server/chunks/Modal.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/Toast.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/attributes.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/auth.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/auth2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/client.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/common.js +9 -29
- package/frontend/.svelte-kit/output/server/chunks/constants.js +4 -23
- package/frontend/.svelte-kit/output/server/chunks/escaping.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/exports.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/format.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/index-server.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/index.js +4 -26
- package/frontend/.svelte-kit/output/server/chunks/index2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/internal.js +1 -23
- package/frontend/.svelte-kit/output/server/chunks/reports.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/reports2.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/repository.js +10 -34
- package/frontend/.svelte-kit/output/server/chunks/runner.js +2 -25
- package/frontend/.svelte-kit/output/server/chunks/stores.js +0 -22
- package/frontend/.svelte-kit/output/server/chunks/theme.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/fallbacks/error.svelte.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_layout.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_layout.svelte.js +0 -22
- package/frontend/.svelte-kit/output/server/entries/pages/_page.svelte.js +114 -103
- package/frontend/.svelte-kit/output/server/entries/pages/login/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/reports/live/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +2 -24
- package/frontend/.svelte-kit/output/server/entries/pages/setup/_page.svelte.js +1 -23
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +3 -25
- package/frontend/.svelte-kit/output/server/index.js +0 -22
- package/frontend/.svelte-kit/output/server/internal.js +0 -22
- package/frontend/.svelte-kit/output/server/manifest-full.js +1 -23
- package/frontend/.svelte-kit/output/server/manifest.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/0.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/1.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/10.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/11.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/12.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/2.js +2 -24
- package/frontend/.svelte-kit/output/server/nodes/3.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/4.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/5.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/6.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/7.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/8.js +1 -23
- package/frontend/.svelte-kit/output/server/nodes/9.js +1 -23
- package/frontend/Dockerfile +1 -13
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css +0 -22
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.BhSG-jZH.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css +0 -22
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css +0 -22
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/11.BWAH0Beh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css +0 -22
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css +1 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/2.DvMkmYA-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css +0 -22
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/3.BR3wgXcZ.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css +0 -22
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/4.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css +0 -22
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/5.DFV9OgAu.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css +0 -22
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css +0 -22
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/7.CBHi6pzT.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css +0 -22
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css +0 -22
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/9._h2o67kg.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css +0 -22
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/BackLink.CvWWuO3h.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Badge.D1SV0Gv7.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css +0 -22
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/ConfirmModal.Dd3uP-Sk.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css +0 -22
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/EmptyState.DUDM4P19.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BZpm0HP8.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Modal.BuaCfdLj.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Pagination.DZmi2Po-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css +0 -22
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Toast.DENwYn3g.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.BuhMvMUj.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.0Eln51hV.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BR3wgXcZ.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BWAH0Beh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BZfe6nWe.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Bj_a_5lv.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgOqeMo.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CBHi6pzT.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CFnbmY-D.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css +1 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DvMkmYA-.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css +0 -22
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page._h2o67kg.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/2zMvi6fR.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{D2cvzNT9.js → 3InFPLvE.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3InFPLvE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAACMRH5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAMUGSh7.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BKuh57WU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DkNBSlo2.js → BUwxRmHf.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BUwxRmHf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Bfc47y5P.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DYlaQsvN.js → BmZ9upwL.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BmZ9upwL.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1Vid6wz.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8OURRSs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CGeZlCaI.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CKDtmZUQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMBQQ9RZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{BjUpWNbl.js → CMEtqUfQ.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CMEtqUfQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNdcuGR0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUC98kMZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CgnwuKKO.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{B98sHkeB.js → Co3xKhEp.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Co3xKhEp.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.br +1 -21
- package/frontend/build/client/_app/immutable/chunks/CuqnZUex.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DlNYZJ7K.js → CzlPaHY9.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CzlPaHY9.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DCgHuuvs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js +2 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DHM6H-es.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{3IV-uqHa.js → DMZwI8Cj.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMZwI8Cj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js +3 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DMyTUV-Y.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{D2gYTmAA.js → DSLBMEpr.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DSLBMEpr.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/DDblTLLE.js → build/client/_app/immutable/chunks/DbgD7JLa.js} +1 -23
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DbgD7JLa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dlnxgs49.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/TOCyHP97.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js +1 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/nURnIknV.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/t-La0hgu.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js +0 -22
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/w0D4Uzlq.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/{app.BCWbw5zZ.js → app.BkBD0hgA.js} +2 -24
- package/frontend/build/client/_app/immutable/entry/app.BkBD0hgA.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BkBD0hgA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js +1 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js.br +2 -0
- package/frontend/build/client/_app/immutable/entry/start.BxeX1Uxs.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.ChjDHxSJ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.DBSWa36f.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/10.Bn4Ma-MU.js → build/client/_app/immutable/nodes/10.DEbnxfND.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.DEbnxfND.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/11.BacEu7sW.js → build/client/_app/immutable/nodes/11.O4cjXCg4.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/11.O4cjXCg4.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.O4cjXCg4.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.BWQdeRdX.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js +1 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.BnHalSCi.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{3.DHx0kho3.js → 3._S1vrLVF.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/3._S1vrLVF.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3._S1vrLVF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{4.CnaMiirx.js → 4.D-YT_JJe.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.D-YT_JJe.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/5.B6m-zTVe.js → build/client/_app/immutable/nodes/5.BiFBiWcW.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/5.BiFBiWcW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.BiFBiWcW.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/nodes/6.BPDag1zv.js → build/client/_app/immutable/nodes/6.BNS-W0R_.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/6.BNS-W0R_.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BNS-W0R_.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{7.D7LwxSvT.js → 7.C-pKvVZy.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.C-pKvVZy.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{8.CCkNX20G.js → 8.BEUdazrw.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/8.BEUdazrw.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.BEUdazrw.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{9.HDerA6JV.js → 9.CrLHYPEJ.js} +1 -23
- package/frontend/build/client/_app/immutable/nodes/9.CrLHYPEJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.CrLHYPEJ.js.gz +0 -0
- package/frontend/build/client/_app/version.json +1 -1
- package/frontend/build/client/_app/version.json.br +0 -0
- package/frontend/build/client/_app/version.json.gz +0 -0
- package/frontend/build/env.js +0 -22
- package/frontend/build/handler.js +0 -22
- package/frontend/build/index.js +0 -22
- package/frontend/build/server/chunks/0-Cn_2hzqk.js +17 -0
- package/frontend/build/server/chunks/0-Cn_2hzqk.js.map +1 -0
- package/frontend/build/server/chunks/1-BrRGJFSB.js +9 -0
- package/frontend/build/server/chunks/1-BrRGJFSB.js.map +1 -0
- package/frontend/build/server/chunks/10-l6_ikL_D.js +9 -0
- package/frontend/build/server/chunks/10-l6_ikL_D.js.map +1 -0
- package/frontend/build/server/chunks/11-BLPbHJqB.js +9 -0
- package/frontend/build/server/chunks/11-BLPbHJqB.js.map +1 -0
- package/frontend/build/server/chunks/12-S1ujUrHy.js +9 -0
- package/frontend/build/server/chunks/12-S1ujUrHy.js.map +1 -0
- package/frontend/build/server/chunks/2-Cte30Dgy.js +9 -0
- package/frontend/build/server/chunks/2-Cte30Dgy.js.map +1 -0
- package/frontend/build/server/chunks/3-BHkXVoNI.js +9 -0
- package/frontend/build/server/chunks/3-BHkXVoNI.js.map +1 -0
- package/frontend/build/server/chunks/4-Bo04DC5Z.js +9 -0
- package/frontend/build/server/chunks/4-Bo04DC5Z.js.map +1 -0
- package/frontend/build/server/chunks/5-F1ZsXMt2.js +9 -0
- package/frontend/build/server/chunks/5-F1ZsXMt2.js.map +1 -0
- package/frontend/build/server/chunks/6-FlZLnYJ6.js +9 -0
- package/frontend/build/server/chunks/6-FlZLnYJ6.js.map +1 -0
- package/frontend/build/server/chunks/7-DiQJZEF_.js +9 -0
- package/frontend/build/server/chunks/{7-DekQfQHu.js.map → 7-DiQJZEF_.js.map} +1 -21
- package/frontend/build/server/chunks/8-DXReUGxi.js +9 -0
- package/frontend/build/server/chunks/8-DXReUGxi.js.map +1 -0
- package/frontend/build/server/chunks/9-Cy_mGmt4.js +9 -0
- package/frontend/build/server/chunks/9-Cy_mGmt4.js.map +1 -0
- package/frontend/build/server/chunks/BackLink-BJ8NaemM.js +13 -0
- package/frontend/build/server/chunks/{BackLink-KxZNqsaq.js.map → BackLink-BJ8NaemM.js.map} +1 -21
- package/frontend/build/server/chunks/Badge-44ZTDx0V.js +13 -0
- package/frontend/build/server/chunks/{Badge-B5V-z6pI.js.map → Badge-44ZTDx0V.js.map} +1 -21
- package/frontend/build/server/chunks/{ConfirmModal-Ckkt99Pn.js → ConfirmModal-C0EAXcq_.js} +4 -26
- package/frontend/build/server/chunks/{ConfirmModal-Ckkt99Pn.js.map → ConfirmModal-C0EAXcq_.js.map} +1 -21
- package/frontend/build/server/chunks/{EmptyState-BwwbShnX.js → EmptyState-BA_eXaeR.js} +3 -25
- package/frontend/build/server/chunks/{EmptyState-BwwbShnX.js.map → EmptyState-BA_eXaeR.js.map} +1 -21
- package/frontend/build/server/chunks/{Modal-DG-6c5si.js → Modal-DChG187n.js} +2 -24
- package/frontend/build/server/chunks/{Modal-DG-6c5si.js.map → Modal-DChG187n.js.map} +1 -21
- package/frontend/build/server/chunks/{Toast-CIG4edEp.js → Toast-v-q4ZnYq.js} +2 -24
- package/frontend/build/server/chunks/{Toast-CIG4edEp.js.map → Toast-v-q4ZnYq.js.map} +1 -21
- package/frontend/build/server/chunks/_layout.svelte-CHVI3Prt.js +24 -0
- package/frontend/build/server/chunks/{_layout.svelte-BjPrZpoG.js.map → _layout.svelte-CHVI3Prt.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-BbZNxvCl.js → _page.svelte-1as75nPc.js} +14 -35
- package/frontend/build/server/chunks/{_page.svelte-BbZNxvCl.js.map → _page.svelte-1as75nPc.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-CLFpft5D.js → _page.svelte-1jo8MapI.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-CLFpft5D.js.map → _page.svelte-1jo8MapI.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-BHw14GPR.js → _page.svelte-BuFusRK1.js} +12 -34
- package/frontend/build/server/chunks/{_page.svelte-BHw14GPR.js.map → _page.svelte-BuFusRK1.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-D78qaBDN.js → _page.svelte-CAVyp70V.js} +14 -35
- package/frontend/build/server/chunks/{_page.svelte-D78qaBDN.js.map → _page.svelte-CAVyp70V.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-D2oF79cT.js → _page.svelte-CB8-QBNg.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-D2oF79cT.js.map → _page.svelte-CB8-QBNg.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-DyyuZN_3.js → _page.svelte-CWWeZuid.js} +11 -33
- package/frontend/build/server/chunks/{_page.svelte-DyyuZN_3.js.map → _page.svelte-CWWeZuid.js.map} +1 -21
- package/frontend/build/server/chunks/_page.svelte-CpB-fgJl.js +219 -0
- package/frontend/build/server/chunks/_page.svelte-CpB-fgJl.js.map +1 -0
- package/frontend/build/server/chunks/_page.svelte-D3E6Eojd.js +27 -0
- package/frontend/build/server/chunks/{_page.svelte-B9rjnZWE.js.map → _page.svelte-D3E6Eojd.js.map} +1 -21
- package/frontend/build/server/chunks/_page.svelte-Kg69DDaM.js +27 -0
- package/frontend/build/server/chunks/{_page.svelte-D1aYn1PL.js.map → _page.svelte-Kg69DDaM.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-ubW5EUCf.js → _page.svelte-L9fuiN_q.js} +10 -32
- package/frontend/build/server/chunks/{_page.svelte-ubW5EUCf.js.map → _page.svelte-L9fuiN_q.js.map} +1 -21
- package/frontend/build/server/chunks/{_page.svelte-Cr16HubD.js → _page.svelte-wKyUmA2e.js} +12 -34
- package/frontend/build/server/chunks/{_page.svelte-Cr16HubD.js.map → _page.svelte-wKyUmA2e.js.map} +1 -21
- package/frontend/build/server/chunks/attributes-BeaNKpgU.js +0 -22
- package/frontend/build/server/chunks/attributes-BeaNKpgU.js.map +0 -20
- package/frontend/build/server/chunks/{auth-rlH-cIzn.js → auth-Chw-wBpI.js} +2 -24
- package/frontend/build/server/chunks/{auth-rlH-cIzn.js.map → auth-Chw-wBpI.js.map} +1 -21
- package/frontend/build/server/chunks/auth2-C02yYDpz.js +0 -22
- package/frontend/build/server/chunks/auth2-C02yYDpz.js.map +0 -20
- package/frontend/build/server/chunks/client-DEmxR_a-.js +40 -0
- package/frontend/build/server/chunks/{client-DyII78e0.js.map → client-DEmxR_a-.js.map} +1 -21
- package/frontend/build/server/chunks/common-DYYTVHPw.js +21 -0
- package/frontend/build/server/chunks/common-DYYTVHPw.js.map +1 -0
- package/frontend/build/server/chunks/constants-CXTaQaB6.js +22 -0
- package/frontend/build/server/chunks/constants-CXTaQaB6.js.map +1 -0
- package/frontend/build/server/chunks/error.svelte-BD3xNemk.js +28 -0
- package/frontend/build/server/chunks/{error.svelte-BDW3iP1O.js.map → error.svelte-BD3xNemk.js.map} +1 -21
- package/frontend/build/server/chunks/escaping-CqgfEcN3.js +0 -22
- package/frontend/build/server/chunks/escaping-CqgfEcN3.js.map +0 -20
- package/frontend/build/server/chunks/exports-D0QHgeSL.js +0 -22
- package/frontend/build/server/chunks/exports-D0QHgeSL.js.map +0 -20
- package/frontend/build/server/chunks/{format-0SSB1oGG.js → format-CiNRMfHu.js} +2 -24
- package/frontend/build/server/chunks/{format-0SSB1oGG.js.map → format-CiNRMfHu.js.map} +1 -21
- package/frontend/build/server/chunks/index-server-B3M9vyh2.js +14 -0
- package/frontend/build/server/chunks/index-server-B3M9vyh2.js.map +1 -0
- package/frontend/build/server/chunks/{index2-DG8XHU5D.js → index2-5R1tbrep.js} +2 -24
- package/frontend/build/server/chunks/{index2-DG8XHU5D.js.map → index2-5R1tbrep.js.map} +1 -21
- package/frontend/build/server/chunks/reports-D_ApeeNh.js +23 -0
- package/frontend/build/server/chunks/{reports-DnYbvluH.js.map → reports-D_ApeeNh.js.map} +1 -21
- package/frontend/build/server/chunks/{reports2-DR4XlcJg.js → reports2-BtElN_53.js} +2 -24
- package/frontend/build/server/chunks/{reports2-DR4XlcJg.js.map → reports2-BtElN_53.js.map} +1 -21
- package/frontend/build/server/chunks/{repository-D9Derhnk.js → repository-FYYV_vKE.js} +3 -26
- package/frontend/build/server/chunks/repository-FYYV_vKE.js.map +1 -0
- package/frontend/build/server/chunks/runner-DC7hXbnY.js +32 -0
- package/frontend/build/server/chunks/runner-DC7hXbnY.js.map +1 -0
- package/frontend/build/server/chunks/stores-BLenR3c1.js +27 -0
- package/frontend/build/server/chunks/{stores-DlkXV308.js.map → stores-BLenR3c1.js.map} +1 -21
- package/frontend/build/server/chunks/theme-nAx-GvX_.js +10 -0
- package/frontend/build/server/chunks/theme-nAx-GvX_.js.map +1 -0
- package/frontend/build/server/index.js +2 -24
- package/frontend/build/server/index.js.map +1 -21
- package/frontend/build/server/manifest.js +14 -36
- package/frontend/build/server/manifest.js.map +1 -21
- package/frontend/build/shims.js +0 -22
- package/frontend/package.json +1 -0
- package/frontend/src/app.css +1 -13
- package/frontend/src/app.html +1 -13
- package/frontend/src/lib/api/activeRuns.js +18 -0
- package/frontend/src/lib/api/auth.js +1 -13
- package/frontend/src/lib/api/reports.js +1 -13
- package/frontend/src/lib/api/repository.js +1 -13
- package/frontend/src/lib/api/runners.js +26 -21
- package/frontend/src/lib/api/schedules.js +1 -13
- package/frontend/src/lib/api/settings.js +11 -23
- package/frontend/src/lib/api/tests.js +1 -13
- package/frontend/src/lib/api/users.js +1 -13
- package/frontend/src/lib/components/icons/BrowserIcon.svelte +1 -13
- package/frontend/src/lib/components/layout/Nav.svelte +1 -13
- package/frontend/src/lib/components/layout/PageShell.svelte +1 -13
- package/frontend/src/lib/components/layout/RunnerPanel.svelte +146 -105
- package/frontend/src/lib/components/ui/AutomatedBadge.svelte +2 -31
- package/frontend/src/lib/components/ui/BackLink.svelte +1 -30
- package/frontend/src/lib/components/ui/Badge.svelte +1 -13
- package/frontend/src/lib/components/ui/Button.svelte +1 -13
- package/frontend/src/lib/components/ui/CaseIdChip.svelte +1 -30
- package/frontend/src/lib/components/ui/ConfirmModal.svelte +8 -17
- package/frontend/src/lib/components/ui/EmptyState.svelte +26 -15
- package/frontend/src/lib/components/ui/Modal.svelte +1 -13
- package/frontend/src/lib/components/ui/Pagination.svelte +1 -13
- package/frontend/src/lib/components/ui/PriorityBadge.svelte +1 -30
- package/frontend/src/lib/components/ui/ResultChip.svelte +1 -30
- package/frontend/src/lib/components/ui/StatusDot.svelte +1 -30
- package/frontend/src/lib/components/ui/StepKeyword.svelte +1 -30
- package/frontend/src/lib/components/ui/StepStatusIcon.svelte +1 -30
- package/frontend/src/lib/components/ui/TagChip.svelte +1 -30
- package/frontend/src/lib/components/ui/Terminal.svelte +1 -13
- package/frontend/src/lib/components/ui/Toast.svelte +1 -13
- package/frontend/src/lib/constants.js +5 -17
- package/frontend/src/lib/copy/auth.js +29 -0
- package/frontend/src/lib/copy/common.js +39 -0
- package/frontend/src/lib/copy/dashboard.js +28 -0
- package/frontend/src/lib/copy/reports.js +83 -0
- package/frontend/src/lib/copy/repository.js +153 -0
- package/frontend/src/lib/copy/runners.js +59 -0
- package/frontend/src/lib/copy/schedules.js +96 -0
- package/frontend/src/lib/copy/settings.js +295 -0
- package/frontend/src/lib/index.js +1 -13
- package/frontend/src/lib/socketEvents.js +36 -0
- package/frontend/src/lib/stores/auth.js +1 -13
- package/frontend/src/lib/stores/runner.js +10 -18
- package/frontend/src/lib/stores/theme.js +1 -13
- package/frontend/src/lib/styles/global.css +1 -13
- package/frontend/src/lib/styles/reset.css +1 -13
- package/frontend/src/lib/styles/tokens.css +1 -13
- package/frontend/src/lib/utils/format.js +1 -13
- package/frontend/src/routes/+layout.js +1 -13
- package/frontend/src/routes/+layout.svelte +1 -13
- package/frontend/src/routes/+page.svelte +296 -115
- package/frontend/src/routes/login/+page.svelte +22 -23
- package/frontend/src/routes/reports/+page.svelte +37 -38
- package/frontend/src/routes/reports/[id]/+page.svelte +54 -43
- package/frontend/src/routes/reports/live/+page.svelte +57 -42
- package/frontend/src/routes/scheduled-tests/+page.svelte +134 -117
- package/frontend/src/routes/settings/+page.svelte +490 -267
- package/frontend/src/routes/setup/+page.svelte +30 -27
- package/frontend/src/routes/test-repository/+page.svelte +120 -91
- package/frontend/src/routes/test-repository/runs/[id]/+page.svelte +95 -60
- package/frontend/src/routes/test-repository/suites/[id]/+page.svelte +145 -91
- package/frontend/svelte.config.js +1 -13
- package/frontend/vite.config.js +1 -13
- package/package.json +2 -2
- package/resources/mit-license.txt +2 -0
- package/backend/scripts/create-test.js +0 -149
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/4N1zIH8t.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BhvHtTRh.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C1sukchk.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW85KPAh.js +0 -24
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DW_iTTZe.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DtGXv8RA.js +0 -25
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/oN0Z3NSF.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/start.2_AF42wj.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.BAqq2UTE.js +0 -28
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/1.D5VvLtGP.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.0YGtl1uj.js +0 -23
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/2.C2jjMA-Z.js +0 -23
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/2.CrXpMrqh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css +0 -23
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.CrXpMrqh.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3IV-uqHa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/4N1zIH8t.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B98sHkeB.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BhvHtTRh.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BjUpWNbl.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C1sukchk.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2cvzNT9.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D2gYTmAA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDblTLLE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js +0 -24
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW85KPAh.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DW_iTTZe.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DYlaQsvN.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DkNBSlo2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DlNYZJ7K.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js +0 -25
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DtGXv8RA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js +0 -23
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/oN0Z3NSF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.BCWbw5zZ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js +0 -23
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js.br +0 -22
- package/frontend/build/client/_app/immutable/entry/start.2_AF42wj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js +0 -28
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.BAqq2UTE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.D5VvLtGP.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.Bn4Ma-MU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.BacEu7sW.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.0YGtl1uj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js +0 -23
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.C2jjMA-Z.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DHx0kho3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.CnaMiirx.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.B6m-zTVe.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.BPDag1zv.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.D7LwxSvT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CCkNX20G.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.HDerA6JV.js.gz +0 -0
- package/frontend/build/server/chunks/0-Di4jNU9J.js +0 -39
- package/frontend/build/server/chunks/0-Di4jNU9J.js.map +0 -21
- package/frontend/build/server/chunks/1-DR5YRUTa.js +0 -31
- package/frontend/build/server/chunks/1-DR5YRUTa.js.map +0 -21
- package/frontend/build/server/chunks/10-Bhe409bL.js +0 -31
- package/frontend/build/server/chunks/10-Bhe409bL.js.map +0 -21
- package/frontend/build/server/chunks/11-DqyXW7n1.js +0 -31
- package/frontend/build/server/chunks/11-DqyXW7n1.js.map +0 -21
- package/frontend/build/server/chunks/12-BCpjMUbs.js +0 -31
- package/frontend/build/server/chunks/12-BCpjMUbs.js.map +0 -21
- package/frontend/build/server/chunks/2-D-0buH5i.js +0 -31
- package/frontend/build/server/chunks/2-D-0buH5i.js.map +0 -21
- package/frontend/build/server/chunks/3-y2kzPO2X.js +0 -31
- package/frontend/build/server/chunks/3-y2kzPO2X.js.map +0 -21
- package/frontend/build/server/chunks/4-CFrK8HST.js +0 -31
- package/frontend/build/server/chunks/4-CFrK8HST.js.map +0 -21
- package/frontend/build/server/chunks/5-B0lJu5bT.js +0 -31
- package/frontend/build/server/chunks/5-B0lJu5bT.js.map +0 -21
- package/frontend/build/server/chunks/6-BD4CEJ3Z.js +0 -31
- package/frontend/build/server/chunks/6-BD4CEJ3Z.js.map +0 -21
- package/frontend/build/server/chunks/7-DekQfQHu.js +0 -31
- package/frontend/build/server/chunks/8-BMqmu7WF.js +0 -31
- package/frontend/build/server/chunks/8-BMqmu7WF.js.map +0 -21
- package/frontend/build/server/chunks/9-C5sKo9aY.js +0 -31
- package/frontend/build/server/chunks/9-C5sKo9aY.js.map +0 -21
- package/frontend/build/server/chunks/BackLink-KxZNqsaq.js +0 -35
- package/frontend/build/server/chunks/Badge-B5V-z6pI.js +0 -35
- package/frontend/build/server/chunks/_layout.svelte-BjPrZpoG.js +0 -46
- package/frontend/build/server/chunks/_page.svelte-B9rjnZWE.js +0 -49
- package/frontend/build/server/chunks/_page.svelte-D1aYn1PL.js +0 -49
- package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js +0 -206
- package/frontend/build/server/chunks/_page.svelte-sbqebZYx.js.map +0 -21
- package/frontend/build/server/chunks/client-DyII78e0.js +0 -62
- package/frontend/build/server/chunks/common-Db-bgKYG.js +0 -42
- package/frontend/build/server/chunks/common-Db-bgKYG.js.map +0 -21
- package/frontend/build/server/chunks/constants-cZ2kUwWa.js +0 -41
- package/frontend/build/server/chunks/constants-cZ2kUwWa.js.map +0 -21
- package/frontend/build/server/chunks/error.svelte-BDW3iP1O.js +0 -50
- package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js +0 -36
- package/frontend/build/server/chunks/index-server-Dr2Nvcmu.js.map +0 -21
- package/frontend/build/server/chunks/reports-DnYbvluH.js +0 -45
- package/frontend/build/server/chunks/repository-D9Derhnk.js.map +0 -21
- package/frontend/build/server/chunks/runner-DE5sufZH.js +0 -54
- package/frontend/build/server/chunks/runner-DE5sufZH.js.map +0 -21
- package/frontend/build/server/chunks/stores-DlkXV308.js +0 -49
- package/frontend/build/server/chunks/theme-D_NKm6iI.js +0 -32
- package/frontend/build/server/chunks/theme-D_NKm6iI.js.map +0 -21
- package/resources/gpl-3.0-license.txt +0 -14
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of Plum.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
const os = require('os');
|
|
8
|
+
const path = require('path');
|
|
9
|
+
const crypto = require('crypto');
|
|
10
|
+
const { spawn } = require('child_process');
|
|
11
|
+
const { startSsPoller } = require('../lib/screenshotPoller');
|
|
12
|
+
const { TRIGGER_REMOTE } = require('../constants/triggers');
|
|
13
|
+
const { DEFAULT_BROWSER } = require('../constants/defaults');
|
|
14
|
+
const { JOB_STATUS } = require('../constants/jobStatus');
|
|
15
|
+
|
|
16
|
+
const BACKEND_DIR = path.resolve(__dirname, '..');
|
|
17
|
+
|
|
18
|
+
// In-memory job store for active remote executions.
|
|
19
|
+
// Jobs are purged after 10 minutes post-completion.
|
|
20
|
+
const jobs = {};
|
|
21
|
+
|
|
22
|
+
function getJob(jobId) {
|
|
23
|
+
return jobs[jobId];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Starts a remote test job dispatched from the primary server: materializes
|
|
27
|
+
// any uploaded test files, spawns `npm run test`, and tracks logs/screenshots
|
|
28
|
+
// for later HTTP polling (see pollJob).
|
|
29
|
+
function startJob({
|
|
30
|
+
tags,
|
|
31
|
+
browser = DEFAULT_BROWSER,
|
|
32
|
+
workers = 1,
|
|
33
|
+
tests = null,
|
|
34
|
+
env: userEnv = {}
|
|
35
|
+
}) {
|
|
36
|
+
const jobId = crypto.randomUUID();
|
|
37
|
+
|
|
38
|
+
// path.resolve ensures absolute even if TMPDIR env var is set to a relative path
|
|
39
|
+
const tmpdir = path.resolve(os.tmpdir());
|
|
40
|
+
|
|
41
|
+
// Write test files sent by the primary into a per-job temp dir
|
|
42
|
+
let tempTestsDir = null;
|
|
43
|
+
if (tests && Object.keys(tests).length > 0) {
|
|
44
|
+
tempTestsDir = path.join(tmpdir, `plum-job-${jobId}`);
|
|
45
|
+
for (const [rel, content] of Object.entries(tests)) {
|
|
46
|
+
const dest = path.join(tempTestsDir, rel);
|
|
47
|
+
fs.mkdirSync(path.dirname(dest), { recursive: true });
|
|
48
|
+
fs.writeFileSync(dest, Buffer.from(content, 'base64'));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Each job writes to its own temp file so concurrent jobs on the same node
|
|
53
|
+
// cannot clobber each other's reports (shared cucumber_report.json race condition).
|
|
54
|
+
const reportFile = path.join(tmpdir, `plum-report-${jobId}.json`);
|
|
55
|
+
const ssDir = path.join(tmpdir, `plum-ss-${jobId}`);
|
|
56
|
+
fs.mkdirSync(ssDir, { recursive: true });
|
|
57
|
+
|
|
58
|
+
jobs[jobId] = {
|
|
59
|
+
status: JOB_STATUS.RUNNING,
|
|
60
|
+
logs: '',
|
|
61
|
+
exitCode: null,
|
|
62
|
+
startedAt: Date.now(),
|
|
63
|
+
meta: { tags: tags || '', browser, workers },
|
|
64
|
+
tempTestsDir,
|
|
65
|
+
reportFile,
|
|
66
|
+
ssDir,
|
|
67
|
+
pendingScreenshots: []
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const env = {
|
|
71
|
+
...process.env,
|
|
72
|
+
// User/test vars (BASE_URL, IS_HEADLESS, custom secrets) forwarded from the
|
|
73
|
+
// primary's own .env — nodes are stateless runners and shouldn't need their
|
|
74
|
+
// own copy. Spread before the job-control vars below so a stray same-named
|
|
75
|
+
// var in the user's .env can never override how this job actually runs.
|
|
76
|
+
...userEnv,
|
|
77
|
+
TAG: tags || '',
|
|
78
|
+
TRIGGER: TRIGGER_REMOTE,
|
|
79
|
+
BROWSER: browser,
|
|
80
|
+
REPORT_RUNNERS: String(workers),
|
|
81
|
+
CUCUMBER_REPORT_FILE: reportFile,
|
|
82
|
+
PLUM_SS_DIR: ssDir,
|
|
83
|
+
...(tempTestsDir ? { TESTS_ROOT: tempTestsDir } : {})
|
|
84
|
+
};
|
|
85
|
+
if (workers > 1) env.PARALLEL = String(workers);
|
|
86
|
+
|
|
87
|
+
const ssPoller = startSsPoller(ssDir, (data) => {
|
|
88
|
+
jobs[jobId]?.pendingScreenshots.push(data);
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
const proc = spawn('npm', ['run', 'test'], { env, shell: true, cwd: BACKEND_DIR });
|
|
92
|
+
proc.stdout.on('data', (d) => {
|
|
93
|
+
jobs[jobId].logs += d.toString();
|
|
94
|
+
});
|
|
95
|
+
proc.stderr.on('data', (d) => {
|
|
96
|
+
jobs[jobId].logs += d.toString();
|
|
97
|
+
});
|
|
98
|
+
proc.on('close', (code) => {
|
|
99
|
+
clearInterval(ssPoller);
|
|
100
|
+
jobs[jobId].status = code === 0 ? JOB_STATUS.DONE : JOB_STATUS.ERROR;
|
|
101
|
+
jobs[jobId].exitCode = code;
|
|
102
|
+
|
|
103
|
+
try {
|
|
104
|
+
if (fs.existsSync(reportFile)) {
|
|
105
|
+
jobs[jobId].reportContent = fs.readFileSync(reportFile, 'utf8');
|
|
106
|
+
}
|
|
107
|
+
} catch {}
|
|
108
|
+
|
|
109
|
+
fs.rm(ssDir, { recursive: true, force: true }, () => {});
|
|
110
|
+
|
|
111
|
+
if (jobs[jobId].tempTestsDir) {
|
|
112
|
+
fs.rm(jobs[jobId].tempTestsDir, { recursive: true, force: true }, () => {});
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
setTimeout(() => {
|
|
116
|
+
try {
|
|
117
|
+
fs.unlinkSync(reportFile);
|
|
118
|
+
} catch {}
|
|
119
|
+
delete jobs[jobId];
|
|
120
|
+
}, 600_000);
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
return jobId;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Drains and returns pending screenshots plus logs since `offset` — used by
|
|
127
|
+
// the primary's HTTP polling loop (this node has no socket.io connection back).
|
|
128
|
+
function pollJob(jobId, offset) {
|
|
129
|
+
const job = jobs[jobId];
|
|
130
|
+
if (!job) return null;
|
|
131
|
+
const screenshots = job.pendingScreenshots.splice(0);
|
|
132
|
+
return {
|
|
133
|
+
status: job.status,
|
|
134
|
+
logs: job.logs.slice(offset),
|
|
135
|
+
exitCode: job.exitCode,
|
|
136
|
+
screenshots
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
module.exports = { startJob, getJob, pollJob };
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const settingsService = require('./settingsService');
|
|
7
|
+
const { DEFAULT_BROWSER } = require('../constants/defaults');
|
|
8
|
+
const { REPORT_STATUS } = require('../constants/jobStatus');
|
|
19
9
|
|
|
20
10
|
function countScenarios(content) {
|
|
21
11
|
try {
|
|
@@ -38,7 +28,7 @@ function countScenarios(content) {
|
|
|
38
28
|
}
|
|
39
29
|
|
|
40
30
|
function buildDiscordPayload({ jobName, status, counts, browser, tags, reportUrl }) {
|
|
41
|
-
const isPass = status ===
|
|
31
|
+
const isPass = status === REPORT_STATUS.PASS;
|
|
42
32
|
// Discord colour integers: green 3066993, red 15158332
|
|
43
33
|
const color = isPass ? 3066993 : 15158332;
|
|
44
34
|
const fields = [
|
|
@@ -48,7 +38,7 @@ function buildDiscordPayload({ jobName, status, counts, browser, tags, reportUrl
|
|
|
48
38
|
value: `${counts.passed} / ${counts.total} passed`,
|
|
49
39
|
inline: true
|
|
50
40
|
},
|
|
51
|
-
{ name: 'Browser', value: browser ??
|
|
41
|
+
{ name: 'Browser', value: browser ?? DEFAULT_BROWSER, inline: true },
|
|
52
42
|
{ name: 'Tags', value: tags || '(all tests)', inline: false }
|
|
53
43
|
];
|
|
54
44
|
if (reportUrl) {
|
|
@@ -61,7 +51,7 @@ function buildDiscordPayload({ jobName, status, counts, browser, tags, reportUrl
|
|
|
61
51
|
}
|
|
62
52
|
|
|
63
53
|
function buildSlackPayload({ jobName, status, counts, browser, tags, reportUrl }) {
|
|
64
|
-
const isPass = status ===
|
|
54
|
+
const isPass = status === REPORT_STATUS.PASS;
|
|
65
55
|
const icon = isPass ? '✅' : '❌';
|
|
66
56
|
const blocks = [
|
|
67
57
|
{
|
|
@@ -74,7 +64,7 @@ function buildSlackPayload({ jobName, status, counts, browser, tags, reportUrl }
|
|
|
74
64
|
{
|
|
75
65
|
type: 'section',
|
|
76
66
|
fields: [
|
|
77
|
-
{ type: 'mrkdwn', text: `*Browser:*\n${browser ??
|
|
67
|
+
{ type: 'mrkdwn', text: `*Browser:*\n${browser ?? DEFAULT_BROWSER}` },
|
|
78
68
|
{ type: 'mrkdwn', text: `*Tags:*\n${tags || '(all tests)'}` }
|
|
79
69
|
]
|
|
80
70
|
}
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const { PrismaClient } = require('@prisma/client');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const fs = require('fs');
|
|
@@ -20,6 +8,8 @@ const path = require('path');
|
|
|
20
8
|
const crypto = require('crypto');
|
|
21
9
|
const prisma = require('./prisma');
|
|
22
10
|
const { isScheduledTrigger, normaliseTrigger } = require('../constants/triggers');
|
|
11
|
+
const { DEFAULT_BROWSER } = require('../constants/defaults');
|
|
12
|
+
const { REPORT_STATUS } = require('../constants/jobStatus');
|
|
23
13
|
const { SCREENSHOTS_DIR } = require('../lib/reportFilename');
|
|
24
14
|
|
|
25
15
|
// ---------------------------------------------------------------------------
|
|
@@ -287,7 +277,7 @@ function processCucumberJson(raw, attempts = {}) {
|
|
|
287
277
|
});
|
|
288
278
|
|
|
289
279
|
const hasFailures = features.some((f) => f.status === 'failed');
|
|
290
|
-
return { features, status: hasFailures ?
|
|
280
|
+
return { features, status: hasFailures ? REPORT_STATUS.FAIL : REPORT_STATUS.PASS };
|
|
291
281
|
}
|
|
292
282
|
|
|
293
283
|
// ---------------------------------------------------------------------------
|
|
@@ -318,7 +308,7 @@ const getReports = async ({ page = 1, limit = 15 } = {}) => {
|
|
|
318
308
|
select: reportListSelect
|
|
319
309
|
}),
|
|
320
310
|
prisma.report.count(),
|
|
321
|
-
prisma.report.count({ where: { status:
|
|
311
|
+
prisma.report.count({ where: { status: REPORT_STATUS.PASS } }),
|
|
322
312
|
prisma.report.findMany({
|
|
323
313
|
orderBy: { createdAt: 'desc' },
|
|
324
314
|
take: TREND_SIZE,
|
|
@@ -393,7 +383,7 @@ const saveReport = async ({
|
|
|
393
383
|
}) => {
|
|
394
384
|
const normTrigger = normaliseTrigger(triggerType);
|
|
395
385
|
const { features, status: derivedStatus } = processCucumberJson(rawCucumberJson, attempts);
|
|
396
|
-
const status = forceFail ?
|
|
386
|
+
const status = forceFail ? REPORT_STATUS.FAIL : derivedStatus;
|
|
397
387
|
const cronJobId = await resolveCronJobId(normTrigger);
|
|
398
388
|
|
|
399
389
|
const report = await prisma.report.create({
|
|
@@ -402,7 +392,7 @@ const saveReport = async ({
|
|
|
402
392
|
tags: (tags ?? '').replace(/^\(|\)$/g, '') || '@all-tests',
|
|
403
393
|
triggerType: normTrigger,
|
|
404
394
|
runners: nodeCount ?? 1,
|
|
405
|
-
browser: browser ??
|
|
395
|
+
browser: browser ?? DEFAULT_BROWSER,
|
|
406
396
|
runnerName: runnerName ?? null,
|
|
407
397
|
runnerId: runnerId ?? null,
|
|
408
398
|
cronJobId,
|
|
@@ -494,6 +484,19 @@ const saveCombinedReport = async ({
|
|
|
494
484
|
});
|
|
495
485
|
};
|
|
496
486
|
|
|
487
|
+
// Finds the report a no-retry run just produced (the most recent one created
|
|
488
|
+
// after the run started) and patches in its wall-clock duration.
|
|
489
|
+
const attachDurationToLatestReport = async ({ afterTimestamp, duration }) => {
|
|
490
|
+
const report = await prisma.report.findFirst({
|
|
491
|
+
where: { createdAt: { gte: new Date(afterTimestamp) } },
|
|
492
|
+
orderBy: { createdAt: 'desc' },
|
|
493
|
+
select: { id: true, status: true }
|
|
494
|
+
});
|
|
495
|
+
if (!report) return null;
|
|
496
|
+
await prisma.report.update({ where: { id: report.id }, data: { duration } });
|
|
497
|
+
return report;
|
|
498
|
+
};
|
|
499
|
+
|
|
497
500
|
// ---------------------------------------------------------------------------
|
|
498
501
|
// Delete operations
|
|
499
502
|
// ---------------------------------------------------------------------------
|
|
@@ -539,6 +542,7 @@ module.exports = {
|
|
|
539
542
|
getReportDetail,
|
|
540
543
|
saveReport,
|
|
541
544
|
saveCombinedReport,
|
|
545
|
+
attachDurationToLatestReport,
|
|
542
546
|
syncAutomatedFromFeatures,
|
|
543
547
|
deleteReport,
|
|
544
548
|
deleteReports,
|
|
@@ -1,35 +1,43 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const fs = require('fs');
|
|
19
7
|
const path = require('path');
|
|
20
8
|
const prisma = require('./prisma');
|
|
21
9
|
const { loadTestEnv } = require('../lib/testEnv');
|
|
10
|
+
const { BUILT_IN_RUNNER_ID } = require('../constants/triggers');
|
|
11
|
+
const { DEFAULT_BROWSER } = require('../constants/defaults');
|
|
12
|
+
const { bearerHeader } = require('../lib/authHeader');
|
|
13
|
+
const { JOB_STATUS } = require('../constants/jobStatus');
|
|
22
14
|
|
|
23
15
|
// ---------------------------------------------------------------------------
|
|
24
16
|
// Runner CRUD
|
|
25
17
|
// ---------------------------------------------------------------------------
|
|
26
18
|
|
|
27
|
-
|
|
19
|
+
// Strips the auth token before a runner row crosses the HTTP boundary — the
|
|
20
|
+
// token is only ever needed internally (ping/stop/restart/dispatch below all
|
|
21
|
+
// read it via getById, whose result never reaches a client directly).
|
|
22
|
+
function toPublicRunner(runner) {
|
|
23
|
+
if (!runner) return runner;
|
|
24
|
+
const { token, ...safe } = runner;
|
|
25
|
+
return { ...safe, tokenSet: Boolean(token) };
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const getAll = async () => {
|
|
29
|
+
const runners = await prisma.runner.findMany({ orderBy: { createdAt: 'asc' } });
|
|
30
|
+
return runners.map(toPublicRunner);
|
|
31
|
+
};
|
|
28
32
|
|
|
29
33
|
const normaliseUrl = (url) => (url ?? '').replace(/\/+$/, '');
|
|
30
34
|
|
|
31
|
-
const create = ({ name, url, token, browser =
|
|
32
|
-
prisma.runner.create({
|
|
35
|
+
const create = async ({ name, url, token, browser = DEFAULT_BROWSER }) => {
|
|
36
|
+
const runner = await prisma.runner.create({
|
|
37
|
+
data: { name, url: normaliseUrl(url), token, browser }
|
|
38
|
+
});
|
|
39
|
+
return toPublicRunner(runner);
|
|
40
|
+
};
|
|
33
41
|
|
|
34
42
|
async function remove(id) {
|
|
35
43
|
// Scrub the deleted runner from any cron job's runnerIds string before
|
|
@@ -42,18 +50,29 @@ async function remove(id) {
|
|
|
42
50
|
.filter((s) => s && s !== id);
|
|
43
51
|
await prisma.cronJob.update({
|
|
44
52
|
where: { id: job.id },
|
|
45
|
-
data: { runnerIds: ids.length > 0 ? ids.join(',') :
|
|
53
|
+
data: { runnerIds: ids.length > 0 ? ids.join(',') : BUILT_IN_RUNNER_ID }
|
|
46
54
|
});
|
|
47
55
|
}
|
|
48
56
|
return prisma.runner.delete({ where: { id } });
|
|
49
57
|
}
|
|
50
58
|
|
|
51
|
-
|
|
52
|
-
|
|
59
|
+
// Leaving `token` blank keeps the existing one (same pattern as the S3 backup
|
|
60
|
+
// secret key) instead of clearing a runner's auth on an unrelated edit.
|
|
61
|
+
const update = async (id, { name, url, token, browser }) => {
|
|
62
|
+
const runner = await prisma.runner.update({
|
|
53
63
|
where: { id },
|
|
54
|
-
data: {
|
|
64
|
+
data: {
|
|
65
|
+
...(name !== undefined && { name }),
|
|
66
|
+
...(url !== undefined && { url: normaliseUrl(url) }),
|
|
67
|
+
...(token && { token }),
|
|
68
|
+
...(browser !== undefined && { browser })
|
|
69
|
+
}
|
|
55
70
|
});
|
|
71
|
+
return toPublicRunner(runner);
|
|
72
|
+
};
|
|
56
73
|
|
|
74
|
+
// Raw accessor (includes token) — internal use only, for authenticating
|
|
75
|
+
// outbound requests to the runner node (ping/stop/restart/dispatch below).
|
|
57
76
|
const getById = (id) => prisma.runner.findUnique({ where: { id } });
|
|
58
77
|
|
|
59
78
|
// ---------------------------------------------------------------------------
|
|
@@ -65,7 +84,7 @@ async function probe({ url, token }) {
|
|
|
65
84
|
try {
|
|
66
85
|
const res = await fetch(`${url}/api/ping`, {
|
|
67
86
|
method: 'GET',
|
|
68
|
-
headers:
|
|
87
|
+
headers: bearerHeader(token),
|
|
69
88
|
signal: AbortSignal.timeout(5000)
|
|
70
89
|
});
|
|
71
90
|
if (!res.ok) return { ok: false, error: `HTTP ${res.status}` };
|
|
@@ -95,7 +114,7 @@ async function callControlEndpoint(id, endpoint, timeoutMs) {
|
|
|
95
114
|
try {
|
|
96
115
|
const res = await fetch(`${runner.url}/api/${endpoint}`, {
|
|
97
116
|
method: 'POST',
|
|
98
|
-
headers:
|
|
117
|
+
headers: bearerHeader(runner.token),
|
|
99
118
|
signal: AbortSignal.timeout(timeoutMs)
|
|
100
119
|
});
|
|
101
120
|
if (!res.ok) return { ok: false, error: `HTTP ${res.status}` };
|
|
@@ -141,7 +160,7 @@ function collectTestFiles() {
|
|
|
141
160
|
async function fetchReportContent(runner, jobId, onLog) {
|
|
142
161
|
try {
|
|
143
162
|
const res = await fetch(`${runner.url}/api/report/${jobId}`, {
|
|
144
|
-
headers:
|
|
163
|
+
headers: bearerHeader(runner.token),
|
|
145
164
|
signal: AbortSignal.timeout(15000)
|
|
146
165
|
});
|
|
147
166
|
if (!res.ok) {
|
|
@@ -194,7 +213,7 @@ async function dispatchAndPoll(
|
|
|
194
213
|
method: 'POST',
|
|
195
214
|
headers: {
|
|
196
215
|
'Content-Type': 'application/json',
|
|
197
|
-
|
|
216
|
+
...bearerHeader(runner.token)
|
|
198
217
|
},
|
|
199
218
|
body: JSON.stringify({
|
|
200
219
|
tags,
|
|
@@ -222,7 +241,7 @@ async function dispatchAndPoll(
|
|
|
222
241
|
polling = true;
|
|
223
242
|
try {
|
|
224
243
|
const res = await fetch(`${runner.url}/api/execute/${jobId}?offset=${logOffset}`, {
|
|
225
|
-
headers:
|
|
244
|
+
headers: bearerHeader(runner.token),
|
|
226
245
|
signal: AbortSignal.timeout(8000)
|
|
227
246
|
});
|
|
228
247
|
if (!res.ok) return;
|
|
@@ -237,10 +256,10 @@ async function dispatchAndPoll(
|
|
|
237
256
|
for (const ss of body.screenshots) onScreenshot(ss);
|
|
238
257
|
}
|
|
239
258
|
|
|
240
|
-
if (body.status ===
|
|
259
|
+
if (body.status === JOB_STATUS.DONE || body.status === JOB_STATUS.ERROR) {
|
|
241
260
|
clearInterval(poll);
|
|
242
261
|
const content = await fetchReportContent(runner, jobId, onLog);
|
|
243
|
-
finish(body.exitCode ?? (body.status ===
|
|
262
|
+
finish(body.exitCode ?? (body.status === JOB_STATUS.DONE ? 0 : 1), content);
|
|
244
263
|
}
|
|
245
264
|
} catch {
|
|
246
265
|
// transient polling error — keep trying
|
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const crypto = require('crypto');
|
|
19
7
|
const prisma = require('./prisma');
|
|
20
8
|
|
|
21
|
-
|
|
9
|
+
// Raw accessor — includes secret fields (backupS3SecretKey, mcpKey). Only for
|
|
10
|
+
// internal use by this file's own functions and other trusted internal
|
|
11
|
+
// callers (e.g. backup.routes.js needs the real S3 secret for a connection
|
|
12
|
+
// test). Never expose this return value directly over HTTP.
|
|
13
|
+
const getProjectRaw = async () => {
|
|
22
14
|
let project = await prisma.project.findUnique({ where: { id: 1 } });
|
|
23
15
|
if (!project) {
|
|
24
16
|
project = await prisma.project.create({ data: { id: 1 } });
|
|
@@ -26,6 +18,12 @@ const getProject = async () => {
|
|
|
26
18
|
return project;
|
|
27
19
|
};
|
|
28
20
|
|
|
21
|
+
// Public accessor — strips secret fields. This is what routes should use.
|
|
22
|
+
const getProject = async () => {
|
|
23
|
+
const { backupS3SecretKey, mcpKey, ...safe } = await getProjectRaw();
|
|
24
|
+
return safe;
|
|
25
|
+
};
|
|
26
|
+
|
|
29
27
|
const updateProject = async ({ name, logoUrl, timezone, maxRetries }) => {
|
|
30
28
|
const data = {
|
|
31
29
|
name: name ?? '',
|
|
@@ -46,11 +44,12 @@ const updateProject = async ({ name, logoUrl, timezone, maxRetries }) => {
|
|
|
46
44
|
await require('./backupCronService').reload();
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
|
|
47
|
+
const { backupS3SecretKey, mcpKey, ...safe } = project;
|
|
48
|
+
return safe;
|
|
50
49
|
};
|
|
51
50
|
|
|
52
51
|
const getTestPrefixes = async () => {
|
|
53
|
-
const project = await
|
|
52
|
+
const project = await getProjectRaw();
|
|
54
53
|
return { testCasePrefix: project.testCasePrefix, testSuitePrefix: project.testSuitePrefix };
|
|
55
54
|
};
|
|
56
55
|
|
|
@@ -66,7 +65,7 @@ const updateTestPrefixes = async ({ testCasePrefix, testSuitePrefix }) => {
|
|
|
66
65
|
};
|
|
67
66
|
|
|
68
67
|
const getWebhooks = async () => {
|
|
69
|
-
const project = await
|
|
68
|
+
const project = await getProjectRaw();
|
|
70
69
|
return {
|
|
71
70
|
discordWebhookUrl: project.discordWebhookUrl ?? '',
|
|
72
71
|
slackWebhookUrl: project.slackWebhookUrl ?? '',
|
|
@@ -87,7 +86,7 @@ const updateWebhooks = async ({ discordWebhookUrl, slackWebhookUrl, notifyPublic
|
|
|
87
86
|
};
|
|
88
87
|
|
|
89
88
|
const getBackupConfig = async () => {
|
|
90
|
-
const project = await
|
|
89
|
+
const project = await getProjectRaw();
|
|
91
90
|
return {
|
|
92
91
|
backupEnabled: project.backupEnabled,
|
|
93
92
|
backupCron: project.backupCron,
|
|
@@ -130,7 +129,7 @@ const updateBackupConfig = async ({
|
|
|
130
129
|
};
|
|
131
130
|
|
|
132
131
|
const getMcpConfig = async () => {
|
|
133
|
-
const project = await
|
|
132
|
+
const project = await getProjectRaw();
|
|
134
133
|
return { mcpKeySet: project.mcpKey.length > 0, mcpKey: project.mcpKey };
|
|
135
134
|
};
|
|
136
135
|
|
|
@@ -147,6 +146,7 @@ const generateMcpKey = async () => {
|
|
|
147
146
|
|
|
148
147
|
module.exports = {
|
|
149
148
|
getProject,
|
|
149
|
+
getProjectRaw,
|
|
150
150
|
updateProject,
|
|
151
151
|
getTestPrefixes,
|
|
152
152
|
updateTestPrefixes,
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const fs = require('fs');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const prisma = require('./prisma');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const fs = require('fs');
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of Plum.
|
|
3
|
-
*
|
|
4
|
-
* Plum is free software: you can redistribute it and/or modify
|
|
5
|
-
* it under the terms of the GNU General Public License as published by
|
|
6
|
-
* the Free Software Foundation, either version 3 of the License, or
|
|
7
|
-
* (at your option) any later version.
|
|
8
|
-
*
|
|
9
|
-
* Plum is distributed in the hope that it will be useful,
|
|
10
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
-
* GNU General Public License for more details.
|
|
13
|
-
*
|
|
14
|
-
* You should have received a copy of the GNU General Public License
|
|
15
|
-
* along with Plum. If not, see https://www.gnu.org/licenses/.
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root for details.
|
|
16
4
|
*/
|
|
17
5
|
|
|
18
6
|
const prisma = require('./prisma');
|