Map superuser dashboard changes to E2E

This commit is contained in:
Jeppe Bundgaard
2026-07-06 14:56:18 +02:00
parent b8959cb7bb
commit d84e9e3406
2 changed files with 18 additions and 0 deletions
+9
View File
@@ -33,6 +33,15 @@ export const sourceMappings = [
specs: ["tests/e2e/superuser-roles-permissions.spec.ts"],
projects: chromiumProjects,
},
{
name: "superuser-dashboard",
patterns: [
/^src\/views\/dashboards\/superUserDashboard\/SuperUserDashboard(?:Navigation)?\.vue$/u,
/^src\/components\/displays\/superuser\/system\//u,
],
specs: ["tests/e2e/superuser-system-status.smoke.spec.js"],
projects: chromiumProjects,
},
{
name: "booking",
patterns: [/bookings?/iu, /time-bookings/iu, /^src\/views\/guest\/book\//u],
+9
View File
@@ -33,6 +33,15 @@ describe("Playwright PR mapping", () => {
);
});
it("maps superuser dashboard shell changes to system status E2E coverage", () => {
expect(specsFor("src/views/dashboards/superUserDashboard/SuperUserDashboardNavigation.vue")).toContain(
"tests/e2e/superuser-system-status.smoke.spec.js"
);
expect(specsFor("src/components/displays/superuser/system/SystemStatusDashboard.vue")).toContain(
"tests/e2e/superuser-system-status.smoke.spec.js"
);
});
it("keeps full-slice ownership metadata out of broad PR smoke fallback", () => {
expect(triggersFallback("scripts/run-playwright-pr.mjs")).toBe(true);
expect(triggersFallback("scripts/run-playwright-ci-parallel.mjs")).toBe(true);