Skip to content

Commit d09b525

Browse files
github-actions[bot]rjpowerclaude
committed
fix: always run npm ci + build in e2e dashboard fixture
Remove the early return when dist/ already exists so that the dashboard is always rebuilt, ensuring tests never run against stale assets. Co-authored-by: Russell Power <rjpower@users.noreply.github.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fc8def1 commit d09b525

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/iris/tests/e2e/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@
5151
def _ensure_dashboard_built():
5252
"""Build dashboard assets once per session so dashboard tests have content to render."""
5353
dashboard_dir = IRIS_ROOT / "dashboard"
54-
dist_dir = dashboard_dir / "dist"
55-
if dist_dir.exists() and any(dist_dir.iterdir()):
56-
return
5754
if not (dashboard_dir / "package.json").exists():
5855
return
5956
if shutil.which("npm") is None:

0 commit comments

Comments
 (0)