PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[UITest] Add UI Automation for advanced paste

Open shuaiyuanxx opened this issue 5 months ago • 0 comments

Summary of the Pull Request

  • Clipboard History
    • [x] Open Settings and Enable clipboard history (if not enabled already). Open Advanced Paste window with hotkey, click Clipboard history and try deleting some entry. Check OS clipboard history (Win+V), and confirm that the same entry no longer exist.
    • [x] Open Advanced Paste window with hotkey, click Clipboard history, and click any entry (but first). Observe that entry is put on top of clipboard history. Check OS clipboard history (Win+V), and confirm that the same entry is on top of the clipboard.
    • [x] Open Settings and Disable clipboard history. Open Advanced Paste window with hotkey and observe that Clipboard history button is disabled.
  • Disable Advanced Paste, try different Advanced Paste hotkeys and confirm that it's disabled and nothing happens.

PR Checklist

  • [ ] Closes: #40681
  • [ ] Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • [ ] Tests: Added/updated and all pass
  • [ ] Localization: All end-user-facing strings can be localized
  • [ ] Dev docs: Added/updated
  • [ ] New binaries: Added on the required places
  • [ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

shuaiyuanxx avatar Jul 25 '25 03:07 shuaiyuanxx