-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
Description
Summary
When running the speed test multiple times in the same session, previous results are not cleared from the UI.
If either NDT7 or MSAK fails silently during a re-run (e.g., due to a brief network interruption), the UI shows:
- Fresh results for the test that succeeded
- Old results from the previous run for the test that failed
- Status as "Complete"
- No visible error
This makes stale data appear as current results.
Expected Behavior
On re-run:
- All result fields should be cleared before the new test starts.
- If a test fails, its column should show an empty or error state.
- Users should never see results from a previous run.
Actual Behavior
- Internal JS state is reset.
- Result DOM elements are not cleared.
- If a test fails silently, its previous values remain visible.
- The UI shows "Complete" with no indication of failure.
Root Cause
In src/js/app.js, startTest() resets state:
this.measurementResult = {};
this.msakResult = {};Reactions are currently unavailable