@quests @management Feature: Quest Management Background: Given the Fellowship SUT is running And I am logged in as "frodo_baggins" And I navigate to the quests page Scenario: User can create a new quest When I create a quest with title "Find the One Ring" and description "Quest to find and destroy the One Ring" Then the quest should appear in the quest list And the quest should have status "Not Yet Begun" Scenario: User can update an existing quest Given I have a quest titled "Explore Rivendell" When I edit the quest and change the status to "The Road Goes Ever On..." Then the quest should be updated And the new status should be displayed Scenario: User can delete a quest Given I have a quest titled "Defeat Sauron" When I delete the quest Then the quest should no longer appear in the quest list Scenario: User can filter quests by status Given I have multiple quests with different statuses When I filter quests by status "It Is Done" Then only completed quests should be displayed Scenario: User can filter quests by type Given I have quests of different types When I filter quests by type "The Journey" Then only "The Journey" type quests should be displayed Scenario: User can filter quests by location Given I have quests in different locations When I filter quests by location "Mordor" Then only quests in "Mordor" should be displayed @minigames Scenario: Completing a quest triggers a mini-game Given I have an incomplete quest titled "Test Quest" When I click complete on the quest Then a mini-game modal should appear And I should see one of: Trivia, Memory, Reaction, Find the Ring @minigames Scenario: User can retry mini-game on failure Given a quest completion mini-game is displayed When I fail the mini-game Then I should see a "try again" button And I should be able to retry the mini-game @minigames Scenario: Quest is marked complete after winning mini-game Given a quest completion mini-game is displayed When I win the mini-game Then the mini-game modal should close And the quest status should change to "It Is Done" And I should receive gold reward @darkmagic Scenario: Dark magic quests exhibit unstable behavior Given I have a dark magic quest When I interact with the dark magic quest Then the quest may intermittently appear or fail completion