conductor(checkpoint): Checkpoint end of Phase 4
This commit is contained in:
@@ -59,3 +59,15 @@ def test_system_prompt_sim(live_gui):
|
||||
# It should be back to ai_client._SYSTEM_PROMPT
|
||||
current_prompt = client.get_value('base_system_prompt')
|
||||
assert current_prompt == ai_client._SYSTEM_PROMPT, f"Prompt not reset. Got: {current_prompt[:50]}..."
|
||||
|
||||
# 9. Verify 'Show Diff' modal
|
||||
initial_modal = client.get_value('show_base_prompt_diff_modal')
|
||||
assert initial_modal is False
|
||||
|
||||
client.click('btn_show_base_prompt_diff')
|
||||
time.sleep(0.5)
|
||||
assert client.get_value('show_base_prompt_diff_modal') is True
|
||||
|
||||
# Close it
|
||||
client.set_value('show_base_prompt_diff_modal', False)
|
||||
assert client.get_value('show_base_prompt_diff_modal') is False
|
||||
|
||||
Reference in New Issue
Block a user