Test Name:Risk Assessment renders and JSON is complete for QA Manager
Feature:Risk Assessment UI
User Role:QA Manager
Traceability:@SHIFT-29@SHIFT-30
Description:Verifies that a QA Manager can run a Risk Assessment add-on on a BDD test file and receive complete, well-formed output — including scenario risk ratings and a risk summary — in both the display panel and the downloaded JSON.
This Test Verifies:
Verification Step
What It Checks
Documentation and analysis appears in the output panel
The Analyze page returns visible results after processing the uploaded test file with the Risk Assessment add-on
Scenario Risk Ratings appears exactly once in the output
The risk ratings section is present and not duplicated in the displayed results
Risk Summary appears exactly once in the output
The risk summary section is present and not duplicated in the displayed results
Downloaded JSON has no unresolved values
The exported JSON contains no placeholder or missing data fields
JSON contains a top-level risk_assessment key
The JSON output is structured correctly with the expected root section
risk_assessment section contains a non-empty scenario_risk_ratings
Actual risk rating data was generated and included for at least one scenario
scenario_risk_ratings appears exactly once in the risk_assessment section
The JSON structure is clean with no duplicate risk rating entries
Test Name:Risk Assessment renders and JSON is complete for Product Owner
Feature:Risk Assessment UI
User Role:Product Owner
Traceability:@SHIFT-29@SHIFT-30
Description:Verifies that a Product Owner can run a Risk Assessment add-on on a BDD test file and receive complete, well-formed output — including scenario risk ratings and a risk summary — in both the display panel and the downloaded JSON.
This Test Verifies:
Verification Step
What It Checks
Documentation and analysis appears in the output panel
The Analyze page returns visible results after processing the uploaded test file with the Risk Assessment add-on
Scenario Risk Ratings appears exactly once in the output
The risk ratings section is present and not duplicated in the displayed results
Risk Summary appears exactly once in the output
The risk summary section is present and not duplicated in the displayed results
Downloaded JSON has no unresolved values
The exported JSON contains no placeholder or missing data fields
JSON contains a top-level risk_assessment key
The JSON output is structured correctly with the expected root section
risk_assessment section contains a non-empty scenario_risk_ratings
Actual risk rating data was generated and included for at least one scenario
scenario_risk_ratings appears exactly once in the risk_assessment section
The JSON structure is clean with no duplicate risk rating entries
Test Name:Risk Assessment renders and JSON is complete for <role>
Feature:Risk Assessment UI
Type:Scenario Outline
Traceability:@SHIFT-29@SHIFT-30
Journey:A user selects the Risk Assessment add-on for a given role, uploads a BDD fixture, triggers analysis, and verifies that both the UI output and downloaded JSON are complete and correctly structured.