fix(tests): Resolve access violation in phase4 tests and auto-approval logic in cli integration tests
This commit is contained in:
@@ -15,6 +15,7 @@ def test_gemini_cli_full_integration(live_gui: Any) -> None:
|
||||
client.click("btn_reset")
|
||||
time.sleep(1.5)
|
||||
client.set_value("auto_add_history", True)
|
||||
client.set_value("manual_approve", True)
|
||||
# Switch to manual_slop project explicitly
|
||||
client.select_list_item("proj_files", "manual_slop")
|
||||
# 1. Setup paths and configure the GUI
|
||||
@@ -81,6 +82,7 @@ def test_gemini_cli_rejection_and_history(live_gui: Any) -> None:
|
||||
client.click("btn_reset")
|
||||
time.sleep(1.5)
|
||||
client.set_value("auto_add_history", True)
|
||||
client.set_value("manual_approve", True)
|
||||
client.select_list_item("proj_files", "manual_slop")
|
||||
mock_script = os.path.abspath("tests/mock_gemini_cli.py")
|
||||
cli_cmd = f'"{sys.executable}" "{mock_script}"'
|
||||
|
||||
Reference in New Issue
Block a user