[AT] Deepin Reader AT-SPI 测试套件全量生成 - #329
Conversation
- AT-SPI UI map: component tree, widget table, menu/dialog/shortcut index - Expected elements: 47 AT-SPI elements with derivation chains - Implementation checklist: 5 high-priority and 10 medium-priority gaps - Test suites: 25 suites covering 14 modules (279 GUI cases, 1794 steps) - Pipeline artifacts: at-tree, cases_mapped, elements.yaml, suite YAML files - Non-GUI cases: 34 separated (linglong/touch/stress/performance) Source: tests/casefile/文档查看器V25-用例.xlsx (313 raw cases) Pipeline: youqu at pipeline (scan→dump→merge→tree-info→annotate→context→normalize→map→generate→validate) Known limitations: - Step 8 AI semantic mapping is script-based, selectors need AI refinement - Runtime pass rate < 80% due to missing selectors in generated YAML - TESTS_FILES_DIR=../files/ for test documents
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: re2zero The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideIntroduce a full AT‑SPI automation test suite for deepin-reader, including normalized case-to-suite mapping, runtime AT tree, element definitions, gap analysis, and per-module YAML suites; replaces previous small demo mapping with 25 suites across 13 modules and aligns them with the V25 QA casefile. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…issues - Rebuilt cases_mapped.yaml with 19 clean, focused test suites - Each suite tests a specific UI interaction with correct selector - Fixed assert_window → assert_element(Form_DMainWindow) for reliable checks - Runtime pass rate improved: 13/19 (68%) from previous <10% - Key actions working: mouse_click with selectors, dtk_main_menu, keyboard_press/hot_key - Removed stale suite files from previous automated mapping Known issues: - dtk_main_menu fails for '保存','搜索','打印' (DTK menu text matching) - DTabBarAddButton not visible with single tab (requires multi-tab precondition)
概述
为 deepin-reader 生成完整 AT-SPI 自动化测试套件。
交付内容
用例统计
已知限制
AT-SPI 命名覆盖
Draft PR: 用于覆盖率和规范评审,验收后合并。
Summary by Sourcery
Generate the comprehensive deepin-reader AT-SPI test coverage and supporting accessibility artifacts for review and manual validation.
New Features:
Enhancements:
Documentation:
Tests:
Chores: