Map superuser dashboard changes to E2E
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user