feat: release 2.2.0 with PC-only tests and execution reliability fixes
Unify task scheduling and queue state, fix Android input and observation recovery, preserve screenshot paths, and match final review criteria accurately. Add collapsible copyable results and publish the complete 2.1.0 upgrade notes. Validation: 3189 backend tests, 326 frontend tests, 24 client tests, production build and quality gates.
This commit is contained in:
1 parent
fac4ccb760
commit
be6e8c2abd
79 files changed
+2263
-277
No files matched your search
@@ -109,6 +109,20 @@ def test_invalid_archive_and_empty_template():
|
||||
assert not task_import.parse_workbook(task_import.template())["valid"]
|
||||
|
||||
|
||||
def test_pc_json_import_does_not_require_a_device_and_rejects_unknown_targets():
|
||||
data = workbook_bytes(
|
||||
[
|
||||
["PC-1", "电脑", "", "浏览器", "", "检查桌面", '{"execution_target":"computer"}'],
|
||||
["BAD-2", "", "", "", "", "检查页面", '{"execution_target":"pc"}'],
|
||||
]
|
||||
)
|
||||
result = task_import.parse_workbook(data)
|
||||
assert [item["row"] for item in result["errors"]] == [3]
|
||||
options = result["tasks"][0]["task_config"]
|
||||
assert options["execution_target"] == "computer"
|
||||
assert options["device_serial"] is None
|
||||
|
||||
|
||||
def test_batch_archive_preparation_reports_progress_and_reuses_ready_file(
|
||||
client, isolated, monkeypatch
|
||||
):
|
||||
|
||||
Reference in new issue
Block a user