teststests in wrong spot.

This commit is contained in:
2026-02-28 00:07:45 -05:00
parent db65162bbf
commit bc261c6cbe
14 changed files with 26 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ history = [
[discussions.AutoDisc]
git_commit = ""
last_updated = "2026-02-27T19:27:19"
last_updated = "2026-02-27T23:54:05"
history = [
"@2026-02-27T19:08:37\nSystem:\n[PERFORMANCE ALERT] Frame time high: 62.2ms. Please consider optimizing recent changes or reducing load.",
]

View File

@@ -17,4 +17,28 @@ def test_mma_epic_simulation(live_gui):
client = ApiHookClient()
assert client.wait_for_server(timeout=10)
assert False, "Red Phase: Not yet implemented"
# Try selecting MMA Dashboard tab if applicable (using typical naming convention)
try:
client.select_tab('main_tab_bar', 'tab_mma')
except Exception:
pass
# Set model to mock to avoid real API calls and timeouts
try:
client.set_value('current_model', 'mock')
except Exception:
pass
client.set_value('mma_epic_input', 'Build a simple calculator')
client.click('btn_mma_plan_epic')
# Poll client.get_mma_status() every 1 second (up to 30 seconds)
success = False
for i in range(30):
status = client.get_mma_status()
if status and status.get('tracks') and len(status['tracks']) > 0:
success = True
break
time.sleep(1)
assert success, "Failed to generate at least one track."