refactor(phase5): Comprehensive stabilisation pass. De-duplicated App/Controller state, hardened session reset, and updated integration tests with deterministic polling.
This commit is contained in:
@@ -34,6 +34,12 @@ def test_phase4_final_verify(live_gui):
|
||||
client.set_value('current_provider', 'gemini_cli')
|
||||
client.set_value('gcli_path', os.path.abspath(os.path.join(os.path.dirname(__file__), "mock_gcli.bat")))
|
||||
|
||||
# Wait for settings to apply
|
||||
for _ in range(50):
|
||||
if client.get_value('rag_emb_provider') == 'local':
|
||||
break
|
||||
time.sleep(0.1)
|
||||
|
||||
# 3. Trigger Initial Indexing
|
||||
print("[VERIFY] Triggering indexing...")
|
||||
client.click('btn_rebuild_rag_index')
|
||||
|
||||
Reference in New Issue
Block a user