fix: unify row open labels and silent success
All checks were successful
技能自动化发布 / release (push) Successful in 5s

Rename 打开文件位置 to 打开目录, and print empty SAS message so the host skips 执行成功 after opening Explorer or the browser.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-22 13:15:26 +08:00
parent 123195fcd9
commit 718aeefd44
8 changed files with 72 additions and 8 deletions

View File

@@ -54,6 +54,9 @@ def test_reveal_profile_opens_dir(clean_db, tmp_path, capsys):
out = capsys.readouterr().out.strip()
payload = json.loads(out.splitlines()[-1])
assert payload["success"] is True
assert payload["message"] == ""
assert payload["type"] == "result"
assert payload["status"] == "success"
assert payload["data"]["account_id"] == aid
assert payload["data"]["profile_dir"] == called_path