plum-e2e 2.10.0 → 2.12.0
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/.env +1 -1
- package/CLAUDE.md +1 -1
- package/README.md +7 -7
- package/backend/app.js +1 -1
- package/backend/lib/csv.js +21 -0
- package/backend/lib/exportResponse.js +37 -0
- package/backend/lib/serverBootstrap.js +2 -2
- package/backend/lib/serverConfig.js +5 -3
- package/backend/mcp/server.js +44 -0
- package/backend/middleware/runnerOrAdmin.js +1 -1
- package/backend/package.json +1 -1
- package/backend/routes/reports.routes.js +19 -0
- package/backend/routes/runners.routes.js +1 -1
- package/backend/routes/test-cases.routes.js +12 -0
- package/backend/routes/test-runs.routes.js +17 -0
- package/backend/routes/test-suites.routes.js +34 -0
- package/backend/scripts/{manage-runners.mjs → manage-nodes.mjs} +67 -52
- package/backend/services/exportService.js +339 -0
- package/backend/services/testImportService.js +87 -0
- package/bin/plum.js +174 -68
- package/docker-compose.yml +1 -1
- package/frontend/.svelte-kit/adapter-node/.vite/manifest.json +48 -40
- package/frontend/.svelte-kit/{output/server/_app/immutable/assets/Toast.DENwYn3g.css → adapter-node/_app/immutable/assets/Button.C1zsJAUG.css} +1 -1
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/ExportMenu.DsJQ1Qua.css +6 -0
- package/frontend/{build/client/_app/immutable/assets/_layout.HkPnpRl9.css → .svelte-kit/adapter-node/_app/immutable/assets/_layout.B4TT3qNx.css} +1 -1
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.4bPj83tb.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BwgtEi_a.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.DOC8fPSI.css +6 -0
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Dm1nSEgE.css +6 -0
- package/frontend/.svelte-kit/adapter-node/chunks/{Toast.js → Button.js} +2 -17
- package/frontend/.svelte-kit/adapter-node/chunks/ConfirmModal.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/EmptyState.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/common.js +11 -4
- package/frontend/.svelte-kit/adapter-node/chunks/constants.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/internal.js +1 -1
- package/frontend/.svelte-kit/adapter-node/chunks/repository.js +21 -17
- package/frontend/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +2 -0
- package/frontend/.svelte-kit/adapter-node/entries/pages/reports/_id_/_page.svelte.js +11 -2
- package/frontend/.svelte-kit/adapter-node/entries/pages/scheduled-tests/_page.svelte.js +2 -5
- package/frontend/.svelte-kit/adapter-node/entries/pages/settings/_page.svelte.js +300 -253
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/_page.svelte.js +55 -36
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -6
- package/frontend/.svelte-kit/adapter-node/entries/pages/test-repository/suites/_id_/_page.svelte.js +15 -17
- package/frontend/.svelte-kit/adapter-node/manifest-full.js +1 -1
- package/frontend/.svelte-kit/adapter-node/manifest.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/0.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/1.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/10.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/11.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/12.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/2.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/3.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/4.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/5.js +1 -1
- package/frontend/.svelte-kit/adapter-node/nodes/6.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/7.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/8.js +2 -2
- package/frontend/.svelte-kit/adapter-node/nodes/9.js +1 -1
- package/frontend/.svelte-kit/generated/server/internal.js +1 -1
- package/frontend/.svelte-kit/output/client/.vite/manifest.json +459 -412
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/{0.CmJTG5mP.css → 0.BEqlRAtD.css} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.DC0wD6w_.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.Dm1nSEgE.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.DdQVxyZK.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.DOC8fPSI.css +6 -0
- package/frontend/.svelte-kit/{adapter-node/_app/immutable/assets/Toast.DENwYn3g.css → output/client/_app/immutable/assets/Button.C1zsJAUG.css} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/ExportMenu.DsJQ1Qua.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/{_layout.HkPnpRl9.css → _layout.B4TT3qNx.css} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.4bPj83tb.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BwgtEi_a.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.DOC8fPSI.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Dm1nSEgE.css +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{C2_rQ4aY.js → 3MBVX4Yb.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/CfkUW1vA.js → .svelte-kit/output/client/_app/immutable/chunks/6VDMVB5U.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/B0_HKFXV.js → .svelte-kit/output/client/_app/immutable/chunks/B2lVGNml.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/CboYYxrf.js → .svelte-kit/output/client/_app/immutable/chunks/BCh31ecr.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BDb8hZHu.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CeH-RgMb.js → BIf7lHIm.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BIjh3jiU.js +8 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BTV7EXZb.js +11 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DAmOMhaf.js → BWGoOYU0.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BdBJfKUi.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/BAvTKHxT.js → .svelte-kit/output/client/_app/immutable/chunks/BnXsGCy3.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BtTNggoY.js +8 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/C4Z3p6jE.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CNpD-yNH.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CUPWZLIN.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{Ck6C3Fl0.js → CXQhSK1T.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/C00jnSU2.js → .svelte-kit/output/client/_app/immutable/chunks/CtgCYzu5.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/D72giPTu.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{GDjpV3r7.js → DDx3no2z.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/D_thT6pZ.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/C8S7qQjQ.js → .svelte-kit/output/client/_app/immutable/chunks/DeiVAbyn.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DiexacSB.js +6 -0
- package/frontend/{build/client/_app/immutable/chunks/d2K3c8Kx.js → .svelte-kit/output/client/_app/immutable/chunks/Dlymnwnf.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/Cgw8TOOy.js → .svelte-kit/output/client/_app/immutable/chunks/gCgJ3Cwu.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/BJ_ypKl3.js → .svelte-kit/output/client/_app/immutable/chunks/htkwR9b-.js} +1 -1
- package/frontend/{build/client/_app/immutable/chunks/C7uEQ-LH.js → .svelte-kit/output/client/_app/immutable/chunks/iL4SCrvY.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{CoTEzvLa.js → kFFd6Oo5.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/pNZogwkM.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{DWzEJYIF.js → prk8PJfA.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/qvxlSGpD.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/r_d1Iu0W.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/{B00vxw57.js → tsOANt55.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/zXSLr47H.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.DgdSwPuN.js +7 -0
- package/frontend/{build/client/_app/immutable/entry/start.BXOLyf9R.js → .svelte-kit/output/client/_app/immutable/entry/start.D_lhI48n.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.D2F-i1I5.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{1.BI97il3r.js → 1.JIF2GfHq.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.A0AHLfOt.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.CVSPxlqY.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.CnAR0AQb.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{2.Dr6yugXz.js → 2.Bno00fr8.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.B6KwaCsM.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{4.DDADylfF.js → 4.BX70m3v6.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.UIFh06yr.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.DZ1OV24V.js +10 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.B_XntBZ1.js +6 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.CVHgJw-E.js +9 -0
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/{9.BOK0GNF_.js → 9.DDDQPmMj.js} +1 -1
- package/frontend/.svelte-kit/output/client/_app/version.json +1 -1
- package/frontend/.svelte-kit/output/server/.vite/manifest.json +48 -40
- package/frontend/{build/client/_app/immutable/assets/Toast.DENwYn3g.css → .svelte-kit/output/server/_app/immutable/assets/Button.C1zsJAUG.css} +1 -1
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/ExportMenu.DsJQ1Qua.css +6 -0
- package/frontend/.svelte-kit/{adapter-node/_app/immutable/assets/_layout.HkPnpRl9.css → output/server/_app/immutable/assets/_layout.B4TT3qNx.css} +1 -1
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.4bPj83tb.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BwgtEi_a.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.DOC8fPSI.css +6 -0
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Dm1nSEgE.css +6 -0
- package/frontend/.svelte-kit/output/server/chunks/{Toast.js → Button.js} +2 -17
- package/frontend/.svelte-kit/output/server/chunks/ConfirmModal.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/EmptyState.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/common.js +11 -4
- package/frontend/.svelte-kit/output/server/chunks/constants.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/internal.js +1 -1
- package/frontend/.svelte-kit/output/server/chunks/repository.js +21 -17
- package/frontend/.svelte-kit/output/server/entries/pages/_layout.svelte.js +2 -0
- package/frontend/.svelte-kit/output/server/entries/pages/reports/_id_/_page.svelte.js +11 -2
- package/frontend/.svelte-kit/output/server/entries/pages/scheduled-tests/_page.svelte.js +2 -5
- package/frontend/.svelte-kit/output/server/entries/pages/settings/_page.svelte.js +300 -253
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/_page.svelte.js +55 -36
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/runs/_id_/_page.svelte.js +3 -6
- package/frontend/.svelte-kit/output/server/entries/pages/test-repository/suites/_id_/_page.svelte.js +15 -17
- package/frontend/.svelte-kit/output/server/manifest-full.js +1 -1
- package/frontend/.svelte-kit/output/server/manifest.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/0.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/1.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/10.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/11.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/12.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/2.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/3.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/4.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/5.js +1 -1
- package/frontend/.svelte-kit/output/server/nodes/6.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/7.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/8.js +2 -2
- package/frontend/.svelte-kit/output/server/nodes/9.js +1 -1
- package/frontend/build/client/_app/immutable/assets/{0.CmJTG5mP.css → 0.BEqlRAtD.css} +1 -1
- package/frontend/build/client/_app/immutable/assets/0.BEqlRAtD.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.BEqlRAtD.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/10.DC0wD6w_.css +6 -0
- package/frontend/build/client/_app/immutable/assets/10.DC0wD6w_.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/10.DC0wD6w_.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Dm1nSEgE.css +6 -0
- package/frontend/build/client/_app/immutable/assets/12.Dm1nSEgE.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.Dm1nSEgE.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.DdQVxyZK.css +6 -0
- package/frontend/build/client/_app/immutable/assets/6.DdQVxyZK.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.DdQVxyZK.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.DOC8fPSI.css +6 -0
- package/frontend/build/client/_app/immutable/assets/8.DOC8fPSI.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.DOC8fPSI.css.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/assets/Toast.DENwYn3g.css → build/client/_app/immutable/assets/Button.C1zsJAUG.css} +1 -1
- package/frontend/build/client/_app/immutable/assets/Button.C1zsJAUG.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.C1zsJAUG.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/ExportMenu.DsJQ1Qua.css +6 -0
- package/frontend/build/client/_app/immutable/assets/ExportMenu.DsJQ1Qua.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/ExportMenu.DsJQ1Qua.css.gz +0 -0
- package/frontend/{.svelte-kit/output/server/_app/immutable/assets/_layout.HkPnpRl9.css → build/client/_app/immutable/assets/_layout.B4TT3qNx.css} +1 -1
- package/frontend/build/client/_app/immutable/assets/_layout.B4TT3qNx.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.B4TT3qNx.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.4bPj83tb.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.4bPj83tb.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.4bPj83tb.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgtEi_a.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgtEi_a.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.BwgtEi_a.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DOC8fPSI.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.DOC8fPSI.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.DOC8fPSI.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dm1nSEgE.css +6 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dm1nSEgE.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dm1nSEgE.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{C2_rQ4aY.js → 3MBVX4Yb.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/3MBVX4Yb.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/3MBVX4Yb.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/CfkUW1vA.js → build/client/_app/immutable/chunks/6VDMVB5U.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/6VDMVB5U.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/6VDMVB5U.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/B0_HKFXV.js → build/client/_app/immutable/chunks/B2lVGNml.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/B2lVGNml.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B2lVGNml.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/CboYYxrf.js → build/client/_app/immutable/chunks/BCh31ecr.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/BCh31ecr.js.br +6 -0
- package/frontend/build/client/_app/immutable/chunks/BCh31ecr.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BDb8hZHu.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/BDb8hZHu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BDb8hZHu.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{CeH-RgMb.js → BIf7lHIm.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/BIf7lHIm.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/{CeH-RgMb.js.gz → BIf7lHIm.js.gz} +0 -0
- package/frontend/build/client/_app/immutable/chunks/BIjh3jiU.js +8 -0
- package/frontend/build/client/_app/immutable/chunks/BIjh3jiU.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BIjh3jiU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BTV7EXZb.js +11 -0
- package/frontend/build/client/_app/immutable/chunks/BTV7EXZb.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BTV7EXZb.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DAmOMhaf.js → BWGoOYU0.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/BWGoOYU0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BWGoOYU0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BdBJfKUi.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/BdBJfKUi.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BdBJfKUi.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BAvTKHxT.js → build/client/_app/immutable/chunks/BnXsGCy3.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/BnXsGCy3.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BnXsGCy3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BtTNggoY.js +8 -0
- package/frontend/build/client/_app/immutable/chunks/BtTNggoY.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BtTNggoY.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C4Z3p6jE.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/C4Z3p6jE.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C4Z3p6jE.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNpD-yNH.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/CNpD-yNH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CNpD-yNH.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUPWZLIN.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/CUPWZLIN.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CUPWZLIN.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{Ck6C3Fl0.js → CXQhSK1T.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/CXQhSK1T.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CXQhSK1T.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C00jnSU2.js → build/client/_app/immutable/chunks/CtgCYzu5.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/CtgCYzu5.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CtgCYzu5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D72giPTu.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/D72giPTu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D72giPTu.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{GDjpV3r7.js → DDx3no2z.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/DDx3no2z.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DDx3no2z.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/D_thT6pZ.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/D_thT6pZ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/D_thT6pZ.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C8S7qQjQ.js → build/client/_app/immutable/chunks/DeiVAbyn.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/DeiVAbyn.js.br +6 -0
- package/frontend/build/client/_app/immutable/chunks/DeiVAbyn.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DiexacSB.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/DiexacSB.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DiexacSB.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/d2K3c8Kx.js → build/client/_app/immutable/chunks/Dlymnwnf.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/Dlymnwnf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dlymnwnf.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/Cgw8TOOy.js → build/client/_app/immutable/chunks/gCgJ3Cwu.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/gCgJ3Cwu.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/gCgJ3Cwu.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/BJ_ypKl3.js → build/client/_app/immutable/chunks/htkwR9b-.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/htkwR9b-.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/htkwR9b-.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/chunks/C7uEQ-LH.js → build/client/_app/immutable/chunks/iL4SCrvY.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/iL4SCrvY.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/iL4SCrvY.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{CoTEzvLa.js → kFFd6Oo5.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/kFFd6Oo5.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/kFFd6Oo5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/pNZogwkM.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/pNZogwkM.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/pNZogwkM.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{DWzEJYIF.js → prk8PJfA.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/prk8PJfA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/prk8PJfA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/qvxlSGpD.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/qvxlSGpD.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/qvxlSGpD.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/r_d1Iu0W.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/r_d1Iu0W.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/r_d1Iu0W.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/{B00vxw57.js → tsOANt55.js} +1 -1
- package/frontend/build/client/_app/immutable/chunks/tsOANt55.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/tsOANt55.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/zXSLr47H.js +6 -0
- package/frontend/build/client/_app/immutable/chunks/zXSLr47H.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/zXSLr47H.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DgdSwPuN.js +7 -0
- package/frontend/build/client/_app/immutable/entry/app.DgdSwPuN.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DgdSwPuN.js.gz +0 -0
- package/frontend/{.svelte-kit/output/client/_app/immutable/entry/start.BXOLyf9R.js → build/client/_app/immutable/entry/start.D_lhI48n.js} +1 -1
- package/frontend/build/client/_app/immutable/entry/{start.BXOLyf9R.js.br → start.D_lhI48n.js.br} +1 -1
- package/frontend/build/client/_app/immutable/entry/{start.BXOLyf9R.js.gz → start.D_lhI48n.js.gz} +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.D2F-i1I5.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/0.D2F-i1I5.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.D2F-i1I5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{1.BI97il3r.js → 1.JIF2GfHq.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/1.JIF2GfHq.js.br +5 -0
- package/frontend/build/client/_app/immutable/nodes/1.JIF2GfHq.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.A0AHLfOt.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/10.A0AHLfOt.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.A0AHLfOt.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.CVSPxlqY.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/11.CVSPxlqY.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.CVSPxlqY.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.CnAR0AQb.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/12.CnAR0AQb.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.CnAR0AQb.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{2.Dr6yugXz.js → 2.Bno00fr8.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/2.Bno00fr8.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.Bno00fr8.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.B6KwaCsM.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/3.B6KwaCsM.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.B6KwaCsM.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{4.DDADylfF.js → 4.BX70m3v6.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/4.BX70m3v6.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.BX70m3v6.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.UIFh06yr.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/5.UIFh06yr.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.UIFh06yr.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DZ1OV24V.js +10 -0
- package/frontend/build/client/_app/immutable/nodes/6.DZ1OV24V.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DZ1OV24V.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.B_XntBZ1.js +6 -0
- package/frontend/build/client/_app/immutable/nodes/7.B_XntBZ1.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.B_XntBZ1.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CVHgJw-E.js +9 -0
- package/frontend/build/client/_app/immutable/nodes/8.CVHgJw-E.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.CVHgJw-E.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/{9.BOK0GNF_.js → 9.DDDQPmMj.js} +1 -1
- package/frontend/build/client/_app/immutable/nodes/9.DDDQPmMj.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.DDDQPmMj.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/server/chunks/0-38cvTs44.js +22 -0
- package/frontend/build/server/chunks/0-38cvTs44.js.map +5 -0
- package/frontend/build/server/chunks/{1-B3HpigzL.js → 1-CcYsajvR.js} +2 -2
- package/frontend/build/server/chunks/{1-B3HpigzL.js.map → 1-CcYsajvR.js.map} +1 -1
- package/frontend/build/server/chunks/10-CFR2MUJt.js +14 -0
- package/frontend/build/server/chunks/10-CFR2MUJt.js.map +5 -0
- package/frontend/build/server/chunks/11-BmkiRQ9D.js +14 -0
- package/frontend/build/server/chunks/11-BmkiRQ9D.js.map +5 -0
- package/frontend/build/server/chunks/12-BphJAwnL.js +14 -0
- package/frontend/build/server/chunks/12-BphJAwnL.js.map +5 -0
- package/frontend/build/server/chunks/2-Dalgd2D4.js +14 -0
- package/frontend/build/server/chunks/{2-DioMbKbC.js.map → 2-Dalgd2D4.js.map} +1 -1
- package/frontend/build/server/chunks/3-BvsmdXCj.js +14 -0
- package/frontend/build/server/chunks/{3-CgiZg_9v.js.map → 3-BvsmdXCj.js.map} +1 -1
- package/frontend/build/server/chunks/4-CN18WCEn.js +14 -0
- package/frontend/build/server/chunks/{4-BM-49dbE.js.map → 4-CN18WCEn.js.map} +1 -1
- package/frontend/build/server/chunks/5-BwLYF3xL.js +14 -0
- package/frontend/build/server/chunks/{5-Brx_KOzy.js.map → 5-BwLYF3xL.js.map} +1 -1
- package/frontend/build/server/chunks/6-DTM2N_k3.js +14 -0
- package/frontend/build/server/chunks/6-DTM2N_k3.js.map +5 -0
- package/frontend/build/server/chunks/7-DTNbErSe.js +14 -0
- package/frontend/build/server/chunks/7-DTNbErSe.js.map +5 -0
- package/frontend/build/server/chunks/8-BfCbb7pl.js +14 -0
- package/frontend/build/server/chunks/8-BfCbb7pl.js.map +5 -0
- package/frontend/build/server/chunks/9-CQKepnMw.js +14 -0
- package/frontend/build/server/chunks/{9-BMAKiAem.js.map → 9-CQKepnMw.js.map} +1 -1
- package/frontend/build/server/chunks/{Toast-CHB87F8k.js → Button-B9h9viZX.js} +3 -17
- package/frontend/build/server/chunks/Button-B9h9viZX.js.map +5 -0
- package/frontend/build/server/chunks/{ConfirmModal-CtGWHl0v.js → ConfirmModal-C6Cz898n.js} +2 -2
- package/frontend/build/server/chunks/{ConfirmModal-CtGWHl0v.js.map → ConfirmModal-C6Cz898n.js.map} +1 -1
- package/frontend/build/server/chunks/{EmptyState-Zpm9tJe1.js → EmptyState-CRtsJIv6.js} +2 -2
- package/frontend/build/server/chunks/{EmptyState-Zpm9tJe1.js.map → EmptyState-CRtsJIv6.js.map} +1 -1
- package/frontend/build/server/chunks/{_layout.svelte-C_6nsIpT.js → _layout.svelte-B8vZGefg.js} +6 -7
- package/frontend/build/server/chunks/_layout.svelte-B8vZGefg.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-CTebwzwy.js → _page.svelte-BrnXHxJ4.js} +14 -7
- package/frontend/build/server/chunks/_page.svelte-BrnXHxJ4.js.map +5 -0
- package/frontend/build/server/chunks/_page.svelte-C2WqvInJ.js +898 -0
- package/frontend/build/server/chunks/_page.svelte-C2WqvInJ.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-Bamoq11m.js → _page.svelte-CP6jA1ex.js} +6 -6
- package/frontend/build/server/chunks/{_page.svelte-Bamoq11m.js.map → _page.svelte-CP6jA1ex.js.map} +1 -1
- package/frontend/build/server/chunks/{_page.svelte-CbTrCeeX.js → _page.svelte-D6b-klLK.js} +9 -9
- package/frontend/build/server/chunks/{_page.svelte-CbTrCeeX.js.map → _page.svelte-D6b-klLK.js.map} +1 -1
- package/frontend/build/server/chunks/{_page.svelte-CmJKt3-H.js → _page.svelte-DBjTpquQ.js} +18 -21
- package/frontend/build/server/chunks/_page.svelte-DBjTpquQ.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-DHZhNTPg.js → _page.svelte-DM1_y4Oq.js} +60 -42
- package/frontend/build/server/chunks/_page.svelte-DM1_y4Oq.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-DObTHQe2.js → _page.svelte-Mo-O3HJ5.js} +7 -7
- package/frontend/build/server/chunks/{_page.svelte-DObTHQe2.js.map → _page.svelte-Mo-O3HJ5.js.map} +1 -1
- package/frontend/build/server/chunks/{_page.svelte-CAlhaCzS.js → _page.svelte-mZF4NrfU.js} +9 -12
- package/frontend/build/server/chunks/_page.svelte-mZF4NrfU.js.map +5 -0
- package/frontend/build/server/chunks/{_page.svelte-BNwU9zza.js → _page.svelte-nrlgIFaU.js} +8 -11
- package/frontend/build/server/chunks/_page.svelte-nrlgIFaU.js.map +5 -0
- package/frontend/build/server/chunks/{common-DYYTVHPw.js → common-DS-Z0UFe.js} +7 -2
- package/frontend/build/server/chunks/common-DS-Z0UFe.js.map +5 -0
- package/frontend/build/server/chunks/{constants-BYVkTZ-O.js → constants-OmHysD51.js} +2 -2
- package/frontend/build/server/chunks/{constants-BYVkTZ-O.js.map → constants-OmHysD51.js.map} +1 -1
- package/frontend/build/server/chunks/{format-2pqy61MU.js → format-Bqb0as15.js} +2 -2
- package/frontend/build/server/chunks/{format-2pqy61MU.js.map → format-Bqb0as15.js.map} +1 -1
- package/frontend/build/server/chunks/{reports-WuXG6tj3.js → reports-chCHCDzB.js} +2 -2
- package/frontend/build/server/chunks/{reports-WuXG6tj3.js.map → reports-chCHCDzB.js.map} +1 -1
- package/frontend/build/server/chunks/{reports2-CCpI0xkQ.js → reports2-Dr3zu9CD.js} +2 -2
- package/frontend/build/server/chunks/{reports2-CCpI0xkQ.js.map → reports2-Dr3zu9CD.js.map} +1 -1
- package/frontend/build/server/chunks/{repository-TYWcFuWP.js → repository-DSsWVKEb.js} +5 -3
- package/frontend/build/server/chunks/repository-DSsWVKEb.js.map +5 -0
- package/frontend/build/server/chunks/{runner-D5yCWOsy.js → runner-aaUtOqck.js} +3 -3
- package/frontend/build/server/chunks/{runner-D5yCWOsy.js.map → runner-aaUtOqck.js.map} +1 -1
- package/frontend/build/server/index.js +1 -1
- package/frontend/build/server/index.js.map +1 -1
- package/frontend/build/server/manifest.js +14 -14
- package/frontend/build/server/manifest.js.map +1 -1
- package/frontend/package-lock.json +14 -0
- package/frontend/package.json +2 -0
- package/frontend/src/lib/api/reports.js +7 -0
- package/frontend/src/lib/api/repository.js +28 -0
- package/frontend/src/lib/components/layout/RunnerPanel.svelte +2 -1
- package/frontend/src/lib/components/reports/RecordingPlayer.svelte +172 -2
- package/frontend/src/lib/components/ui/ExportMenu.svelte +154 -0
- package/frontend/src/lib/components/ui/NotificationStack.svelte +177 -0
- package/frontend/src/lib/constants.js +1 -1
- package/frontend/src/lib/copy/common.js +9 -0
- package/frontend/src/lib/copy/reports.js +20 -0
- package/frontend/src/lib/copy/repository.js +4 -0
- package/frontend/src/lib/copy/settings.js +15 -0
- package/frontend/src/lib/stores/notifications.js +23 -0
- package/frontend/src/lib/stores/replayVideo.js +51 -0
- package/frontend/src/lib/utils/download.js +28 -0
- package/frontend/src/lib/utils/replayCapture.js +91 -0
- package/frontend/src/lib/utils/replayVideo.js +111 -0
- package/frontend/src/routes/+layout.svelte +2 -0
- package/frontend/src/routes/reports/[id]/+page.svelte +38 -3
- package/frontend/src/routes/scheduled-tests/+page.svelte +9 -17
- package/frontend/src/routes/settings/+page.svelte +140 -56
- package/frontend/src/routes/test-repository/+page.svelte +44 -16
- package/frontend/src/routes/test-repository/runs/[id]/+page.svelte +14 -23
- package/frontend/src/routes/test-repository/suites/[id]/+page.svelte +38 -22
- package/package.json +1 -1
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.5IJAEAjc.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.B9H_IpSU.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.COwSGmmy.css +0 -6
- package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.Dp6vaGRc.css +0 -6
- package/frontend/.svelte-kit/generated/client/nodes/13.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/10.CdaQUS6U.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/12.B9H_IpSU.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/6.BN5XbLUX.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/8.COwSGmmy.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.B9H_IpSU.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.COwSGmmy.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.Dp6vaGRc.css +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/2-KCkWZO.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/BbYY_TzB.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Beula-TH.js +0 -11
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CZWchtW8.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/CegSvdD-.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Cfmt4_tJ.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DB3YXVFP.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DgQy0SB2.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DiVmSEJa.js +0 -8
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/Dl-F6VCo.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/DuAVKaL3.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/chunks/K1h4wprj.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/entry/app.DRjRA71t.js +0 -7
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/0.CRb8Nyce.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/10.kyazROhw.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/11.B3vMgT2v.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/12.DkPcIrgW.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/3.DUiL7fb5.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/5.N4CeDeoD.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/6.DWd93Bv5.js +0 -10
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/7.c8d1cQQM.js +0 -6
- package/frontend/.svelte-kit/output/client/_app/immutable/nodes/8.Cvd3MauU.js +0 -9
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.5IJAEAjc.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.B9H_IpSU.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.COwSGmmy.css +0 -6
- package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.Dp6vaGRc.css +0 -6
- package/frontend/build/client/_app/immutable/assets/0.CmJTG5mP.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/0.CmJTG5mP.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/10.CdaQUS6U.css +0 -6
- 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/12.B9H_IpSU.css +0 -6
- package/frontend/build/client/_app/immutable/assets/12.B9H_IpSU.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/12.B9H_IpSU.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css +0 -6
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/6.BN5XbLUX.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css +0 -6
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/8.COwSGmmy.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/Button.FOWXxvc7.css +0 -6
- 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/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.HkPnpRl9.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_layout.HkPnpRl9.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.5IJAEAjc.css +0 -6
- 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.B9H_IpSU.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.B9H_IpSU.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.B9H_IpSU.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.COwSGmmy.css.gz +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css +0 -6
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css.br +0 -0
- package/frontend/build/client/_app/immutable/assets/_page.Dp6vaGRc.css.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/2-KCkWZO.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/B00vxw57.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B00vxw57.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/B0_HKFXV.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/B0_HKFXV.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAvTKHxT.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BAvTKHxT.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BJ_ypKl3.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BJ_ypKl3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/BbYY_TzB.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js +0 -11
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Beula-TH.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C00jnSU2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C00jnSU2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C2_rQ4aY.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C2_rQ4aY.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C7uEQ-LH.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C7uEQ-LH.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8S7qQjQ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/C8S7qQjQ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CZWchtW8.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CZWchtW8.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CZWchtW8.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CboYYxrf.js.br +0 -6
- package/frontend/build/client/_app/immutable/chunks/CboYYxrf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CeH-RgMb.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CegSvdD-.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/CegSvdD-.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CegSvdD-.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CfkUW1vA.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CfkUW1vA.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cfmt4_tJ.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cgw8TOOy.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Cgw8TOOy.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Ck6C3Fl0.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Ck6C3Fl0.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/CoTEzvLa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/CoTEzvLa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DAmOMhaf.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DAmOMhaf.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DB3YXVFP.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DWzEJYIF.js.br +0 -7
- package/frontend/build/client/_app/immutable/chunks/DWzEJYIF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DgQy0SB2.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/DgQy0SB2.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DgQy0SB2.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DiVmSEJa.js +0 -8
- package/frontend/build/client/_app/immutable/chunks/DiVmSEJa.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DiVmSEJa.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/Dl-F6VCo.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/DuAVKaL3.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/GDjpV3r7.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/GDjpV3r7.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js +0 -6
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/K1h4wprj.js.gz +0 -0
- package/frontend/build/client/_app/immutable/chunks/d2K3c8Kx.js.br +0 -0
- package/frontend/build/client/_app/immutable/chunks/d2K3c8Kx.js.gz +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js +0 -7
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js.br +0 -0
- package/frontend/build/client/_app/immutable/entry/app.DRjRA71t.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/0.CRb8Nyce.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.BI97il3r.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/1.BI97il3r.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.kyazROhw.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/10.kyazROhw.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/10.kyazROhw.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.B3vMgT2v.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/11.B3vMgT2v.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/11.B3vMgT2v.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/12.DkPcIrgW.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.Dr6yugXz.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/2.Dr6yugXz.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/3.DUiL7fb5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.DDADylfF.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/4.DDADylfF.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/5.N4CeDeoD.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js +0 -10
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/6.DWd93Bv5.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js +0 -6
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/7.c8d1cQQM.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js +0 -9
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/8.Cvd3MauU.js.gz +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.BOK0GNF_.js.br +0 -0
- package/frontend/build/client/_app/immutable/nodes/9.BOK0GNF_.js.gz +0 -0
- package/frontend/build/server/chunks/0-_rljpEay.js +0 -22
- package/frontend/build/server/chunks/0-_rljpEay.js.map +0 -5
- package/frontend/build/server/chunks/10-BQBBYpxV.js +0 -14
- package/frontend/build/server/chunks/10-BQBBYpxV.js.map +0 -5
- package/frontend/build/server/chunks/11-10xw0TIP.js +0 -14
- package/frontend/build/server/chunks/11-10xw0TIP.js.map +0 -5
- package/frontend/build/server/chunks/12-CZ3_Uw3c.js +0 -14
- package/frontend/build/server/chunks/12-CZ3_Uw3c.js.map +0 -5
- package/frontend/build/server/chunks/2-DioMbKbC.js +0 -14
- package/frontend/build/server/chunks/3-CgiZg_9v.js +0 -14
- package/frontend/build/server/chunks/4-BM-49dbE.js +0 -14
- package/frontend/build/server/chunks/5-Brx_KOzy.js +0 -14
- package/frontend/build/server/chunks/6-C5swINND.js +0 -14
- package/frontend/build/server/chunks/6-C5swINND.js.map +0 -5
- package/frontend/build/server/chunks/7-B8e4y3CB.js +0 -14
- package/frontend/build/server/chunks/7-B8e4y3CB.js.map +0 -5
- package/frontend/build/server/chunks/8-BZtkZMIZ.js +0 -14
- package/frontend/build/server/chunks/8-BZtkZMIZ.js.map +0 -5
- package/frontend/build/server/chunks/9-BMAKiAem.js +0 -14
- package/frontend/build/server/chunks/Toast-CHB87F8k.js.map +0 -5
- package/frontend/build/server/chunks/_layout.svelte-C_6nsIpT.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-BNwU9zza.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-CAlhaCzS.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-CTebwzwy.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-CmJKt3-H.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-DHZhNTPg.js.map +0 -5
- package/frontend/build/server/chunks/_page.svelte-ywHy9KCh.js +0 -852
- package/frontend/build/server/chunks/_page.svelte-ywHy9KCh.js.map +0 -5
- package/frontend/build/server/chunks/common-DYYTVHPw.js.map +0 -5
- package/frontend/build/server/chunks/repository-TYWcFuWP.js.map +0 -5
- package/frontend/src/lib/components/ui/Toast.svelte +0 -24
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import { fetchRunners } from '$lib/api/runners';
|
|
16
16
|
import { fetchIntegrations } from '$lib/api/settings';
|
|
17
17
|
import { backgroundRuns, findActiveCronRun } from '$lib/stores/runner';
|
|
18
|
-
import { BROWSERS, BUILTIN_RUNNER_ID
|
|
18
|
+
import { BROWSERS, BUILTIN_RUNNER_ID } from '$lib/constants';
|
|
19
19
|
import {
|
|
20
20
|
BUILTIN_RUNNER_LABEL,
|
|
21
21
|
EDIT_LABEL,
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
import Badge from '$lib/components/ui/Badge.svelte';
|
|
81
81
|
import Modal from '$lib/components/ui/Modal.svelte';
|
|
82
82
|
import ConfirmModal from '$lib/components/ui/ConfirmModal.svelte';
|
|
83
|
-
import
|
|
83
|
+
import { notify } from '$lib/stores/notifications';
|
|
84
84
|
import EmptyState from '$lib/components/ui/EmptyState.svelte';
|
|
85
85
|
|
|
86
86
|
const CRON_REGEX =
|
|
@@ -98,7 +98,6 @@
|
|
|
98
98
|
let cronJobs = [];
|
|
99
99
|
let availableRunners = [];
|
|
100
100
|
let integrations = { discordWebhookUrl: '', slackWebhookUrl: '', notifyPublicUrl: '' };
|
|
101
|
-
let toast = null;
|
|
102
101
|
|
|
103
102
|
let modalOpen = false;
|
|
104
103
|
let deleteModalOpen = false;
|
|
@@ -120,11 +119,6 @@
|
|
|
120
119
|
let useCustomCron = false;
|
|
121
120
|
let formError = '';
|
|
122
121
|
|
|
123
|
-
function showToast(type, message) {
|
|
124
|
-
toast = { type, message };
|
|
125
|
-
setTimeout(() => (toast = null), TOAST_TIMEOUT_MS);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
122
|
function handleScheduleChange(e) {
|
|
129
123
|
if (e.target.value === CUSTOM_SENTINEL) {
|
|
130
124
|
useCustomCron = true;
|
|
@@ -202,7 +196,7 @@
|
|
|
202
196
|
try {
|
|
203
197
|
const data = await saveCronJob({ ...form, isEditing, editTaskName });
|
|
204
198
|
if (data.message) {
|
|
205
|
-
|
|
199
|
+
notify('success', savedToast(isEditing, form.taskName));
|
|
206
200
|
modalOpen = false;
|
|
207
201
|
cronJobs = await fetchCronJobs();
|
|
208
202
|
} else {
|
|
@@ -220,16 +214,16 @@
|
|
|
220
214
|
await toggleCronJob(job.taskName, next);
|
|
221
215
|
} catch {
|
|
222
216
|
cronJobs = cronJobs.map((j) => (j.taskName === job.taskName ? { ...j, enabled: !next } : j));
|
|
223
|
-
|
|
217
|
+
notify('error', COULD_NOT_UPDATE_SCHEDULE);
|
|
224
218
|
}
|
|
225
219
|
}
|
|
226
220
|
|
|
227
221
|
async function handleRunNow(taskName) {
|
|
228
222
|
try {
|
|
229
223
|
await runCronJobNow(taskName);
|
|
230
|
-
|
|
224
|
+
notify('success', startedToast(taskName));
|
|
231
225
|
} catch {
|
|
232
|
-
|
|
226
|
+
notify('error', COULD_NOT_TRIGGER_RUN);
|
|
233
227
|
}
|
|
234
228
|
}
|
|
235
229
|
|
|
@@ -237,13 +231,13 @@
|
|
|
237
231
|
try {
|
|
238
232
|
const data = await deleteCronJob(taskToDelete);
|
|
239
233
|
if (data.message) {
|
|
240
|
-
|
|
234
|
+
notify('success', deletedToast(taskToDelete));
|
|
241
235
|
cronJobs = await fetchCronJobs();
|
|
242
236
|
} else {
|
|
243
|
-
|
|
237
|
+
notify('error', COULD_NOT_DELETE_JOB);
|
|
244
238
|
}
|
|
245
239
|
} catch {
|
|
246
|
-
|
|
240
|
+
notify('error', NETWORK_ERROR);
|
|
247
241
|
}
|
|
248
242
|
deleteModalOpen = false;
|
|
249
243
|
taskToDelete = '';
|
|
@@ -433,8 +427,6 @@
|
|
|
433
427
|
{DELETE_CONFIRM_PREFIX} <strong>{taskToDelete}</strong>{CANNOT_BE_UNDONE_SUFFIX}
|
|
434
428
|
</ConfirmModal>
|
|
435
429
|
|
|
436
|
-
<Toast {toast} />
|
|
437
|
-
|
|
438
430
|
<div class="page-header">
|
|
439
431
|
<div class="header-row">
|
|
440
432
|
<div>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { onMount } from 'svelte';
|
|
8
8
|
import { fly } from 'svelte/transition';
|
|
9
9
|
import { goto } from '$app/navigation';
|
|
10
|
+
import { page } from '$app/stores';
|
|
10
11
|
import {
|
|
11
12
|
fetchProject,
|
|
12
13
|
saveProject,
|
|
@@ -33,7 +34,12 @@
|
|
|
33
34
|
stopRunner,
|
|
34
35
|
restartRunner
|
|
35
36
|
} from '$lib/api/runners';
|
|
36
|
-
import {
|
|
37
|
+
import {
|
|
38
|
+
fetchPrefixes,
|
|
39
|
+
savePrefixes,
|
|
40
|
+
migratePrefixes,
|
|
41
|
+
importTestCases
|
|
42
|
+
} from '$lib/api/repository';
|
|
37
43
|
import { updateProfile, changePassword } from '$lib/api/auth';
|
|
38
44
|
import {
|
|
39
45
|
fetchUsers,
|
|
@@ -43,15 +49,9 @@
|
|
|
43
49
|
import { builtInEnabled } from '$lib/stores/runner';
|
|
44
50
|
import { auth } from '$lib/stores/auth';
|
|
45
51
|
import { theme } from '$lib/stores/theme';
|
|
46
|
-
import {
|
|
47
|
-
API_BASE,
|
|
48
|
-
BROWSERS,
|
|
49
|
-
TOAST_TIMEOUT_MS,
|
|
50
|
-
MAX_TEST_RETRIES,
|
|
51
|
-
COPY_TIMEOUT_MS
|
|
52
|
-
} from '$lib/constants';
|
|
52
|
+
import { API_BASE, BROWSERS, MAX_TEST_RETRIES, COPY_TIMEOUT_MS } from '$lib/constants';
|
|
53
53
|
import Button from '$lib/components/ui/Button.svelte';
|
|
54
|
-
import
|
|
54
|
+
import { notify } from '$lib/stores/notifications';
|
|
55
55
|
import ConfirmModal from '$lib/components/ui/ConfirmModal.svelte';
|
|
56
56
|
import Badge from '$lib/components/ui/Badge.svelte';
|
|
57
57
|
import { CANCEL_LABEL, EDIT_LABEL, SAVE_LABEL, EMAIL_LABEL } from '$lib/copy/common';
|
|
@@ -64,6 +64,15 @@
|
|
|
64
64
|
RUNNERS_LABEL,
|
|
65
65
|
REPOSITORY_NAV_LABEL,
|
|
66
66
|
REPOSITORY_HEADING,
|
|
67
|
+
TEST_CASES_NAV_LABEL,
|
|
68
|
+
TEST_CASES_HEADING,
|
|
69
|
+
TEST_CASES_DESC,
|
|
70
|
+
TC_IMPORT_CARD_TITLE,
|
|
71
|
+
TC_IMPORT_DESC,
|
|
72
|
+
TC_IMPORT_HINT,
|
|
73
|
+
TC_IMPORT_FAILED_FALLBACK,
|
|
74
|
+
tcImportLabel,
|
|
75
|
+
tcImportSummary,
|
|
67
76
|
INTEGRATIONS_LABEL,
|
|
68
77
|
MCP_NAV_LABEL,
|
|
69
78
|
MCP_HEADING,
|
|
@@ -283,8 +292,21 @@
|
|
|
283
292
|
backupSizeLabel
|
|
284
293
|
} from '$lib/copy/settings';
|
|
285
294
|
|
|
286
|
-
|
|
295
|
+
const VALID_SECTIONS = new Set([
|
|
296
|
+
'project',
|
|
297
|
+
'runners',
|
|
298
|
+
'repository',
|
|
299
|
+
'testcases',
|
|
300
|
+
'integrations',
|
|
301
|
+
'mcp',
|
|
302
|
+
'account',
|
|
303
|
+
'users',
|
|
304
|
+
'backup'
|
|
305
|
+
]);
|
|
306
|
+
|
|
307
|
+
const querySection = $page.url.searchParams.get('section');
|
|
287
308
|
let section =
|
|
309
|
+
(VALID_SECTIONS.has(querySection) && querySection) ||
|
|
288
310
|
(typeof sessionStorage !== 'undefined' && sessionStorage.getItem('plum:settings:section')) ||
|
|
289
311
|
'project';
|
|
290
312
|
|
|
@@ -297,7 +319,6 @@
|
|
|
297
319
|
|
|
298
320
|
let project = { name: '', logoUrl: '', timezone: 'UTC', maxRetries: 0 };
|
|
299
321
|
let projectSaving = false;
|
|
300
|
-
let toast = null;
|
|
301
322
|
|
|
302
323
|
const TIMEZONES = (() => {
|
|
303
324
|
try {
|
|
@@ -332,6 +353,11 @@
|
|
|
332
353
|
let exporting = false;
|
|
333
354
|
let fileInput;
|
|
334
355
|
|
|
356
|
+
let tcImportFile = null;
|
|
357
|
+
let tcImporting = false;
|
|
358
|
+
let tcFileInput;
|
|
359
|
+
let tcImportResult = null;
|
|
360
|
+
|
|
335
361
|
let integrations = { discordWebhookUrl: '', slackWebhookUrl: '', notifyPublicUrl: '' };
|
|
336
362
|
let integrationsSaving = false;
|
|
337
363
|
|
|
@@ -384,11 +410,6 @@
|
|
|
384
410
|
let editFormError = '';
|
|
385
411
|
let editFormSaving = false;
|
|
386
412
|
|
|
387
|
-
function showToast(type, message) {
|
|
388
|
-
toast = { type, message };
|
|
389
|
-
setTimeout(() => (toast = null), TOAST_TIMEOUT_MS);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
413
|
let runnersLoaded = false;
|
|
393
414
|
|
|
394
415
|
onMount(async () => {
|
|
@@ -500,7 +521,7 @@
|
|
|
500
521
|
};
|
|
501
522
|
runnerForm = { name: '', url: '', token: '', browser: 'chromium' };
|
|
502
523
|
runnerFormOpen = false;
|
|
503
|
-
|
|
524
|
+
notify('success', runnerAddedToast(runner.name));
|
|
504
525
|
} catch {
|
|
505
526
|
runnerFormError = ADD_RUNNER_FAILED;
|
|
506
527
|
} finally {
|
|
@@ -512,9 +533,9 @@
|
|
|
512
533
|
try {
|
|
513
534
|
await deleteRunner(id);
|
|
514
535
|
runners = runners.filter((r) => r.id !== id);
|
|
515
|
-
|
|
536
|
+
notify('success', runnerRemovedToast(name));
|
|
516
537
|
} catch {
|
|
517
|
-
|
|
538
|
+
notify('error', REMOVE_RUNNER_FAILED);
|
|
518
539
|
}
|
|
519
540
|
}
|
|
520
541
|
|
|
@@ -533,12 +554,12 @@
|
|
|
533
554
|
try {
|
|
534
555
|
const result = await stopRunner(id);
|
|
535
556
|
if (result.ok) {
|
|
536
|
-
|
|
557
|
+
notify('success', runnerStoppedToast(name));
|
|
537
558
|
} else {
|
|
538
|
-
|
|
559
|
+
notify('error', runnerStopFailedToast(name, result.error));
|
|
539
560
|
}
|
|
540
561
|
} catch {
|
|
541
|
-
|
|
562
|
+
notify('error', runnerStopFailedGenericToast(name));
|
|
542
563
|
} finally {
|
|
543
564
|
stoppingId = null;
|
|
544
565
|
refreshPing(id);
|
|
@@ -550,12 +571,12 @@
|
|
|
550
571
|
try {
|
|
551
572
|
const result = await restartRunner(id);
|
|
552
573
|
if (result.ok) {
|
|
553
|
-
|
|
574
|
+
notify('success', runnerRestartingToast(name));
|
|
554
575
|
} else {
|
|
555
|
-
|
|
576
|
+
notify('error', runnerRestartFailedToast(name, result.error));
|
|
556
577
|
}
|
|
557
578
|
} catch {
|
|
558
|
-
|
|
579
|
+
notify('error', runnerRestartFailedGenericToast(name));
|
|
559
580
|
} finally {
|
|
560
581
|
restartingId = null;
|
|
561
582
|
// Give the replacement process a moment to bind before checking on it.
|
|
@@ -596,7 +617,7 @@
|
|
|
596
617
|
const { runner } = await updateRunner(id, editForm);
|
|
597
618
|
runners = runners.map((r) => (r.id === id ? runner : r));
|
|
598
619
|
editingId = null;
|
|
599
|
-
|
|
620
|
+
notify('success', runnerUpdatedToast(runner.name));
|
|
600
621
|
} catch {
|
|
601
622
|
editFormError = UPDATE_RUNNER_FAILED;
|
|
602
623
|
} finally {
|
|
@@ -608,9 +629,9 @@
|
|
|
608
629
|
projectSaving = true;
|
|
609
630
|
try {
|
|
610
631
|
await saveProject(project);
|
|
611
|
-
|
|
632
|
+
notify('success', PROJECT_SAVED_TOAST);
|
|
612
633
|
} catch {
|
|
613
|
-
|
|
634
|
+
notify('error', PROJECT_SAVE_FAILED);
|
|
614
635
|
} finally {
|
|
615
636
|
projectSaving = false;
|
|
616
637
|
}
|
|
@@ -627,9 +648,9 @@
|
|
|
627
648
|
a.download = backupFilename(new Date().toISOString().slice(0, 10));
|
|
628
649
|
a.click();
|
|
629
650
|
URL.revokeObjectURL(url);
|
|
630
|
-
|
|
651
|
+
notify('success', BACKUP_DOWNLOADED_TOAST);
|
|
631
652
|
} catch {
|
|
632
|
-
|
|
653
|
+
notify('error', EXPORT_FAILED_TOAST);
|
|
633
654
|
} finally {
|
|
634
655
|
exporting = false;
|
|
635
656
|
}
|
|
@@ -643,12 +664,12 @@
|
|
|
643
664
|
const data = JSON.parse(text);
|
|
644
665
|
const result = await importBackup(data);
|
|
645
666
|
if (result.error) throw new Error(result.error);
|
|
646
|
-
|
|
667
|
+
notify('success', IMPORT_SUCCESS_TOAST);
|
|
647
668
|
project = await fetchProject();
|
|
648
669
|
importFile = null;
|
|
649
670
|
if (fileInput) fileInput.value = '';
|
|
650
671
|
} catch (e) {
|
|
651
|
-
|
|
672
|
+
notify('error', e.message || IMPORT_FAILED_FALLBACK);
|
|
652
673
|
} finally {
|
|
653
674
|
importing = false;
|
|
654
675
|
}
|
|
@@ -658,13 +679,35 @@
|
|
|
658
679
|
importFile = e.target.files[0] ?? null;
|
|
659
680
|
}
|
|
660
681
|
|
|
682
|
+
function handleTcFileChange(e) {
|
|
683
|
+
tcImportFile = e.target.files[0] ?? null;
|
|
684
|
+
tcImportResult = null;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
async function handleTcImport() {
|
|
688
|
+
if (!tcImportFile) return;
|
|
689
|
+
tcImporting = true;
|
|
690
|
+
tcImportResult = null;
|
|
691
|
+
try {
|
|
692
|
+
const data = JSON.parse(await tcImportFile.text());
|
|
693
|
+
tcImportResult = await importTestCases(data);
|
|
694
|
+
notify('success', tcImportSummary(tcImportResult));
|
|
695
|
+
tcImportFile = null;
|
|
696
|
+
if (tcFileInput) tcFileInput.value = '';
|
|
697
|
+
} catch (e) {
|
|
698
|
+
notify('error', e.message || TC_IMPORT_FAILED_FALLBACK);
|
|
699
|
+
} finally {
|
|
700
|
+
tcImporting = false;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
661
704
|
async function handleSavePrefixes() {
|
|
662
705
|
prefixesSaving = true;
|
|
663
706
|
try {
|
|
664
707
|
prefixes = await savePrefixes(prefixes);
|
|
665
|
-
|
|
708
|
+
notify('success', PREFIXES_SAVED_TOAST);
|
|
666
709
|
} catch {
|
|
667
|
-
|
|
710
|
+
notify('error', PREFIXES_SAVE_FAILED);
|
|
668
711
|
} finally {
|
|
669
712
|
prefixesSaving = false;
|
|
670
713
|
}
|
|
@@ -675,9 +718,9 @@
|
|
|
675
718
|
try {
|
|
676
719
|
await migratePrefixes(migrateForm);
|
|
677
720
|
prefixes = { ...prefixes, ...migrateForm };
|
|
678
|
-
|
|
721
|
+
notify('success', MIGRATION_COMPLETE_TOAST);
|
|
679
722
|
} catch {
|
|
680
|
-
|
|
723
|
+
notify('error', MIGRATION_FAILED_TOAST);
|
|
681
724
|
} finally {
|
|
682
725
|
migrating = false;
|
|
683
726
|
}
|
|
@@ -693,7 +736,7 @@
|
|
|
693
736
|
email: profileForm.email
|
|
694
737
|
});
|
|
695
738
|
auth.login($auth.token, { ...$auth.user, ...user });
|
|
696
|
-
|
|
739
|
+
notify('success', PROFILE_UPDATED_TOAST);
|
|
697
740
|
} catch (e) {
|
|
698
741
|
profileError = e.message;
|
|
699
742
|
} finally {
|
|
@@ -712,7 +755,7 @@
|
|
|
712
755
|
const user = await createUserApi(userForm);
|
|
713
756
|
allUsers = [...allUsers, user];
|
|
714
757
|
userForm = { name: '', email: '', password: '', role: 'user' };
|
|
715
|
-
|
|
758
|
+
notify('success', userAddedToast(user.name));
|
|
716
759
|
} catch (e) {
|
|
717
760
|
userFormError = e.message;
|
|
718
761
|
} finally {
|
|
@@ -724,9 +767,9 @@
|
|
|
724
767
|
try {
|
|
725
768
|
await deleteUserApi(id);
|
|
726
769
|
allUsers = allUsers.filter((u) => u.id !== id);
|
|
727
|
-
|
|
770
|
+
notify('success', userRemovedToast(name));
|
|
728
771
|
} catch (e) {
|
|
729
|
-
|
|
772
|
+
notify('error', e.message);
|
|
730
773
|
}
|
|
731
774
|
confirmDeleteUser = null;
|
|
732
775
|
confirmDeleteUserOpen = false;
|
|
@@ -750,7 +793,7 @@
|
|
|
750
793
|
newPassword: pwForm.newPassword
|
|
751
794
|
});
|
|
752
795
|
pwForm = { currentPassword: '', newPassword: '', confirmPassword: '' };
|
|
753
|
-
|
|
796
|
+
notify('success', PASSWORD_CHANGED_TOAST);
|
|
754
797
|
} catch (e) {
|
|
755
798
|
pwError = e.message;
|
|
756
799
|
} finally {
|
|
@@ -770,9 +813,9 @@
|
|
|
770
813
|
mcpKey = result.mcpKey;
|
|
771
814
|
mcpKeySet = true;
|
|
772
815
|
mcpShowKey = true;
|
|
773
|
-
|
|
816
|
+
notify('success', MCP_KEY_GENERATED_TOAST);
|
|
774
817
|
} catch {
|
|
775
|
-
|
|
818
|
+
notify('error', MCP_KEY_GENERATE_FAILED);
|
|
776
819
|
} finally {
|
|
777
820
|
mcpGenerating = false;
|
|
778
821
|
}
|
|
@@ -803,9 +846,9 @@
|
|
|
803
846
|
integrationsSaving = true;
|
|
804
847
|
try {
|
|
805
848
|
integrations = await saveIntegrations(integrations);
|
|
806
|
-
|
|
849
|
+
notify('success', INTEGRATIONS_SAVED_TOAST);
|
|
807
850
|
} catch {
|
|
808
|
-
|
|
851
|
+
notify('error', INTEGRATIONS_SAVE_FAILED);
|
|
809
852
|
} finally {
|
|
810
853
|
integrationsSaving = false;
|
|
811
854
|
}
|
|
@@ -820,9 +863,9 @@
|
|
|
820
863
|
if (result.error) throw new Error(result.error);
|
|
821
864
|
if (backupConfig.backupS3SecretKey) backupS3SecretKeySet = true;
|
|
822
865
|
backupConfig = { ...backupConfig, backupS3SecretKey: '' };
|
|
823
|
-
|
|
866
|
+
notify('success', BACKUP_CONFIG_SAVED_TOAST);
|
|
824
867
|
} catch (e) {
|
|
825
|
-
|
|
868
|
+
notify('error', e.message || BACKUP_CONFIG_SAVE_FAILED);
|
|
826
869
|
} finally {
|
|
827
870
|
backupConfigSaving = false;
|
|
828
871
|
}
|
|
@@ -837,9 +880,9 @@
|
|
|
837
880
|
if (result.error) throw new Error(result.error);
|
|
838
881
|
if (backupConfig.backupS3SecretKey) backupS3SecretKeySet = true;
|
|
839
882
|
backupConfig = { ...backupConfig, backupS3SecretKey: '' };
|
|
840
|
-
|
|
883
|
+
notify('success', BACKUP_CONFIG_SAVED_TOAST);
|
|
841
884
|
} catch (e) {
|
|
842
|
-
|
|
885
|
+
notify('error', e.message || BACKUP_CONFIG_SAVE_FAILED);
|
|
843
886
|
} finally {
|
|
844
887
|
includeReportsSaving = false;
|
|
845
888
|
}
|
|
@@ -869,9 +912,9 @@
|
|
|
869
912
|
if (result.error) throw new Error(result.error);
|
|
870
913
|
backupLastRunAt = result.lastRunAt;
|
|
871
914
|
backupLastStatus = result.lastStatus ?? '';
|
|
872
|
-
|
|
915
|
+
notify('success', BACKUP_UPLOAD_SUCCESS_TOAST);
|
|
873
916
|
} catch (e) {
|
|
874
|
-
|
|
917
|
+
notify('error', e.message || BACKUP_UPLOAD_FAILED_FALLBACK);
|
|
875
918
|
const bc = await fetchBackupConfig().catch(() => null);
|
|
876
919
|
if (bc) {
|
|
877
920
|
backupLastRunAt = bc.backupLastRunAt;
|
|
@@ -902,7 +945,7 @@
|
|
|
902
945
|
if (result.error) throw new Error(result.error);
|
|
903
946
|
s3Backups = result.backups ?? [];
|
|
904
947
|
} catch (e) {
|
|
905
|
-
|
|
948
|
+
notify('error', e.message || LIST_S3_BACKUPS_FAILED);
|
|
906
949
|
} finally {
|
|
907
950
|
loadingS3Backups = false;
|
|
908
951
|
}
|
|
@@ -919,12 +962,12 @@
|
|
|
919
962
|
try {
|
|
920
963
|
const result = await restoreFromS3(restoreTarget.key);
|
|
921
964
|
if (result.error) throw new Error(result.error);
|
|
922
|
-
|
|
965
|
+
notify('success', RESTORE_SUCCESS_TOAST);
|
|
923
966
|
project = await fetchProject();
|
|
924
967
|
restoreConfirmOpen = false;
|
|
925
968
|
restoreTarget = null;
|
|
926
969
|
} catch (e) {
|
|
927
|
-
|
|
970
|
+
notify('error', e.message || RESTORE_FAILED_FALLBACK);
|
|
928
971
|
} finally {
|
|
929
972
|
restoringKey = null;
|
|
930
973
|
}
|
|
@@ -959,6 +1002,7 @@
|
|
|
959
1002
|
'project',
|
|
960
1003
|
'runners',
|
|
961
1004
|
'repository',
|
|
1005
|
+
'testcases',
|
|
962
1006
|
'integrations',
|
|
963
1007
|
'mcp',
|
|
964
1008
|
'users',
|
|
@@ -975,6 +1019,7 @@
|
|
|
975
1019
|
{ id: 'project', label: PROJECT_LABEL },
|
|
976
1020
|
{ id: 'runners', label: RUNNERS_LABEL },
|
|
977
1021
|
{ id: 'repository', label: REPOSITORY_NAV_LABEL },
|
|
1022
|
+
{ id: 'testcases', label: TEST_CASES_NAV_LABEL },
|
|
978
1023
|
{ id: 'integrations', label: INTEGRATIONS_LABEL },
|
|
979
1024
|
{ id: 'mcp', label: MCP_NAV_LABEL },
|
|
980
1025
|
{ id: 'account', label: ACCOUNT_LABEL },
|
|
@@ -986,8 +1031,6 @@
|
|
|
986
1031
|
|
|
987
1032
|
<svelte:head><title>{PAGE_TITLE}</title></svelte:head>
|
|
988
1033
|
|
|
989
|
-
<Toast {toast} />
|
|
990
|
-
|
|
991
1034
|
<div class="page-header">
|
|
992
1035
|
<h1>{HEADING}</h1>
|
|
993
1036
|
</div>
|
|
@@ -1445,6 +1488,41 @@
|
|
|
1445
1488
|
</div>
|
|
1446
1489
|
</div>
|
|
1447
1490
|
|
|
1491
|
+
<!-- TEST CASES -->
|
|
1492
|
+
{:else if section === 'testcases'}
|
|
1493
|
+
<div class="content-section" transition:fly={{ y: 6, duration: 180 }}>
|
|
1494
|
+
<div class="content-header">
|
|
1495
|
+
<h2>{TEST_CASES_HEADING}</h2>
|
|
1496
|
+
<p class="content-desc">{TEST_CASES_DESC}</p>
|
|
1497
|
+
</div>
|
|
1498
|
+
|
|
1499
|
+
<div class="card settings-card">
|
|
1500
|
+
<p class="card-title">{TC_IMPORT_CARD_TITLE}</p>
|
|
1501
|
+
<div class="backup-block">
|
|
1502
|
+
<p class="backup-block-desc">{TC_IMPORT_DESC}</p>
|
|
1503
|
+
<div class="import-row">
|
|
1504
|
+
<label class="file-label">
|
|
1505
|
+
<input
|
|
1506
|
+
bind:this={tcFileInput}
|
|
1507
|
+
type="file"
|
|
1508
|
+
accept=".json,application/json"
|
|
1509
|
+
class="file-input-hidden"
|
|
1510
|
+
on:change={handleTcFileChange}
|
|
1511
|
+
/>
|
|
1512
|
+
<span class="file-btn">{tcImportFile ? tcImportFile.name : CHOOSE_FILE_LABEL}</span>
|
|
1513
|
+
</label>
|
|
1514
|
+
<Button on:click={handleTcImport} disabled={!tcImportFile || tcImporting}>
|
|
1515
|
+
{tcImportLabel(tcImporting)}
|
|
1516
|
+
</Button>
|
|
1517
|
+
</div>
|
|
1518
|
+
{#if tcImportResult}
|
|
1519
|
+
<p class="tc-import-result">{tcImportSummary(tcImportResult)}</p>
|
|
1520
|
+
{/if}
|
|
1521
|
+
<p class="backup-block-desc">{TC_IMPORT_HINT}</p>
|
|
1522
|
+
</div>
|
|
1523
|
+
</div>
|
|
1524
|
+
</div>
|
|
1525
|
+
|
|
1448
1526
|
<!-- INTEGRATIONS -->
|
|
1449
1527
|
{:else if section === 'integrations'}
|
|
1450
1528
|
<div class="content-section" transition:fly={{ y: 6, duration: 180 }}>
|
|
@@ -2718,6 +2796,12 @@
|
|
|
2718
2796
|
font-size: 0.8125rem;
|
|
2719
2797
|
}
|
|
2720
2798
|
|
|
2799
|
+
.tc-import-result {
|
|
2800
|
+
margin-top: 0.75rem;
|
|
2801
|
+
font-size: 0.85rem;
|
|
2802
|
+
color: var(--text);
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2721
2805
|
.import-row {
|
|
2722
2806
|
display: flex;
|
|
2723
2807
|
align-items: center;
|
|
@@ -8,15 +8,22 @@
|
|
|
8
8
|
import { fly } from 'svelte/transition';
|
|
9
9
|
import { fetchSuites, createSuite, deleteSuite, searchRepository } from '$lib/api/repository';
|
|
10
10
|
import { fetchRuns, createRun, duplicateRun, deleteRun } from '$lib/api/repository';
|
|
11
|
+
import { downloadTestCaseExport } from '$lib/api/repository';
|
|
12
|
+
import ExportMenu from '$lib/components/ui/ExportMenu.svelte';
|
|
13
|
+
import { exportFailedToast, exportedToast } from '$lib/copy/common';
|
|
14
|
+
import {
|
|
15
|
+
IMPORT_TEST_CASES_LINK,
|
|
16
|
+
IMPORT_TEST_CASES_HREF,
|
|
17
|
+
EXPORT_TEST_CASES_WHAT
|
|
18
|
+
} from '$lib/copy/repository';
|
|
11
19
|
import { runsVersion } from '$lib/stores/runner';
|
|
12
20
|
import Pagination from '$lib/components/ui/Pagination.svelte';
|
|
13
21
|
import { REPO_PAGE_SIZE } from '$lib/constants';
|
|
14
22
|
import EmptyState from '$lib/components/ui/EmptyState.svelte';
|
|
15
23
|
import ConfirmModal from '$lib/components/ui/ConfirmModal.svelte';
|
|
16
24
|
import Modal from '$lib/components/ui/Modal.svelte';
|
|
17
|
-
import
|
|
25
|
+
import { notify } from '$lib/stores/notifications';
|
|
18
26
|
import Button from '$lib/components/ui/Button.svelte';
|
|
19
|
-
import { TOAST_TIMEOUT_MS } from '$lib/constants';
|
|
20
27
|
import {
|
|
21
28
|
CLEAR_SEARCH_LABEL,
|
|
22
29
|
CANCEL_LABEL,
|
|
@@ -121,7 +128,6 @@
|
|
|
121
128
|
}
|
|
122
129
|
|
|
123
130
|
let loading = true;
|
|
124
|
-
let toast = null;
|
|
125
131
|
|
|
126
132
|
// Search results (server-side when query is active)
|
|
127
133
|
let searchResults = null;
|
|
@@ -174,9 +180,17 @@
|
|
|
174
180
|
|
|
175
181
|
const PRIORITIES = ['Critical', 'High', 'Medium', 'Low'];
|
|
176
182
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
let exporting = false;
|
|
184
|
+
async function handleExport(format) {
|
|
185
|
+
exporting = true;
|
|
186
|
+
try {
|
|
187
|
+
await downloadTestCaseExport('all', null, format);
|
|
188
|
+
notify('success', exportedToast(EXPORT_TEST_CASES_WHAT));
|
|
189
|
+
} catch {
|
|
190
|
+
notify('error', exportFailedToast(EXPORT_TEST_CASES_WHAT.toLowerCase()));
|
|
191
|
+
} finally {
|
|
192
|
+
exporting = false;
|
|
193
|
+
}
|
|
180
194
|
}
|
|
181
195
|
|
|
182
196
|
async function loadSuites(page = 1) {
|
|
@@ -222,7 +236,7 @@
|
|
|
222
236
|
try {
|
|
223
237
|
await Promise.all([loadSuites(1), loadRuns(1)]);
|
|
224
238
|
} catch (e) {
|
|
225
|
-
|
|
239
|
+
notify('error', FAILED_TO_LOAD_DATA);
|
|
226
240
|
} finally {
|
|
227
241
|
loading = false;
|
|
228
242
|
}
|
|
@@ -241,7 +255,7 @@
|
|
|
241
255
|
suitesTotal += 1;
|
|
242
256
|
suiteModalOpen = false;
|
|
243
257
|
suiteForm = { name: '', description: '', priority: 'Medium' };
|
|
244
|
-
|
|
258
|
+
notify('success', suiteCreatedToast(suite.name));
|
|
245
259
|
} catch (e) {
|
|
246
260
|
suiteFormError = e.message;
|
|
247
261
|
} finally {
|
|
@@ -254,9 +268,9 @@
|
|
|
254
268
|
await deleteSuite(id);
|
|
255
269
|
suites = suites.filter((s) => s.id !== id);
|
|
256
270
|
suitesTotal -= 1;
|
|
257
|
-
|
|
271
|
+
notify('success', suiteDeletedToast(name));
|
|
258
272
|
} catch {
|
|
259
|
-
|
|
273
|
+
notify('error', FAILED_TO_DELETE_SUITE);
|
|
260
274
|
}
|
|
261
275
|
confirmDelete = null;
|
|
262
276
|
confirmDeleteOpen = false;
|
|
@@ -297,9 +311,9 @@
|
|
|
297
311
|
runs = [copy, ...runs];
|
|
298
312
|
runsTotal += 1;
|
|
299
313
|
runsVersion.update((v) => v + 1);
|
|
300
|
-
|
|
314
|
+
notify('success', duplicatedAsToast(copy.title));
|
|
301
315
|
} catch {
|
|
302
|
-
|
|
316
|
+
notify('error', FAILED_TO_DUPLICATE_RUN);
|
|
303
317
|
}
|
|
304
318
|
}
|
|
305
319
|
|
|
@@ -309,9 +323,9 @@
|
|
|
309
323
|
runs = runs.filter((r) => r.id !== id);
|
|
310
324
|
runsTotal -= 1;
|
|
311
325
|
runsVersion.update((v) => v + 1);
|
|
312
|
-
|
|
326
|
+
notify('success', runDeletedToast(title));
|
|
313
327
|
} catch {
|
|
314
|
-
|
|
328
|
+
notify('error', FAILED_TO_DELETE_RUN);
|
|
315
329
|
}
|
|
316
330
|
confirmDelete = null;
|
|
317
331
|
confirmDeleteOpen = false;
|
|
@@ -328,8 +342,6 @@
|
|
|
328
342
|
|
|
329
343
|
<svelte:head><title>{PAGE_TITLE}</title></svelte:head>
|
|
330
344
|
|
|
331
|
-
<Toast {toast} />
|
|
332
|
-
|
|
333
345
|
<ConfirmModal
|
|
334
346
|
bind:open={confirmDeleteOpen}
|
|
335
347
|
title={deleteEntityTitle(confirmDelete?.type)}
|
|
@@ -433,6 +445,8 @@
|
|
|
433
445
|
</div>
|
|
434
446
|
<div class="header-actions">
|
|
435
447
|
{#if tab === 'suites'}
|
|
448
|
+
<a class="import-link" href={IMPORT_TEST_CASES_HREF}>{IMPORT_TEST_CASES_LINK}</a>
|
|
449
|
+
<ExportMenu busy={exporting} on:select={(e) => handleExport(e.detail)} />
|
|
436
450
|
<Button on:click={() => (suiteModalOpen = true)}>{NEW_SUITE_LABEL}</Button>
|
|
437
451
|
{:else}
|
|
438
452
|
<Button on:click={() => (runModalOpen = true)}>{NEW_RUN_LABEL}</Button>
|
|
@@ -876,6 +890,20 @@
|
|
|
876
890
|
.header-actions {
|
|
877
891
|
flex-shrink: 0;
|
|
878
892
|
padding-top: 0.25rem;
|
|
893
|
+
display: flex;
|
|
894
|
+
align-items: center;
|
|
895
|
+
gap: 0.75rem;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.import-link {
|
|
899
|
+
font-size: 0.8rem;
|
|
900
|
+
color: var(--text-muted);
|
|
901
|
+
text-decoration: none;
|
|
902
|
+
white-space: nowrap;
|
|
903
|
+
}
|
|
904
|
+
.import-link:hover {
|
|
905
|
+
color: var(--accent);
|
|
906
|
+
text-decoration: underline;
|
|
879
907
|
}
|
|
880
908
|
|
|
881
909
|
/* ── Tabs ── */
|