Files
QaAutomationHub/output/allure-results/113c6f17-c173-40aa-b425-27364b70dabd-result.json
T
xst 18890c0437 refactor(tests): restructure into layered POM architecture with Allure reporting
- Split framework into core/ (config, logger, db, driver factories, screenshot,
  allure integration) and pages/ (PO layer: base/admin/driver); flatten test
  files per platform (web/admin, app/driver_android, cross_end)
- Slim root conftest.py 656 -> ~100 lines: drop inline CN HTML report, add
  Allure severity mapping (p0/p1/p2 -> blocker/normal/minor) and
  environment.properties; support both tests.*-prefixed and bare imports
- Preserve TC-D2S-001/002 cross-end E2E cases with business logic unchanged,
  add allure epic/feature/story/step annotations
- Deduplicate: single makereport hook, shared failure-screenshot helpers,
  single SCREENSHOTS_DIR constant; deterministic auth-state role loading
- Move DB credentials from db_helper.py into test_config.yaml (database section)
- Move pytest.ini to repo root; switch reporting to allure-pytest
  (drop pytest-html/junitxml); update requirements.txt accordingly
- Delete deprecated scaffolding: test_freight_full_flow + 6 stale page
  objects, iOS/shipper empty shells, dead utils
- Fix flaky vxe-table action-row wait: wait for a visible td instead of
  hidden placeholder rows (fixed shipper-payment timeouts)
- Verified end-to-end against live env: both E2E cases pass (2 passed 3m12s);
  run artifacts (logs/screenshots/allure) included per repo convention
2026-08-17 14:29:52 +08:00

1 line
3.7 KiB
JSON

{"name": "TC-D2S-001 司机APP接单到管理端核算打款完整流程", "status": "passed", "description": "\n 用例ID: TC-D2S-001\n 用例名称: 司机APP接单到管理端核算打款完整流程\n 优先级: P0\n 标签: cross_end, smoke\n\n 验证从司机 APP 接单到管理端核算打款的完整跨端业务流程。\n ", "steps": [{"name": "Phase 1: 司机 APP — 接单流程", "status": "passed", "attachments": [{"name": "step_accept_order", "source": "fb375f07-77e4-4c9c-9eea-32bbb1d6d7e7-attachment.png", "type": "image/png"}], "start": 1786934016328, "stop": 1786934024642}, {"name": "Phase 1: 司机 APP — 装货流程", "status": "passed", "attachments": [{"name": "step_load_goods", "source": "c0f3c89c-1537-47c5-adca-f8ad2b6f0911-attachment.png", "type": "image/png"}], "start": 1786934024642, "stop": 1786934047412}, {"name": "Phase 1: 司机 APP — 卸货流程", "status": "passed", "attachments": [{"name": "step_unload_goods", "source": "0c9e15e6-9f3b-4cf8-86d1-249db82e25ea-attachment.png", "type": "image/png"}], "start": 1786934047412, "stop": 1786934061530}, {"name": "Phase 1: 司机 APP — 获取运输单号", "status": "passed", "start": 1786934061530, "stop": 1786934067973}, {"name": "Phase 2: Web管理端 — 运费核算(首次查询无数据时自动 SQL 重试)", "status": "passed", "attachments": [{"name": "freight_accounting_done", "source": "90d014c4-48d6-4bcc-91e9-2d24313e7598-attachment.png", "type": "image/png"}], "start": 1786934067973, "stop": 1786934079069}, {"name": "Phase 2: Web管理端 — 运单审核", "status": "passed", "attachments": [{"name": "waybill_audit_done", "source": "dfc7e87f-ead8-499a-a7af-a3982f0ae5f9-attachment.png", "type": "image/png"}], "start": 1786934079069, "stop": 1786934085850}, {"name": "Phase 2: Web管理端 — 垫资-财务打款", "status": "passed", "attachments": [{"name": "finance_payment_done", "source": "4962d607-95e6-4ecb-b522-9ad7dbf8280a-attachment.png", "type": "image/png"}], "start": 1786934085850, "stop": 1786934093832}, {"name": "Phase 2: Web管理端 — 垫资-货主打款", "status": "passed", "attachments": [{"name": "shipper_payment_done", "source": "96ae7622-3ad5-4b69-a154-2883f327ff97-attachment.png", "type": "image/png"}], "start": 1786934093832, "stop": 1786934101384}], "attachments": [{"name": "log", "source": "95e05bb0-197e-4662-85d6-4224b0e4a427-attachment.txt", "type": "text/plain"}], "start": 1786934007632, "stop": 1786934101414, "uuid": "77514abb-865c-424d-801d-65edba8090fb", "historyId": "d60b1693bd6ca247bf6278f0d4980cb3", "testCaseId": "d60b1693bd6ca247bf6278f0d4980cb3", "fullName": "tests.cross_end.test_driver_to_settlement.TestDriverToSettlement#test_driver_to_settlement_full_flow", "labels": [{"name": "feature", "value": "跨端 E2E — 司机接单到管理端核算打款"}, {"name": "story", "value": "司机APP接单到管理端核算打款完整流程"}, {"name": "tag", "value": "cross_end"}, {"name": "tag", "value": "smoke"}, {"name": "severity", "value": "blocker"}, {"name": "epic", "value": "运八网络货运平台"}, {"name": "tag", "value": "cross_end"}, {"name": "tag", "value": "p0"}, {"name": "tag", "value": "smoke"}, {"name": "parentSuite", "value": "tests.cross_end"}, {"name": "suite", "value": "test_driver_to_settlement"}, {"name": "subSuite", "value": "TestDriverToSettlement"}, {"name": "host", "value": "yunba-126"}, {"name": "thread", "value": "31316-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.cross_end.test_driver_to_settlement"}], "titlePath": ["tests", "cross_end", "test_driver_to_settlement.py", "TestDriverToSettlement"]}