2026-04-19 15:52:28 +08:00
# Editor UI Manual Validation
2026-04-06 03:17:53 +08:00
2026-04-19 15:52:28 +08:00
This directory contains manual Editor UI validation scenarios under `tests/UI/Editor/manual_validation/` .
2026-04-06 03:17:53 +08:00
2026-04-06 18:05:34 +08:00
Rules:
2026-04-06 03:17:53 +08:00
2026-04-10 00:41:28 +08:00
- `tests/UI` remains the active validation entry point. `new_editor` is not a test entry point.
- Shared infrastructure belongs in `shared/` . Do not duplicate host plumbing per scenario unless the scenario is intentionally a custom host.
- One scenario maps to one executable.
2026-04-06 03:17:53 +08:00
2026-04-10 00:41:28 +08:00
Build:
2026-04-06 16:20:46 +08:00
```bash
2026-04-19 15:52:28 +08:00
cmake --build build --config Debug --target editor_ui_manual_validation_scenarios
2026-04-06 16:20:46 +08:00
```
2026-04-10 00:41:28 +08:00
Screenshot output:
2026-04-07 04:53:24 +08:00
2026-04-19 15:52:28 +08:00
- Shared Editor manual-validation hosts write screenshots only under the active CMake build directory.
2026-04-10 00:41:28 +08:00
- The output root is the executable directory: `.../Debug/captures/<scenario>/` .
2026-04-19 15:52:28 +08:00
- Example output: `<build>/tests/UI/Editor/manual_validation/shell/object_field_basic/Debug/captures/object_field_basic/latest.png`
- History output: `<build>/tests/UI/Editor/manual_validation/shell/object_field_basic/Debug/captures/object_field_basic/history/<timestamp>_<index>_<reason>.png`
2026-04-10 00:41:28 +08:00
- No new screenshot output is allowed under source-tree `tests/UI/.../captures/` .