fix(conductor): Apply review suggestions for track 'live_ux_test_20260223'

This commit is contained in:
2026-02-23 20:09:41 -05:00
parent df90bad4a1
commit 064d7ba235
3 changed files with 16 additions and 9 deletions

View File

@@ -8,9 +8,12 @@ class WorkflowSimulator:
self.client = hook_client
self.user_agent = UserSimAgent(hook_client)
def setup_new_project(self, name, git_dir):
def setup_new_project(self, name, git_dir, project_path=None):
print(f"Setting up new project: {name}")
self.client.click("btn_project_new")
if project_path:
self.client.click("btn_project_new_automated", user_data=project_path)
else:
self.client.click("btn_project_new")
time.sleep(1)
self.client.set_value("project_git_dir", git_dir)
self.client.click("btn_project_save")