Skip to content

Commit eebfd75

Browse files
authored
Merge pull request #109 from SWangHash/ztx0625
test(web-ui): add font size persistence locators and sync lockfile
2 parents 0b93235 + f7b178e commit eebfd75

4 files changed

Lines changed: 95 additions & 27 deletions

File tree

‎docs/development/ui-testids-CN.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@
268268
| Appearance 语言选项 | `appearance-language-option` | 重复的语言下拉选项。包含 `data-locale-id`,并带有 Select 组件提供的 `data-selected`。 |
269269
| Appearance 主题选择器 | `appearance-theme-select` | Appearance 中 theme Select 的真实触发节点。 |
270270
| Appearance 主题选项 | `appearance-theme-option` | 重复的主题下拉选项。包含 `data-theme-id`,并带有 Select 组件提供的 `data-selected`。 |
271-
| Appearance UI 字号分组 | `appearance-ui-font-level-group` | UI font size 预置级别按钮组根节点。 |
272-
| Appearance UI 字号按钮 | `appearance-ui-font-level-btn` | 重复的 UI font size 预置级别按钮。包含 `data-font-level` 和 `data-selected`。 |
271+
| Appearance 字体大小分组 | `appearance-font-size-group` | Appearance 页面里用于字体大小持久化用例的 UI 预置字号按钮组根节点。 |
272+
| Appearance 字体大小选项 | `appearance-font-size-option` | 重复的可点击 UI 字体大小选项。包含 `data-size-level`、兼容保留的 `data-font-level`、`data-selected` 和 `aria-pressed`。 |
273273
| Appearance UI 自定义字号控制区 | `appearance-ui-font-custom-controls` | custom UI 字号控制区根节点,仅在 custom 激活时渲染。 |
274274
| Appearance UI 自定义字号输入框 | `appearance-ui-font-custom-input` | custom UI 字号 px 输入框。包含 `data-font-level="custom"`。 |
275275
| Appearance UI 自定义字号减一按钮 | `appearance-ui-font-custom-step-minus` | custom UI 字号减一按钮。 |

‎docs/development/ui-testids.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ Model locator guidance:
268268
| Appearance language option | `appearance-language-option` | Repeated language dropdown option. Includes `data-locale-id` and Select-provided `data-selected`. |
269269
| Appearance theme select | `appearance-theme-select` | Theme select trigger in Appearance settings. |
270270
| Appearance theme option | `appearance-theme-option` | Repeated theme dropdown option. Includes `data-theme-id` and Select-provided `data-selected`. |
271-
| Appearance UI font level group | `appearance-ui-font-level-group` | UI font preset button group root. |
272-
| Appearance UI font level button | `appearance-ui-font-level-btn` | Repeated preset button. Includes `data-font-level` and `data-selected`. |
271+
| Appearance font size group | `appearance-font-size-group` | UI font preset button group root for the Appearance page persistence flow. |
272+
| Appearance font size option | `appearance-font-size-option` | Repeated clickable UI font size option. Includes `data-size-level`, legacy `data-font-level`, `data-selected`, and `aria-pressed`. |
273273
| Appearance UI font custom controls | `appearance-ui-font-custom-controls` | Custom UI font px controls root, rendered when custom is active. |
274274
| Appearance UI font custom input | `appearance-ui-font-custom-input` | Custom UI font px number input. Includes `data-font-level="custom"`. |
275275
| Appearance UI font custom step minus | `appearance-ui-font-custom-step-minus` | Custom UI font px decrement button. |

0 commit comments

Comments
 (0)