Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Run native settings scroll regressions in browser CI

rcourtman2a149603f093
diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml
index 5d4cb4c2ad..d1052323fa 100644
--- a/.github/workflows/test-e2e.yml
+++ b/.github/workflows/test-e2e.yml
@@ -367,6 +367,11 @@ jobs:
working-directory: internal/cloudcp/portal/frontend
run: npm ci
+ - name: Validate native settings scroll geometry
+ if: matrix.shard == 1
+ working-directory: tests/integration
+ run: node --test scripts/settings-scroll-audit.test.mjs
+
- name: Download this run's exact test images
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index b1a6db1559..146765c011 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -3050,12 +3050,15 @@ artifact-selection behaviour.
Chromium/WebKit traversal of short and 30,000px content plus the positive
horizontal-overflow control; the live mobile audit keeps its bottom and
overflow assertions.
-Bottom position and horizontal width are judged from the same browser snapshot.
-If content reflows after traversal, the audit finishes the changed extent before
-accepting that snapshot. A scroll reset with an unchanged extent remains an
-error. Native browser controls reproduce a reflow between the old separate reads,
-verify the newly revealed footer and retain both overflow and scroll-reset
-negative controls.
+ Bottom position and horizontal width are judged from the same browser snapshot.
+ If content reflows after traversal, the audit finishes the changed extent before
+ accepting that snapshot. A scroll reset with an unchanged extent remains an
+ error. Native browser controls reproduce a reflow between the old separate reads,
+ verify the newly revealed footer and retain both overflow and scroll-reset
+ negative controls. Core E2E runs this native geometry proof once, in shard 1
+ after Chromium/WebKit installation and before image admission or container
+ startup. Its failure stops that shard and reaches the existing E2E verdict.
+ The proof must not depend on probation admission or ignore a failed command.
The built `index.html` must not modulepreload lazy route chunks: the SRI
plugin runs with `preloadDynamicChunks: false` so cold start fetches only the
entry and its static vendor imports (route-level code splitting stays
diff --git a/scripts/tests/test_e2e_test_images.py b/scripts/tests/test_e2e_test_images.py
index 96a04d7fb3..52db887caa 100644
--- a/scripts/tests/test_e2e_test_images.py
+++ b/scripts/tests/test_e2e_test_images.py
@@ -375,6 +375,17 @@ class E2EImageWorkflowTest(unittest.TestCase):
self.assertNotIn("docker", step.lower())
self.assertIn("timeout-minutes: 60", job_block(workflow, "e2e"))
self.assertIn("shard: [1, 2, 3, 4, 5, 6, 7, 8]", job_block(workflow, "e2e"))
+ consumer = job_block(workflow, "e2e")
+ geometry_start = consumer.index("- name: Validate native settings scroll geometry\n")
+ geometry_end = consumer.index("\n - name:", geometry_start)
+ geometry = consumer[geometry_start:geometry_end]
+ self.assertIn("if: matrix.shard == 1\n", geometry)
+ self.assertIn("working-directory: tests/integration\n", geometry)
+ self.assertIn("run: node --test scripts/settings-scroll-audit.test.mjs\n", geometry)
+ self.assertNotIn("continue-on-error", geometry)
+ self.assertNotIn("||", geometry)
+ self.assertLess(consumer.index("npx playwright install --with-deps chromium webkit"), geometry_start)
+ self.assertLess(geometry_start, consumer.index("- name: Admit the source-bound test images"))
self.assertIn("timeout-minutes: 30", job_block(workflow, "agent-registration"))
verdict = job_block(workflow, "e2e-verdict")
self.assertIn(" - test-images\n", verdict)
@@ -405,6 +416,9 @@ class E2EImageWorkflowTest(unittest.TestCase):
("PULSE_E2E_MANIFEST_SHA256: ${{ needs.test-images.outputs.manifest-sha256 }}", "PULSE_E2E_MANIFEST_SHA256: unchecked"),
(" - test-images\n", ""),
("path: ~/.cache/pulse-browser-os-packages\n", "path: ${{ runner.temp }}/pulse-e2e-images\n"),
+ ("if: matrix.shard == 1\n", "if: matrix.shard == 2\n"),
+ ("run: node --test scripts/settings-scroll-audit.test.mjs\n",
+ "run: node --test scripts/settings-scroll-audit.test.mjs || true\n"),
):
with self.subTest(mutation=new):
with self.assertRaises(AssertionError):