Test Name:Stale frontend shows update modal when Analyze is clicked
Feature:Version mismatch detection
Traceability:@SHIFT-47
Description:When a user tries to analyze a test file but their frontend is out of date, they are shown a modal prompting them to reload and get the latest version.
This Test Verifies:
Verification Step
What It Checks
Backend reports a mismatched version
The system detects that the user's frontend version does not match the backend
User selects format and role, uploads a file, and clicks Analyze
The version check is triggered as part of the normal analysis workflow, not just on page load
Update required modal appears
Users are clearly informed that their version is stale and action is required before they can proceed
Modal contains a reload button
Users have a clear, one-click path to refresh and get the latest frontend version
Test Name:Stale frontend shows update modal when Analyze is clicked
Feature:Version mismatch detection
Traceability:@SHIFT-47
Journey:A user with a stale frontend attempts to run an analysis and is blocked by an update-required modal prompting them to reload.
Scenario
Given Context
When Action
Then Assertion
Gherkin Type
Stale frontend shows update modal when Analyze is clicked
User is on the Analyze page and the backend reports a version mismatch
User selects format 'bdd' and role 'QA Manager', uploads fixture 'bdd_sample.feature', and clicks Analyze
An update-required modal is displayed containing a reload button