-
Notifications
You must be signed in to change notification settings - Fork 396
Description
Feature: Refinement workflow from Summary view
As an automaker user
I want to trigger refinements directly from the Summary view and see updated summaries after reprocessing
So that I can efficiently manage backlog item quality without navigating away
Background:
Given I am logged in as an automaker user
And I am viewing a Backlog Item in the Approval view
Feature Request 1: Direct Refinement Button in Summary View
Scenario: Start refinement directly from Summary view
Given I have opened the Summary of a Backlog Item
When I identify an issue that requires refinement
Then I should see a "Start Refinement" button within the Summary view
And clicking the button should initiate the refinement workflow
And I should remain in the context of the current Backlog Item
Feature Request 2: Summary Update After Refinement
Scenario: Summary reflects changes after refinement and reprocessing
Given a Backlog Item contains generated artifacts
And the Summary lists all generated artifacts including Python scripts and Ansible files
When I submit a refinement stating that Python scripts should be discarded
And the Backlog Item is reprocessed
Then the Summary should be regenerated
And the Summary should no longer contain references to the discarded Python scripts
And the Summary should only reflect the current valid artifacts
Scenario Outline: Summary consistency after refinement
Given a Backlog Item with Summary containing "<original_content>"
When a refinement is submitted to remove "<removed_artifact>"
And reprocessing is completed
Then the Summary should not contain "<removed_artifact>"
And the Summary should accurately reflect only remaining artifacts
Examples:
| original_content | removed_artifact |
| Python script, Ansible playbooks | Python script |
| Shell script, Docker configuration | Shell script |
| Terraform files, Ansible roles | Terraform files |
Bug Scenario (Current Behavior - To Be Fixed)
@ActualBehavier
Scenario: Summary not updated after refinement
Given an Installation Guide Backlog Item exists
And the Summary contains "Python script" and "Ansible files"
When I submit a refinement indicating Python scripts should be discarded
And the Backlog Item is reprocessed
Then the Summary still incorrectly contains references to Python scripts
# Expected: Summary should be updated to exclude Python content