Compare commits
3 Commits
releaseChe
...
user/yeela
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84a349bac1 | ||
|
|
1ee300bb86 | ||
|
|
e5d8f45a8c |
7
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -7,13 +7,6 @@ body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Please make sure to [search for existing issues](https://github.com/microsoft/PowerToys/issues) before filing a new one!
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
We are aware of the following high-volume issues and are actively working on them. Please check if your issue is one of these before filing a new bug report:
|
||||
* **PowerToys Run crash related to "Desktop composition is disabled"**: This may appear as `COMException: 0x80263001`. For more details, see issue [#31226](https://github.com/microsoft/PowerToys/issues/31226).
|
||||
* **PowerToys Run crash with `COMException (0xD0000701)`**: For more details, see issue [#30769](https://github.com/microsoft/PowerToys/issues/30769).
|
||||
* **PowerToys Run crash with a "Cyclic reference" error**: This `System.InvalidOperationException` is detailed in issue [#36451](https://github.com/microsoft/PowerToys/issues/36451).
|
||||
- id: version
|
||||
type: input
|
||||
attributes:
|
||||
|
||||
7
.github/actions/spell-check/allow/code.txt
vendored
@@ -321,10 +321,3 @@ REGSTR
|
||||
|
||||
# Misc Win32 APIs and PInvokes
|
||||
INVOKEIDLIST
|
||||
|
||||
# PowerRename metadata pattern abbreviations (used in tests and regex patterns)
|
||||
DDDD
|
||||
FFF
|
||||
HHH
|
||||
riday
|
||||
YYY
|
||||
|
||||
1
.github/actions/spell-check/excludes.txt
vendored
@@ -105,7 +105,6 @@
|
||||
^src/common/notifications/BackgroundActivatorDLL/cpp\.hint$
|
||||
^src/common/sysinternals/Eula/
|
||||
^src/modules/cmdpal/doc/initial-sdk-spec/list-elements-mock-002\.pdn$
|
||||
^src/modules/cmdpal/ext/SamplePagesExtension/Pages/SampleMarkdownImagesPage\.cs$
|
||||
^src/modules/colorPicker/ColorPickerUI/Shaders/GridShader\.cso$
|
||||
^src/modules/launcher/Plugins/Microsoft\.PowerToys\.Run\.Plugin\.TimeDate/Properties/
|
||||
^src/modules/MouseUtils/MouseJumpUI/MainForm\.resx$
|
||||
|
||||
66
.github/actions/spell-check/expect.txt
vendored
@@ -22,7 +22,6 @@ ADate
|
||||
ADDSTRING
|
||||
ADDUNDORECORD
|
||||
ADifferent
|
||||
adjacents
|
||||
ADMINS
|
||||
adml
|
||||
admx
|
||||
@@ -35,7 +34,6 @@ AFX
|
||||
AGGREGATABLE
|
||||
AHK
|
||||
AHybrid
|
||||
AIUI
|
||||
akv
|
||||
ALarger
|
||||
ALIGNRIGHT
|
||||
@@ -65,7 +63,6 @@ APIIs
|
||||
Apm
|
||||
APPBARDATA
|
||||
APPEXECLINK
|
||||
appext
|
||||
APPLICATIONFRAMEHOST
|
||||
appmanifest
|
||||
APPMODEL
|
||||
@@ -101,6 +98,7 @@ ATX
|
||||
ATRIOX
|
||||
aumid
|
||||
authenticode
|
||||
Authenticode
|
||||
AUTOBUDDY
|
||||
AUTOCHECKBOX
|
||||
AUTOHIDE
|
||||
@@ -114,9 +112,6 @@ AValid
|
||||
AWAYMODE
|
||||
azcliversion
|
||||
azman
|
||||
azureaiinference
|
||||
azureinference
|
||||
azureopenai
|
||||
bbwe
|
||||
BCIE
|
||||
bck
|
||||
@@ -141,7 +136,7 @@ bla
|
||||
BLACKFRAME
|
||||
BLENDFUNCTION
|
||||
Blockquotes
|
||||
blt
|
||||
Blt
|
||||
BLURBEHIND
|
||||
BLURREGION
|
||||
bmi
|
||||
@@ -176,18 +171,14 @@ BYPOSITION
|
||||
CALCRECT
|
||||
CALG
|
||||
callbackptr
|
||||
cabstr
|
||||
calpwstr
|
||||
caub
|
||||
Cangjie
|
||||
CANRENAME
|
||||
Carlseibert
|
||||
Canvascustomlayout
|
||||
CAPTUREBLT
|
||||
CAPTURECHANGED
|
||||
CARETBLINKING
|
||||
CAtl
|
||||
CBN
|
||||
cch
|
||||
CCHDEVICENAME
|
||||
CCHFORMNAME
|
||||
@@ -210,12 +201,10 @@ CIBUILD
|
||||
cidl
|
||||
CIELCh
|
||||
cim
|
||||
claude
|
||||
CImage
|
||||
cla
|
||||
CLASSDC
|
||||
CLASSNOTAVAILABLE
|
||||
cleanmgr
|
||||
clickable
|
||||
clickonce
|
||||
CLIENTEDGE
|
||||
@@ -244,7 +233,6 @@ CODENAME
|
||||
codereview
|
||||
Codespaces
|
||||
Coen
|
||||
cognitiveservices
|
||||
COINIT
|
||||
colid
|
||||
colorconv
|
||||
@@ -259,7 +247,6 @@ cominterop
|
||||
commandnotfound
|
||||
commandpalette
|
||||
compmgmt
|
||||
COMPOSITIONDISABLED
|
||||
COMPOSITIONFULL
|
||||
CONFIGW
|
||||
CONFLICTINGMODIFIERKEY
|
||||
@@ -292,7 +279,6 @@ cpptools
|
||||
cppvsdbg
|
||||
cppwinrt
|
||||
createdump
|
||||
creativecommons
|
||||
CREATEPROCESS
|
||||
CREATESCHEDULEDTASK
|
||||
CREATESTRUCT
|
||||
@@ -316,7 +302,6 @@ CURRENTDIR
|
||||
CURSORINFO
|
||||
cursorpos
|
||||
CURSORSHOWING
|
||||
CURSORWRAP
|
||||
customaction
|
||||
CUSTOMACTIONTEST
|
||||
CUSTOMFORMATPLACEHOLDER
|
||||
@@ -356,7 +341,6 @@ Deact
|
||||
debugbreak
|
||||
decryptor
|
||||
Dedup
|
||||
dfx
|
||||
Deduplicator
|
||||
Deeplink
|
||||
DEFAULTBOOTSTRAPPERINSTALLFOLDER
|
||||
@@ -394,6 +378,7 @@ devpal
|
||||
dfx
|
||||
DIALOGEX
|
||||
digicert
|
||||
diffs
|
||||
DINORMAL
|
||||
DISABLEASACTIONKEY
|
||||
DISABLENOSCROLL
|
||||
@@ -416,9 +401,6 @@ DNLEN
|
||||
DONOTROUND
|
||||
DONTVALIDATEPATH
|
||||
dotnet
|
||||
downsampled
|
||||
downsampling
|
||||
Downsampled
|
||||
downscale
|
||||
DPICHANGED
|
||||
DPIs
|
||||
@@ -434,7 +416,7 @@ DROPFILES
|
||||
DSTINVERT
|
||||
DString
|
||||
DSVG
|
||||
dto
|
||||
DTo
|
||||
DUMMYUNIONNAME
|
||||
dutil
|
||||
DVASPECT
|
||||
@@ -468,6 +450,7 @@ EDITKEYBOARD
|
||||
EDITSHORTCUTS
|
||||
EDITTEXT
|
||||
EFile
|
||||
ekus
|
||||
eku
|
||||
emojis
|
||||
ENABLEDELAYEDEXPANSION
|
||||
@@ -532,7 +515,6 @@ EXTRINSICPROPERTIES
|
||||
eyetracker
|
||||
FANCYZONESDRAWLAYOUTTEST
|
||||
FANCYZONESEDITOR
|
||||
FNumber
|
||||
FARPROC
|
||||
fdx
|
||||
fesf
|
||||
@@ -564,7 +546,6 @@ FIXEDSYS
|
||||
flac
|
||||
flyouts
|
||||
FMask
|
||||
foundrylocal
|
||||
fmtid
|
||||
FOF
|
||||
FOFX
|
||||
@@ -603,7 +584,6 @@ getfilesiginforedist
|
||||
geolocator
|
||||
GETHOTKEY
|
||||
GETICON
|
||||
GETLBTEXT
|
||||
GETMINMAXINFO
|
||||
GETNONCLIENTMETRICS
|
||||
GETPROPERTYSTOREFLAGS
|
||||
@@ -611,7 +591,6 @@ GETSCREENSAVERRUNNING
|
||||
GETSECKEY
|
||||
GETSTICKYKEYS
|
||||
GETTEXTLENGTH
|
||||
GIFs
|
||||
gitmodules
|
||||
GHND
|
||||
GMEM
|
||||
@@ -622,7 +601,6 @@ GPOCA
|
||||
gpp
|
||||
gpu
|
||||
gradians
|
||||
grctlext
|
||||
Gridcustomlayout
|
||||
GSM
|
||||
gtm
|
||||
@@ -632,8 +610,6 @@ GValue
|
||||
gwl
|
||||
GWLP
|
||||
GWLSTYLE
|
||||
googleai
|
||||
googlegemini
|
||||
hangeul
|
||||
Hanzi
|
||||
Hardlines
|
||||
@@ -722,7 +698,6 @@ HTCLIENT
|
||||
hthumbnail
|
||||
HTOUCHINPUT
|
||||
HTTRANSPARENT
|
||||
hutchinsoniana
|
||||
HVal
|
||||
HValue
|
||||
Hvci
|
||||
@@ -744,9 +719,7 @@ IDCANCEL
|
||||
IDD
|
||||
idk
|
||||
idl
|
||||
IIM
|
||||
idlist
|
||||
ifd
|
||||
IDOK
|
||||
IDOn
|
||||
IDR
|
||||
@@ -763,7 +736,6 @@ Ijwhost
|
||||
ILD
|
||||
IMAGEHLP
|
||||
IMAGERESIZERCONTEXTMENU
|
||||
IPTC
|
||||
IMAGERESIZEREXT
|
||||
imageresizerinput
|
||||
imageresizersettings
|
||||
@@ -903,7 +875,6 @@ LOCKTYPE
|
||||
LOGFONT
|
||||
LOGFONTW
|
||||
logon
|
||||
lon
|
||||
LOGMSG
|
||||
LOGPIXELSX
|
||||
LOGPIXELSY
|
||||
@@ -989,13 +960,13 @@ mdtext
|
||||
mdtxt
|
||||
mdwn
|
||||
meme
|
||||
mcp
|
||||
memicmp
|
||||
MENUITEMINFO
|
||||
MENUITEMINFOW
|
||||
MERGECOPY
|
||||
MERGEPAINT
|
||||
Metadatas
|
||||
metadatamatters
|
||||
metafile
|
||||
mfc
|
||||
Mgmt
|
||||
@@ -1078,6 +1049,8 @@ multizone
|
||||
muxc
|
||||
MVPs
|
||||
mvvm
|
||||
myorg
|
||||
myrepo
|
||||
MVVMTK
|
||||
MWBEx
|
||||
MYICON
|
||||
@@ -1158,7 +1131,6 @@ nonstd
|
||||
NOOWNERZORDER
|
||||
NOPARENTNOTIFY
|
||||
NOPREFIX
|
||||
NPU
|
||||
NOREDIRECTIONBITMAP
|
||||
NOREDRAW
|
||||
NOREMOVE
|
||||
@@ -1194,8 +1166,8 @@ ntfs
|
||||
NTSTATUS
|
||||
NTSYSAPI
|
||||
NULLCURSOR
|
||||
nullonfailure
|
||||
nullref
|
||||
nullonfailure
|
||||
numberbox
|
||||
nwc
|
||||
ocr
|
||||
@@ -1218,9 +1190,6 @@ opencode
|
||||
OPENFILENAME
|
||||
opensource
|
||||
openxmlformats
|
||||
ollama
|
||||
Olllama
|
||||
onnx
|
||||
OPTIMIZEFORINVOKE
|
||||
ORPHANEDDIALOGTITLE
|
||||
ORSCANS
|
||||
@@ -1297,6 +1266,7 @@ phwnd
|
||||
pici
|
||||
pidl
|
||||
PIDLIST
|
||||
PII
|
||||
pinfo
|
||||
pinvoke
|
||||
pipename
|
||||
@@ -1315,7 +1285,6 @@ pnid
|
||||
PNMLINK
|
||||
Poc
|
||||
Podcasts
|
||||
Photoshop
|
||||
POINTERID
|
||||
POINTERUPDATE
|
||||
Pokedex
|
||||
@@ -1410,8 +1379,6 @@ pwsz
|
||||
pwtd
|
||||
QDC
|
||||
qit
|
||||
QNN
|
||||
Qualcomm
|
||||
QITAB
|
||||
QITABENT
|
||||
qoi
|
||||
@@ -1495,6 +1462,7 @@ riid
|
||||
RKey
|
||||
RNumber
|
||||
rop
|
||||
rollups
|
||||
ROUNDSMALL
|
||||
ROWSETEXT
|
||||
rpcrt
|
||||
@@ -1520,7 +1488,6 @@ sacl
|
||||
safeprojectname
|
||||
SAMEKEYPREVIOUSLYMAPPED
|
||||
SAMESHORTCUTPREVIOUSLYMAPPED
|
||||
samsung
|
||||
sancov
|
||||
SAVEFAILED
|
||||
scanled
|
||||
@@ -1874,7 +1841,6 @@ UPDATENOW
|
||||
UPDATEREGISTRY
|
||||
updown
|
||||
UPGRADINGPRODUCTCODE
|
||||
upscaling
|
||||
Uptool
|
||||
urld
|
||||
Usb
|
||||
@@ -1884,7 +1850,6 @@ USEINSTALLERFORTEST
|
||||
USESHOWWINDOW
|
||||
USESTDHANDLES
|
||||
USRDLL
|
||||
utm
|
||||
UType
|
||||
uuidv
|
||||
uwp
|
||||
@@ -1961,7 +1926,6 @@ wcsicmp
|
||||
wcsncpy
|
||||
wcsnicmp
|
||||
WCT
|
||||
WCRAPI
|
||||
WDA
|
||||
wdm
|
||||
wdp
|
||||
@@ -1975,7 +1939,6 @@ wgpocpl
|
||||
WHEREID
|
||||
wic
|
||||
wifi
|
||||
wikimedia
|
||||
wikipedia
|
||||
WIL
|
||||
winapi
|
||||
@@ -2005,8 +1968,6 @@ WINL
|
||||
winlogon
|
||||
winmd
|
||||
WINNT
|
||||
windowsml
|
||||
winml
|
||||
winres
|
||||
winrt
|
||||
winsdk
|
||||
@@ -2072,9 +2033,7 @@ XAxis
|
||||
XButton
|
||||
xclip
|
||||
xcopy
|
||||
xap
|
||||
XDeployment
|
||||
XDimension
|
||||
xdf
|
||||
XDocument
|
||||
XElement
|
||||
@@ -2092,15 +2051,14 @@ xsi
|
||||
XSpeed
|
||||
XStr
|
||||
xstyler
|
||||
xmp
|
||||
XTimer
|
||||
XUP
|
||||
XVIRTUALSCREEN
|
||||
XXL
|
||||
xxxxxx
|
||||
YAxis
|
||||
ycombinator
|
||||
YIncrement
|
||||
YDimension
|
||||
yinle
|
||||
yinyue
|
||||
YPels
|
||||
|
||||
2
.github/actions/spell-check/patterns.txt
vendored
@@ -253,7 +253,7 @@ _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING
|
||||
|
||||
# hit-count: 1 file-count: 1
|
||||
# Amazon
|
||||
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)
|
||||
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)[^"'\s]+
|
||||
|
||||
# hit-count: 3 file-count: 3
|
||||
# imgur
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
model: Claude Sonnet 4.5
|
||||
description: 'Generate an 80-character git commit title for the local diff.'
|
||||
---
|
||||
|
||||
|
||||
2
.github/prompts/create-pr-summary.prompt.md
vendored
@@ -1,6 +1,6 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
model: Claude Sonnet 4.5
|
||||
description: 'Generate a PowerToys-ready pull request description from the local diff.'
|
||||
---
|
||||
|
||||
|
||||
71
.github/prompts/fix-issue.prompt.md
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: GPT-5-Codex (Preview)
|
||||
description: " Execute the fix for a GitHub issue using the previously generated implementation plan. Apply code & tests directly in the repo. Output only a PR description (and optional manual steps)."
|
||||
---
|
||||
|
||||
# DEPENDENCY
|
||||
Source review prompt (for generating the implementation plan if missing):
|
||||
- .github/prompts/review-issue.prompt.md
|
||||
|
||||
Required plan file (single source of truth):
|
||||
- Generated Files/issueReview/{{issue_number}}/implementation-plan.md
|
||||
|
||||
## Dependency Handling
|
||||
1) If `implementation-plan.md` exists → proceed.
|
||||
2) If missing → run the review prompt:
|
||||
- Invoke: `.github/prompts/review-issue.prompt.md`
|
||||
- Pass: `issue_number={{issue_number}}`
|
||||
- Then re-check for `implementation-plan.md`.
|
||||
3) If still missing → stop and generate:
|
||||
- `Generated Files/issueFix/{{issue_number}}/manual-steps.md` containing:
|
||||
“implementation-plan.md not found; please run .github/prompts/review-issue.prompt.md for #{{issue_number}}.”
|
||||
|
||||
# GOAL
|
||||
For **#{{issue_number}}**:
|
||||
- Use implementation-plan.md as the single authority.
|
||||
- Apply code and test changes directly in the repository.
|
||||
- Produce a PR-ready description.
|
||||
|
||||
# OUTPUT FILES
|
||||
1) Generated Files/issueFix/{{issue_number}}/pr-description.md
|
||||
2) Generated Files/issueFix/{{issue_number}}/manual-steps.md # only if human interaction or external setup is required
|
||||
|
||||
# EXECUTION RULES
|
||||
1) Read implementation-plan.md and execute:
|
||||
- Layers & Files → edit/create as listed
|
||||
- Pattern Choices → follow repository conventions
|
||||
- Fundamentals (perf, security, compatibility, accessibility)
|
||||
- Logging & Exceptions
|
||||
- Telemetry (only if explicitly included in the plan)
|
||||
- Risks & Mitigations
|
||||
- Tests to Add
|
||||
2) Locate affected files via `rg` or `git grep`.
|
||||
3) Add/update tests to enforce the fixed behavior.
|
||||
4) If any ambiguity exists, add:
|
||||
// TODO(Human input needed): <clarification needed>
|
||||
5) Verify locally: build & tests run successfully.
|
||||
|
||||
# pr-description.md should include:
|
||||
- Title: `Fix: <short summary> (#{{issue_number}})`
|
||||
- What changed and why the fix works
|
||||
- Files or modules touched
|
||||
- Risks & mitigations (implemented)
|
||||
- Tests added/updated and how to run them
|
||||
- Telemetry behavior (if applicable)
|
||||
- Validation / reproduction steps
|
||||
- `Closes #{{issue_number}}`
|
||||
|
||||
# manual-steps.md (only if needed)
|
||||
- List required human actions: secrets, config, approvals, missing info, or code comments requiring human decisions.
|
||||
|
||||
# IMPORTANT
|
||||
- Apply code and tests directly; do not produce patch files.
|
||||
- Follow implementation-plan.md as the source of truth.
|
||||
- Insert comments for human review where a decision or input is required.
|
||||
- Use repository conventions and deterministic, minimal changes.
|
||||
|
||||
# FINALIZE
|
||||
- Write pr-description.md
|
||||
- Write manual-steps.md only if needed
|
||||
- Print concise success message or note items requiring human interaction
|
||||
158
.github/prompts/review-issue.prompt.md
vendored
Normal file
@@ -0,0 +1,158 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: Claude Sonnet 4.5
|
||||
description: "You are github issue review and planning expertise, Score (0–100) and write one Implementation Plan. Outputs: overview.md, implementation-plan.md."
|
||||
---
|
||||
|
||||
# GOAL
|
||||
For **#{{issue_number}}** produce:
|
||||
1) `Generated Files/issueReview/{{issue_number}}/overview.md`
|
||||
2) `Generated Files/issueReview/{{issue_number}}/implementation-plan.md`
|
||||
|
||||
## Inputs
|
||||
figure out from the prompt on the
|
||||
|
||||
# CONTEXT (brief)
|
||||
Ground evidence using `gh issue view {{issue_number}} --json number,title,body,author,createdAt,updatedAt,state,labels,milestone,reactions,comments,linkedPullRequests`, and download the image for understand the context of the issue more.
|
||||
Locate source code in current workspace, but also free feel to use via `rg`/`git grep`. Link related issues/PRs.
|
||||
|
||||
# OVERVIEW.MD
|
||||
## Summary
|
||||
Issue, state, milestone, labels. **Signals**: 👍/❤️/👎, comment count, last activity, linked PRs.
|
||||
|
||||
## At-a-Glance Score Table
|
||||
Present all ratings in a compact table for quick scanning:
|
||||
|
||||
| Dimension | Score | Assessment | Key Drivers |
|
||||
|-----------|-------|------------|-------------|
|
||||
| **A) Business Importance** | X/100 | Low/Medium/High | Top 2 factors with scores |
|
||||
| **B) Community Excitement** | X/100 | Low/Medium/High | Top 2 factors with scores |
|
||||
| **C) Technical Feasibility** | X/100 | Low/Medium/High | Top 2 factors with scores |
|
||||
| **D) Requirement Clarity** | X/100 | Low/Medium/High | Top 2 factors with scores |
|
||||
| **Overall Priority** | X/100 | Low/Medium/High/Critical | Average or weighted summary |
|
||||
| **Effort Estimate** | X days (T-shirt) | XS/S/M/L/XL/XXL/Epic | Type: bug/feature/chore |
|
||||
| **Similar Issues Found** | X open, Y closed | — | Quick reference to related work |
|
||||
| **Potential Assignees** | @username, @username | — | Top contributors to module |
|
||||
|
||||
**Assessment bands**: 0-25 Low, 26-50 Medium, 51-75 High, 76-100 Critical
|
||||
|
||||
## Ratings (0–100) — add evidence & short rationale
|
||||
### A) Business Importance
|
||||
- Labels (priority/security/regression): **≤35**
|
||||
- Milestone/roadmap: **≤25**
|
||||
- Customer/contract impact: **≤20**
|
||||
- Unblocks/platform leverage: **≤20**
|
||||
### B) Community Excitement
|
||||
- 👍+❤️ normalized: **≤45**
|
||||
- Comment volume & unique participants: **≤25**
|
||||
- Recent activity (≤30d): **≤15**
|
||||
- Duplicates/related issues: **≤15**
|
||||
### C) Technical Feasibility
|
||||
- Contained surface/clear seams: **≤30**
|
||||
- Existing patterns/utilities: **≤25**
|
||||
- Risk (perf/sec/compat) manageable: **≤25**
|
||||
- Testability & CI support: **≤20**
|
||||
### D) Requirement Clarity
|
||||
- Behavior/repro/constraints: **≤60**
|
||||
- Non-functionals (perf/sec/i18n/a11y): **≤25**
|
||||
- Decision owners/acceptance signals: **≤15**
|
||||
|
||||
## Effort
|
||||
Days + **T-shirt** (XS 0.5–1d, S 1–2, M 2–4, L 4–7, XL 7–14, XXL 14–30, Epic >30).
|
||||
Type/level: bug/feature/chore/docs/refactor/test-only; severity/value tier.
|
||||
|
||||
## Suggested Actions
|
||||
Provide actionable recommendations for issue triage and assignment:
|
||||
|
||||
### A) Requirement Clarification (if Clarity score <50)
|
||||
**When Requirement Clarity (Dimension D) is Medium or Low:**
|
||||
- Identify specific gaps in issue description: missing repro steps, unclear expected behavior, undefined acceptance criteria, missing non-functional requirements
|
||||
- Draft 3-5 clarifying questions to post as issue comment
|
||||
- Suggest additional information needed: screenshots, logs, environment details, OS version, PowerToys version, error messages
|
||||
- If behavior is ambiguous, propose 2-3 interpretation scenarios and ask reporter to confirm
|
||||
- Example questions:
|
||||
- "Can you provide exact steps to reproduce this issue?"
|
||||
- "What is the expected behavior vs. what you're actually seeing?"
|
||||
- "Does this happen on Windows 10, 11, or both?"
|
||||
- "Can you attach a screenshot or screen recording?"
|
||||
|
||||
### B) Correct Label Suggestions
|
||||
- Analyze issue type, module, and severity to suggest missing or incorrect labels
|
||||
- Recommend labels from: `Issue-Bug`, `Issue-Feature`, `Issue-Docs`, `Issue-Task`, `Priority-High`, `Priority-Medium`, `Priority-Low`, `Needs-Triage`, `Needs-Author-Feedback`, `Product-<ModuleName>`, etc.
|
||||
- If Requirement Clarity is low (<50), add `Needs-Author-Feedback` label
|
||||
- If current labels are incorrect or incomplete, provide specific label changes with rationale
|
||||
|
||||
### C) Find Similar Issues & Past Fixes
|
||||
- Search for similar issues using `gh issue list --search "keywords" --state all --json number,title,state,closedAt`
|
||||
- Identify patterns: duplicate issues, related bugs, or similar feature requests
|
||||
- For closed issues, find linked PRs that fixed them: check `linkedPullRequests` in issue data
|
||||
- Provide 3-5 examples of similar issues with format: `#<number> - <title> (closed by PR #<pr>)` or `(still open)`
|
||||
|
||||
### D) Identify Subject Matter Experts
|
||||
- Use git blame/log to find who fixed similar issues in the past
|
||||
- Search for PR authors who touched relevant files: `git log --all --format='%aN' -- <file_paths> | sort | uniq -c | sort -rn | head -5`
|
||||
- Check issue/PR history for frequent contributors to the affected module
|
||||
- Suggest 2-3 potential assignees with context: `@<username> - <reason>` (e.g., "fixed similar rendering bug in #12345", "maintains FancyZones module")
|
||||
|
||||
### E) Semantic Search for Related Work
|
||||
- Use semantic_search tool to find similar issues, code patterns, or past discussions
|
||||
- Search queries should include: issue keywords, module names, error messages, feature descriptions
|
||||
- Cross-reference semantic results with GitHub issue search for comprehensive coverage
|
||||
|
||||
**Output format for Suggested Actions section in overview.md:**
|
||||
```markdown
|
||||
## Suggested Actions
|
||||
|
||||
### Clarifying Questions (if Clarity <50)
|
||||
Post these questions as issue comment to gather missing information:
|
||||
1. <question>
|
||||
2. <question>
|
||||
3. <question>
|
||||
|
||||
**Recommended label**: `Needs-Author-Feedback`
|
||||
|
||||
### Label Recommendations
|
||||
- Add: `<label>` - <reason>
|
||||
- Remove: `<label>` - <reason>
|
||||
- Current labels are appropriate ✓
|
||||
|
||||
### Similar Issues Found
|
||||
1. #<number> - <title> (<state>, closed by PR #<pr> on <date>)
|
||||
2. #<number> - <title> (<state>)
|
||||
...
|
||||
|
||||
### Potential Assignees
|
||||
- @<username> - <reason>
|
||||
- @<username> - <reason>
|
||||
|
||||
### Related Code/Discussions
|
||||
- <semantic search findings>
|
||||
```
|
||||
|
||||
# IMPLEMENTATION-PLAN.MD
|
||||
1) **Problem Framing** — restate problem; current vs expected; scope boundaries.
|
||||
2) **Layers & Files** — layers (UI/domain/data/infra/build). For each, list **files/dirs to modify** and **new files** (exact paths + why). Prefer repo patterns; cite examples/PRs.
|
||||
3) **Pattern Choices** — reuse existing; if new, justify trade-offs & transition.
|
||||
4) **Fundamentals** (brief plan or N/A + reason):
|
||||
- Performance (hot paths, allocs, caching/streaming)
|
||||
- Security (validation, authN/Z, secrets, SSRF/XSS/CSRF)
|
||||
- G11N/L10N (resources, number/date, pluralization)
|
||||
- Compatibility (public APIs, formats, OS/runtime/toolchain)
|
||||
- Extensibility (DI seams, options/flags, plugin points)
|
||||
- Accessibility (roles, labels, focus, keyboard, contrast)
|
||||
- SOLID & repo conventions (naming, folders, dependency direction)
|
||||
5) **Logging & Exception Handling**
|
||||
- Where to log; levels; structured fields; correlation/traces.
|
||||
- What to catch vs rethrow; retries/backoff; user-visible errors.
|
||||
- **Privacy**: never log secrets/PII; redaction policy.
|
||||
6) **Telemetry (optional — business metrics only)**
|
||||
- Events/metrics (name, when, props); success signal; privacy/sampling; dashboards/alerts.
|
||||
7) **Risks & Mitigations** — flags/canary/shadow-write/config guards.
|
||||
8) **Task Breakdown (agent-ready)** — table (leave a blank line before the header so Markdown renders correctly):
|
||||
|
||||
| Task | Intent | Files/Areas | Steps | Tests (brief) | Owner (Agent/Human) | Human interaction needed? (why) |
|
||||
|---|---|---|---|---|---|---|
|
||||
|
||||
9) **Tests to Add (only)**
|
||||
- **Unit**: targets, cases (success/edge/error), mocks/fixtures, path, notes.
|
||||
- **UI** (if applicable): flows, locator strategy, env/data/flags, path, flake mitigation.
|
||||
199
.github/prompts/review-pr.prompt.md
vendored
Normal file
@@ -0,0 +1,199 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
model: Claude Sonnet 4.5
|
||||
description: "gh-driven PR review; per-step Markdown + machine-readable outputs"
|
||||
---
|
||||
|
||||
# PR Review — gh + stepwise
|
||||
|
||||
**Goal**: Given `{{pr_number}}`, run a *one-topic-per-step* review. Write files to `Generated Files/prReview/{{pr_number}}/` (replace `{{pr_number}}` with the integer). Emit machine‑readable blocks for a GitHub MCP to post review comments.
|
||||
|
||||
## PR selection
|
||||
Resolve the target PR using these fallbacks in order:
|
||||
1. Parse the invocation text for an explicit identifier (first integer following patterns such as a leading hash and digits or the text `PR:` followed by digits).
|
||||
2. If no PR is found yet, locate the newest `Generated Files/prReview/_batch/batch-overview-*.md` file (highest timestamp in filename, fallback newest mtime) and take the first entry in its `## PRs` list whose review folder is missing `00-OVERVIEW.md` or contains `__error.flag`.
|
||||
3. If the batch file has no pending PRs, query assignments with `gh pr list --assignee @me --state open --json number,updatedAt --limit 20` and pick the most recently updated PR that does not already have a completed review folder.
|
||||
4. If still unknown, run `gh pr view --json number` in the current branch and use that result when it is unambiguous.
|
||||
5. If every step above fails, prompt the user for a PR number before proceeding.
|
||||
|
||||
## Fetch PR data with `gh`
|
||||
- `gh pr view {{pr_number}} --json number,baseRefName,headRefName,baseRefOid,headRefOid,changedFiles,files`
|
||||
- `gh api repos/:owner/:repo/pulls/{{pr_number}}/files?per_page=250` # patches for line mapping
|
||||
|
||||
### Incremental review workflow
|
||||
1. **Check for existing review**: Read `Generated Files/prReview/{{pr_number}}/00-OVERVIEW.md`
|
||||
2. **Extract state**: Parse `Last reviewed SHA:` from review metadata section
|
||||
3. **Detect changes**: Run `Get-PrIncrementalChanges.ps1 -PullRequestNumber {{pr_number}} -LastReviewedCommitSha {{sha}}`
|
||||
4. **Analyze result**:
|
||||
- `NeedFullReview: true` → Review all files in the PR
|
||||
- `NeedFullReview: false` and `IsIncremental: true` → Review only files in `ChangedFiles` array
|
||||
- `ChangedFiles` is empty → No changes, skip review (update iteration history with "No changes since last review")
|
||||
5. **Apply smart filtering**: Use the file patterns in smart step filtering table to skip irrelevant steps
|
||||
6. **Update metadata**: After completing review, save current `headRefOid` as `Last reviewed SHA:` in `00-OVERVIEW.md`
|
||||
|
||||
### Reusable PowerShell scripts
|
||||
Scripts live in `.github/review-tools/` to avoid repeated manual approvals during PR reviews:
|
||||
|
||||
| Script | Usage |
|
||||
| --- | --- |
|
||||
| `.github/review-tools/Get-GitHubRawFile.ps1` | Download a repository file at a given ref, optionally with line numbers. |
|
||||
| `.github/review-tools/Get-GitHubPrFilePatch.ps1` | Fetch the unified diff for a specific file within a pull request via `gh api`. |
|
||||
| `.github/review-tools/Get-PrIncrementalChanges.ps1` | Compare last reviewed SHA with current PR head to identify incremental changes. Returns JSON with changed files, new commits, and whether full review is needed. |
|
||||
| `.github/review-tools/Test-IncrementalReview.ps1` | Test helper to preview incremental review detection for a PR. Use before running full review to see what changed. |
|
||||
|
||||
Always prefer these scripts (or new ones added under `.github/review-tools/`) over raw `gh api` or similar shell commands so the review flow does not trigger interactive approval prompts.
|
||||
|
||||
## Output files
|
||||
Folder: `Generated Files/prReview/{{pr_number}}/`
|
||||
Files: `00-OVERVIEW.md`, `01-functionality.md`, `02-compatibility.md`, `03-performance.md`, `04-accessibility.md`, `05-security.md`, `06-localization.md`, `07-globalization.md`, `08-extensibility.md`, `09-solid-design.md`, `10-repo-patterns.md`, `11-docs-automation.md`, `12-code-comments.md`, `13-copilot-guidance.md` *(only if guidance md exists).*
|
||||
- **Write-after-step rule:** Immediately after completing each TODO step, persist that step's markdown file before proceeding to the next. Generate `00-OVERVIEW.md` only after every step file has been refreshed for the current run.
|
||||
|
||||
## Iteration management
|
||||
- Determine the current review iteration by reading `00-OVERVIEW.md` (look for `Review iteration:`). If missing, assume iteration `1`.
|
||||
- Extract the last reviewed SHA from `00-OVERVIEW.md` (look for `Last reviewed SHA:` in the review metadata section). If missing, this is iteration 1.
|
||||
- **Incremental review detection**:
|
||||
1. Call `.github/review-tools/Get-PrIncrementalChanges.ps1 -PullRequestNumber {{pr_number}} -LastReviewedCommitSha {{last_sha}}` to get delta analysis.
|
||||
2. Parse the JSON result to determine if incremental review is possible (`IsIncremental: true`, `NeedFullReview: false`).
|
||||
3. If force-push detected or first review, proceed with full review of all changed files.
|
||||
4. If incremental, review only the files listed in `ChangedFiles` array and apply smart step filtering (see below).
|
||||
- Increment the iteration for each review run and propagate the new value to all step files and the overview.
|
||||
- Preserve prior iteration notes by keeping/expanding an `## Iteration history` section in each markdown file, appending the newest summary under `### Iteration <N>`.
|
||||
- Summaries should capture key deltas since the previous iteration so reruns can pick up context quickly.
|
||||
- **After review completion**, update `Last reviewed SHA:` in `00-OVERVIEW.md` with the current `headRefOid` and update the timestamp.
|
||||
|
||||
### Smart step filtering (incremental reviews only)
|
||||
When performing incremental review, skip steps that are irrelevant based on changed file types:
|
||||
|
||||
| File pattern | Required steps | Skippable steps |
|
||||
| --- | --- | --- |
|
||||
| `**/*.cs`, `**/*.cpp`, `**/*.h` | Functionality, Compatibility, Performance, Security, SOLID, Repo patterns, Code comments | (depends on files) |
|
||||
| `**/*.resx`, `**/Resources/*.xaml` | Localization, Globalization | Most others |
|
||||
| `**/*.md` (docs) | Docs & automation | Most others (unless copilot guidance) |
|
||||
| `**/*copilot*.md`, `.github/prompts/*.md` | Copilot guidance, Docs & automation | Most others |
|
||||
| `**/*.csproj`, `**/*.vcxproj`, `**/packages.config` | Compatibility, Security, Repo patterns | Localization, Globalization, Accessibility |
|
||||
| `**/UI/**`, `**/*View.xaml` | Accessibility, Localization | Performance (unless perf-sensitive controls) |
|
||||
|
||||
**Default**: If uncertain or files span multiple categories, run all applicable steps. When in doubt, be conservative and review more rather than less.
|
||||
|
||||
## TODO steps (one concern each)
|
||||
1) Functionality
|
||||
2) Compatibility
|
||||
3) Performance
|
||||
4) Accessibility
|
||||
5) Security
|
||||
6) Localization
|
||||
7) Globalization
|
||||
8) Extensibility
|
||||
9) SOLID principles
|
||||
10) Repo patterns
|
||||
11) Docs & automation coverage for the changes
|
||||
12) Code comments
|
||||
13) Copilot guidance (conditional): if changed folders contain `*copilot*.md` or `.github/prompts/*.md`, review diffs **against** that guidance and write `13-copilot-guidance.md` (omit if none).
|
||||
|
||||
## Per-step file template (use verbatim)
|
||||
```md
|
||||
# <STEP TITLE>
|
||||
**PR:** (populate with PR identifier) — Base:<baseRefName> Head:<headRefName>
|
||||
**Review iteration:** ITERATION
|
||||
|
||||
## Iteration history
|
||||
- Maintain subsections titled `### Iteration N` in reverse chronological order (append the latest at the top) with 2–4 bullet highlights.
|
||||
|
||||
### Iteration ITERATION
|
||||
- <Latest key point 1>
|
||||
- <Latest key point 2>
|
||||
|
||||
## Checks executed
|
||||
- List the concrete checks for *this step only* (5–10 bullets).
|
||||
|
||||
## Findings
|
||||
(If none, write **None**. Defaults have one or more blocks:)
|
||||
|
||||
```mcp-review-comment
|
||||
{"file":"relative/path.ext","start_line":123,"end_line":125,"severity":"high|medium|low|info","tags":["<step-slug>","pr-tag-here"],"related_files":["optional/other/file1"],"body":"Problem → Why it matters → Concrete fix. If spans multiple files, name them here."}
|
||||
```
|
||||
Use the second tag to encode the PR number.
|
||||
|
||||
```
|
||||
## Overview file (`00-OVERVIEW.md`) template
|
||||
```md
|
||||
# PR Review Overview — (populate with PR identifier)
|
||||
**Review iteration:** ITERATION
|
||||
**Changed files:** <n> | **High severity issues:** <count>
|
||||
|
||||
## Review metadata
|
||||
**Last reviewed SHA:** <headRefOid from gh pr view>
|
||||
**Last review timestamp:** <ISO8601 timestamp>
|
||||
**Review mode:** <Full|Incremental (N files changed since iteration X)>
|
||||
**Base ref:** <baseRefName>
|
||||
**Head ref:** <headRefName>
|
||||
|
||||
## Step results
|
||||
Write lines like: `01 Functionality — <OK|Issues|Skipped> (see 01-functionality.md)` … through step 13.
|
||||
Mark steps as "Skipped" when using incremental review smart filtering.
|
||||
|
||||
## Iteration history
|
||||
- Maintain subsections titled `### Iteration N` mirroring the per-step convention with concise deltas and cross-links to the relevant step files.
|
||||
- For incremental reviews, list the specific files that changed and which commits were added.
|
||||
```
|
||||
|
||||
## Line numbers & multi‑file issues
|
||||
- Map head‑side lines from `patch` hunks (`@@ -a,b +c,d @@` → new lines `+c..+c+d-1`).
|
||||
- For cross‑file issues: set the primary `"file"`, list others in `"related_files"`, and name them in `"body"`.
|
||||
|
||||
## Posting (for MCP)
|
||||
- Parse all ```mcp-review-comment``` blocks across step files and post as PR review comments.
|
||||
- If posting isn’t available, still write all files.
|
||||
|
||||
## Constraint
|
||||
Read/analyze only; don't modify code. Keep comments small, specific, and fix‑oriented.
|
||||
|
||||
**Testing**: Use `.github/review-tools/Test-IncrementalReview.ps1 -PullRequestNumber 42374` to preview incremental detection before running full review.
|
||||
|
||||
## Scratch cache for large PRs
|
||||
|
||||
Create a local scratch workspace to progressively summarize diffs and reload state across runs.
|
||||
|
||||
### Paths
|
||||
- Root: `Generated Files/prReview/{{pr_number}}/__tmp/`
|
||||
- Files:
|
||||
- `index.jsonl` — append-only JSON Lines index of artifacts.
|
||||
- `todo-queue.json` — pending items (files/chunks/steps).
|
||||
- `rollup-<step>-v<N>.md` — iterative per-step aggregates.
|
||||
- `file-<hash>.txt` — optional saved chunk text (when needed).
|
||||
|
||||
### JSON schema (per line in `index.jsonl`)
|
||||
```json
|
||||
{"type":"chunk|summary|issue|crosslink",
|
||||
"path":"relative/file.ext","chunk_id":"f-12","step":"functionality|compatibility|...",
|
||||
"base_sha":"...", "head_sha":"...", "range":[start,end], "version":1,
|
||||
"notes":"short text or key:value map", "created_utc":"ISO8601"}
|
||||
```
|
||||
|
||||
### Phases (stateful; resume-safe)
|
||||
0. **Discover** PR + SHAs: `gh pr view <PR> --json baseRefName,headRefName,baseRefOid,headRefOid,files`.
|
||||
1. **Chunk** each changed file (head): split into ~300–600 LOC or ~4k chars; stable `chunk_id` = hash(path+start).
|
||||
- Save `chunk` records. Optionally write `file-<hash>.txt` for expensive chunks.
|
||||
2. **Summarize** per chunk: intent, APIs, risks per TODO step; emit `summary` records (≤600 tokens each).
|
||||
3. **Issues**: convert findings to machine-readable blocks and emit `issue` records (later rendered to step MD).
|
||||
4. **Rollups**: build/update `rollup-<step>-v<N>.md` from `summary`+`issue`. Keep prior versions.
|
||||
5. **Finalize**: write per-step files + `00-OVERVIEW.md` from rollups. Post comments via MCP if available.
|
||||
|
||||
### Re-use & token limits
|
||||
- Always **reload** `index.jsonl` first; skip chunks with same `head_sha` and `range`.
|
||||
- **Incremental review optimization**: When `Get-PrIncrementalChanges.ps1` returns a subset of changed files, load only chunks from those files. Reuse existing chunks/summaries for unchanged files.
|
||||
- Prefer re-summarizing only changed chunks; merge chunk summaries → file summaries → step rollups.
|
||||
- When context is tight, load only the minimal chunk text (or its saved `file-<hash>.txt`) needed for a comment.
|
||||
|
||||
### Original vs diff
|
||||
- Fetch base content when needed: prefer `git show <baseRefName>:<path>`; fallback `gh api repos/:owner/:repo/contents/<path>?ref=<base_sha>` (base64).
|
||||
- Use patch hunks from `gh api .../pulls/<PR>/files` to compute **head** line numbers.
|
||||
|
||||
### Queue-driven loop
|
||||
- Seed `todo-queue.json` with all changed files.
|
||||
- Process: chunk → summarize → detect issues → roll up.
|
||||
- Append to `index.jsonl` after each step; never rewrite previous lines (append-only).
|
||||
|
||||
### Hygiene
|
||||
- `__tmp/` is implementation detail; do not include in final artifacts.
|
||||
- It is safe to delete to force a clean pass; the next run rebuilds it.
|
||||
1
.github/pull_request_template.md
vendored
@@ -5,7 +5,6 @@
|
||||
## PR Checklist
|
||||
|
||||
- [ ] Closes: #xxx
|
||||
<!-- - [ ] Closes: #yyy (add separate lines for additional resolved issues) -->
|
||||
- [ ] **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
|
||||
|
||||
79
.github/review-tools/Get-GitHubPrFilePatch.ps1
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Retrieves the unified diff patch for a specific file in a GitHub pull request.
|
||||
|
||||
.DESCRIPTION
|
||||
This script fetches the patch content (unified diff format) for a specified file
|
||||
within a pull request. It uses the GitHub CLI (gh) to query the GitHub API and
|
||||
retrieve file change information.
|
||||
|
||||
.PARAMETER PullRequestNumber
|
||||
The pull request number to query.
|
||||
|
||||
.PARAMETER FilePath
|
||||
The relative path to the file in the repository (e.g., "src/modules/main.cpp").
|
||||
|
||||
.PARAMETER RepositoryOwner
|
||||
The GitHub repository owner. Defaults to "microsoft".
|
||||
|
||||
.PARAMETER RepositoryName
|
||||
The GitHub repository name. Defaults to "PowerToys".
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-GitHubPrFilePatch.ps1 -PullRequestNumber 42374 -FilePath "src/modules/cmdpal/main.cpp"
|
||||
Retrieves the patch for main.cpp in PR #42374.
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-GitHubPrFilePatch.ps1 -PullRequestNumber 42374 -FilePath "README.md" -RepositoryOwner "myorg" -RepositoryName "myrepo"
|
||||
Retrieves the patch from a different repository.
|
||||
|
||||
.NOTES
|
||||
Requires GitHub CLI (gh) to be installed and authenticated.
|
||||
Run 'gh auth login' if not already authenticated.
|
||||
|
||||
.LINK
|
||||
https://cli.github.com/
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory = $true, HelpMessage = "Pull request number")]
|
||||
[int]$PullRequestNumber,
|
||||
|
||||
[Parameter(Mandatory = $true, HelpMessage = "Relative path to the file in the repository")]
|
||||
[string]$FilePath,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository owner")]
|
||||
[string]$RepositoryOwner = "microsoft",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository name")]
|
||||
[string]$RepositoryName = "PowerToys"
|
||||
)
|
||||
|
||||
# Construct GitHub API path for pull request files
|
||||
$apiPath = "repos/$RepositoryOwner/$RepositoryName/pulls/$PullRequestNumber/files?per_page=250"
|
||||
|
||||
# Query GitHub API to get all files in the pull request
|
||||
try {
|
||||
$pullRequestFiles = gh api $apiPath | ConvertFrom-Json
|
||||
} catch {
|
||||
Write-Error "Failed to query GitHub API for PR #$PullRequestNumber. Ensure gh CLI is authenticated. Details: $_"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Find the matching file in the pull request
|
||||
$matchedFile = $pullRequestFiles | Where-Object { $_.filename -eq $FilePath }
|
||||
|
||||
if (-not $matchedFile) {
|
||||
Write-Error "File '$FilePath' not found in PR #$PullRequestNumber."
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Check if patch content exists
|
||||
if (-not $matchedFile.patch) {
|
||||
Write-Warning "File '$FilePath' has no patch content (possibly binary or too large)."
|
||||
return
|
||||
}
|
||||
|
||||
# Output the patch content
|
||||
$matchedFile.patch
|
||||
91
.github/review-tools/Get-GitHubRawFile.ps1
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Downloads and displays the content of a file from a GitHub repository at a specific git reference.
|
||||
|
||||
.DESCRIPTION
|
||||
This script fetches the raw content of a file from a GitHub repository using GitHub's raw content API.
|
||||
It can optionally display line numbers and supports any valid git reference (branch, tag, or commit SHA).
|
||||
|
||||
.PARAMETER FilePath
|
||||
The relative path to the file in the repository (e.g., "src/modules/main.cpp").
|
||||
|
||||
.PARAMETER GitReference
|
||||
The git reference (branch name, tag, or commit SHA) to fetch the file from. Defaults to "main".
|
||||
|
||||
.PARAMETER RepositoryOwner
|
||||
The GitHub repository owner. Defaults to "microsoft".
|
||||
|
||||
.PARAMETER RepositoryName
|
||||
The GitHub repository name. Defaults to "PowerToys".
|
||||
|
||||
.PARAMETER ShowLineNumbers
|
||||
When specified, displays line numbers before each line of content.
|
||||
|
||||
.PARAMETER StartLineNumber
|
||||
The starting line number to use when ShowLineNumbers is enabled. Defaults to 1.
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-GitHubRawFile.ps1 -FilePath "README.md" -GitReference "main"
|
||||
Downloads and displays the README.md file from the main branch.
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-GitHubRawFile.ps1 -FilePath "src/runner/main.cpp" -GitReference "dev/feature-branch" -ShowLineNumbers
|
||||
Downloads main.cpp from a feature branch and displays it with line numbers.
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-GitHubRawFile.ps1 -FilePath "LICENSE" -GitReference "abc123def" -ShowLineNumbers -StartLineNumber 10
|
||||
Downloads the LICENSE file from a specific commit and displays it with line numbers starting at 10.
|
||||
|
||||
.NOTES
|
||||
Requires internet connectivity to access GitHub's raw content API.
|
||||
Does not require GitHub CLI authentication for public repositories.
|
||||
|
||||
.LINK
|
||||
https://docs.github.com/en/rest/repos/contents
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory = $true, HelpMessage = "Relative path to the file in the repository")]
|
||||
[string]$FilePath,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Git reference (branch, tag, or commit SHA)")]
|
||||
[string]$GitReference = "main",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository owner")]
|
||||
[string]$RepositoryOwner = "microsoft",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository name")]
|
||||
[string]$RepositoryName = "PowerToys",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Display line numbers before each line")]
|
||||
[switch]$ShowLineNumbers,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Starting line number for display")]
|
||||
[int]$StartLineNumber = 1
|
||||
)
|
||||
|
||||
# Construct the raw content URL
|
||||
$rawContentUrl = "https://raw.githubusercontent.com/$RepositoryOwner/$RepositoryName/$GitReference/$FilePath"
|
||||
|
||||
# Fetch the file content from GitHub
|
||||
try {
|
||||
$response = Invoke-WebRequest -UseBasicParsing -Uri $rawContentUrl
|
||||
} catch {
|
||||
Write-Error "Failed to fetch file from $rawContentUrl. Details: $_"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Split content into individual lines
|
||||
$contentLines = $response.Content -split "`n"
|
||||
|
||||
# Display the content with or without line numbers
|
||||
if ($ShowLineNumbers) {
|
||||
$currentLineNumber = $StartLineNumber
|
||||
foreach ($line in $contentLines) {
|
||||
Write-Output ("{0:d4}: {1}" -f $currentLineNumber, $line)
|
||||
$currentLineNumber++
|
||||
}
|
||||
} else {
|
||||
$contentLines | ForEach-Object { Write-Output $_ }
|
||||
}
|
||||
173
.github/review-tools/Get-PrIncrementalChanges.ps1
vendored
Normal file
@@ -0,0 +1,173 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Detects changes between the last reviewed commit and current head of a pull request.
|
||||
|
||||
.DESCRIPTION
|
||||
This script compares a previously reviewed commit SHA with the current head of a pull request
|
||||
to determine what has changed. It helps enable incremental reviews by identifying new commits
|
||||
and modified files since the last review iteration.
|
||||
|
||||
The script handles several scenarios:
|
||||
- First review (no previous SHA provided)
|
||||
- No changes (current SHA matches last reviewed SHA)
|
||||
- Force-push detected (last reviewed SHA no longer in history)
|
||||
- Incremental changes (new commits added since last review)
|
||||
|
||||
.PARAMETER PullRequestNumber
|
||||
The pull request number to analyze.
|
||||
|
||||
.PARAMETER LastReviewedCommitSha
|
||||
The commit SHA that was last reviewed. If omitted, this is treated as a first review.
|
||||
|
||||
.PARAMETER RepositoryOwner
|
||||
The GitHub repository owner. Defaults to "microsoft".
|
||||
|
||||
.PARAMETER RepositoryName
|
||||
The GitHub repository name. Defaults to "PowerToys".
|
||||
|
||||
.OUTPUTS
|
||||
JSON object containing:
|
||||
- PullRequestNumber: The PR number being analyzed
|
||||
- CurrentHeadSha: The current head commit SHA
|
||||
- LastReviewedSha: The last reviewed commit SHA (if provided)
|
||||
- BaseRefName: Base branch name
|
||||
- HeadRefName: Head branch name
|
||||
- IsIncremental: Boolean indicating if incremental review is possible
|
||||
- NeedFullReview: Boolean indicating if a full review is required
|
||||
- ChangedFiles: Array of files that changed (filename, status, additions, deletions)
|
||||
- NewCommits: Array of commits added since last review (sha, message, author, date)
|
||||
- Summary: Human-readable description of changes
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374
|
||||
Analyzes PR #42374 with no previous review (first review scenario).
|
||||
|
||||
.EXAMPLE
|
||||
.\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374 -LastReviewedCommitSha "abc123def456"
|
||||
Compares current PR state against the last reviewed commit to identify incremental changes.
|
||||
|
||||
.EXAMPLE
|
||||
$changes = .\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374 -LastReviewedCommitSha "abc123" | ConvertFrom-Json
|
||||
if ($changes.IsIncremental) { Write-Host "Can perform incremental review" }
|
||||
Captures the output as a PowerShell object for further processing.
|
||||
|
||||
.NOTES
|
||||
Requires GitHub CLI (gh) to be installed and authenticated.
|
||||
Run 'gh auth login' if not already authenticated.
|
||||
|
||||
.LINK
|
||||
https://cli.github.com/
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory = $true, HelpMessage = "Pull request number")]
|
||||
[int]$PullRequestNumber,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Commit SHA that was last reviewed")]
|
||||
[string]$LastReviewedCommitSha,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository owner")]
|
||||
[string]$RepositoryOwner = "microsoft",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository name")]
|
||||
[string]$RepositoryName = "PowerToys"
|
||||
)
|
||||
|
||||
# Fetch current pull request state from GitHub
|
||||
try {
|
||||
$pullRequestData = gh pr view $PullRequestNumber --json headRefOid,headRefName,baseRefName,baseRefOid | ConvertFrom-Json
|
||||
} catch {
|
||||
Write-Error "Failed to fetch PR #$PullRequestNumber details. Details: $_"
|
||||
exit 1
|
||||
}
|
||||
|
||||
$currentHeadSha = $pullRequestData.headRefOid
|
||||
$baseRefName = $pullRequestData.baseRefName
|
||||
$headRefName = $pullRequestData.headRefName
|
||||
|
||||
# Initialize result object
|
||||
$analysisResult = @{
|
||||
PullRequestNumber = $PullRequestNumber
|
||||
CurrentHeadSha = $currentHeadSha
|
||||
BaseRefName = $baseRefName
|
||||
HeadRefName = $headRefName
|
||||
LastReviewedSha = $LastReviewedCommitSha
|
||||
IsIncremental = $false
|
||||
NeedFullReview = $true
|
||||
ChangedFiles = @()
|
||||
NewCommits = @()
|
||||
Summary = ""
|
||||
}
|
||||
|
||||
# Scenario 1: First review (no previous SHA provided)
|
||||
if ([string]::IsNullOrWhiteSpace($LastReviewedCommitSha)) {
|
||||
$analysisResult.Summary = "Initial review - no previous iteration found"
|
||||
$analysisResult.NeedFullReview = $true
|
||||
return $analysisResult | ConvertTo-Json -Depth 10
|
||||
}
|
||||
|
||||
# Scenario 2: No changes since last review
|
||||
if ($currentHeadSha -eq $LastReviewedCommitSha) {
|
||||
$analysisResult.Summary = "No changes since last review (SHA: $currentHeadSha)"
|
||||
$analysisResult.NeedFullReview = $false
|
||||
$analysisResult.IsIncremental = $true
|
||||
return $analysisResult | ConvertTo-Json -Depth 10
|
||||
}
|
||||
|
||||
# Scenario 3: Check for force-push (last reviewed SHA no longer exists in history)
|
||||
try {
|
||||
$null = gh api "repos/$RepositoryOwner/$RepositoryName/commits/$LastReviewedCommitSha" 2>&1
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
# SHA not found - likely force-push or branch rewrite
|
||||
$analysisResult.Summary = "Force-push detected - last reviewed SHA $LastReviewedCommitSha no longer exists. Full review required."
|
||||
$analysisResult.NeedFullReview = $true
|
||||
return $analysisResult | ConvertTo-Json -Depth 10
|
||||
}
|
||||
} catch {
|
||||
$analysisResult.Summary = "Cannot verify last reviewed SHA $LastReviewedCommitSha - assuming force-push. Full review required."
|
||||
$analysisResult.NeedFullReview = $true
|
||||
return $analysisResult | ConvertTo-Json -Depth 10
|
||||
}
|
||||
|
||||
# Scenario 4: Get incremental changes between last reviewed SHA and current head
|
||||
try {
|
||||
$compareApiPath = "repos/$RepositoryOwner/$RepositoryName/compare/$LastReviewedCommitSha...$currentHeadSha"
|
||||
$comparisonData = gh api $compareApiPath | ConvertFrom-Json
|
||||
|
||||
# Extract new commits information
|
||||
$analysisResult.NewCommits = $comparisonData.commits | ForEach-Object {
|
||||
@{
|
||||
Sha = $_.sha.Substring(0, 7)
|
||||
Message = $_.commit.message.Split("`n")[0] # First line only
|
||||
Author = $_.commit.author.name
|
||||
Date = $_.commit.author.date
|
||||
}
|
||||
}
|
||||
|
||||
# Extract changed files information
|
||||
$analysisResult.ChangedFiles = $comparisonData.files | ForEach-Object {
|
||||
@{
|
||||
Filename = $_.filename
|
||||
Status = $_.status # added, modified, removed, renamed
|
||||
Additions = $_.additions
|
||||
Deletions = $_.deletions
|
||||
Changes = $_.changes
|
||||
}
|
||||
}
|
||||
|
||||
$fileCount = $analysisResult.ChangedFiles.Count
|
||||
$commitCount = $analysisResult.NewCommits.Count
|
||||
|
||||
$analysisResult.IsIncremental = $true
|
||||
$analysisResult.NeedFullReview = $false
|
||||
$analysisResult.Summary = "Incremental review: $commitCount new commit(s), $fileCount file(s) changed since SHA $($LastReviewedCommitSha.Substring(0, 7))"
|
||||
|
||||
} catch {
|
||||
Write-Error "Failed to compare commits. Details: $_"
|
||||
$analysisResult.Summary = "Error comparing commits - defaulting to full review"
|
||||
$analysisResult.NeedFullReview = $true
|
||||
}
|
||||
|
||||
# Return the analysis result as JSON
|
||||
return $analysisResult | ConvertTo-Json -Depth 10
|
||||
170
.github/review-tools/Test-IncrementalReview.ps1
vendored
Normal file
@@ -0,0 +1,170 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Tests and previews incremental review detection for a pull request.
|
||||
|
||||
.DESCRIPTION
|
||||
This helper script validates the incremental review detection logic by analyzing an existing
|
||||
PR review folder. It reads the last reviewed SHA from the overview file, compares it with
|
||||
the current PR state, and displays detailed information about what has changed.
|
||||
|
||||
This is useful for:
|
||||
- Testing the incremental review system before running a full review
|
||||
- Understanding what changed since the last review iteration
|
||||
- Verifying that review metadata was properly recorded
|
||||
|
||||
.PARAMETER PullRequestNumber
|
||||
The pull request number to test incremental review detection for.
|
||||
|
||||
.PARAMETER RepositoryOwner
|
||||
The GitHub repository owner. Defaults to "microsoft".
|
||||
|
||||
.PARAMETER RepositoryName
|
||||
The GitHub repository name. Defaults to "PowerToys".
|
||||
|
||||
.OUTPUTS
|
||||
Colored console output displaying:
|
||||
- Current and last reviewed commit SHAs
|
||||
- Whether incremental review is possible
|
||||
- List of new commits since last review
|
||||
- List of changed files with status indicators
|
||||
- Recommended review strategy
|
||||
|
||||
.EXAMPLE
|
||||
.\Test-IncrementalReview.ps1 -PullRequestNumber 42374
|
||||
Tests incremental review detection for PR #42374.
|
||||
|
||||
.EXAMPLE
|
||||
.\Test-IncrementalReview.ps1 -PullRequestNumber 42374 -RepositoryOwner "myorg" -RepositoryName "myrepo"
|
||||
Tests incremental review for a PR in a different repository.
|
||||
|
||||
.NOTES
|
||||
Requires GitHub CLI (gh) to be installed and authenticated.
|
||||
Run 'gh auth login' if not already authenticated.
|
||||
|
||||
Prerequisites:
|
||||
- PR review folder must exist at "Generated Files\prReview\{PRNumber}"
|
||||
- 00-OVERVIEW.md must exist in the review folder
|
||||
- For incremental detection, overview must contain "Last reviewed SHA" metadata
|
||||
|
||||
.LINK
|
||||
https://cli.github.com/
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
[Parameter(Mandatory = $true, HelpMessage = "Pull request number to test")]
|
||||
[int]$PullRequestNumber,
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository owner")]
|
||||
[string]$RepositoryOwner = "microsoft",
|
||||
|
||||
[Parameter(Mandatory = $false, HelpMessage = "Repository name")]
|
||||
[string]$RepositoryName = "PowerToys"
|
||||
)
|
||||
|
||||
# Resolve paths to review folder and overview file
|
||||
$repositoryRoot = Split-Path (Split-Path $PSScriptRoot -Parent) -Parent
|
||||
$reviewFolderPath = Join-Path $repositoryRoot "Generated Files\prReview\$PullRequestNumber"
|
||||
$overviewFilePath = Join-Path $reviewFolderPath "00-OVERVIEW.md"
|
||||
|
||||
Write-Host "=== Testing Incremental Review for PR #$PullRequestNumber ===" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
|
||||
# Check if review folder exists
|
||||
if (-not (Test-Path $reviewFolderPath)) {
|
||||
Write-Host "❌ Review folder not found: $reviewFolderPath" -ForegroundColor Red
|
||||
Write-Host "This appears to be a new review (iteration 1)" -ForegroundColor Yellow
|
||||
exit 0
|
||||
}
|
||||
|
||||
# Check if overview file exists
|
||||
if (-not (Test-Path $overviewFilePath)) {
|
||||
Write-Host "❌ Overview file not found: $overviewFilePath" -ForegroundColor Red
|
||||
Write-Host "This appears to be an incomplete review" -ForegroundColor Yellow
|
||||
exit 0
|
||||
}
|
||||
|
||||
# Read overview file and extract last reviewed SHA
|
||||
Write-Host "📄 Reading overview file..." -ForegroundColor Green
|
||||
$overviewFileContent = Get-Content $overviewFilePath -Raw
|
||||
|
||||
if ($overviewFileContent -match '\*\*Last reviewed SHA:\*\*\s+(\w+)') {
|
||||
$lastReviewedSha = $Matches[1]
|
||||
Write-Host "✅ Found last reviewed SHA: $lastReviewedSha" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "⚠️ No 'Last reviewed SHA' found in overview - this may be an old format" -ForegroundColor Yellow
|
||||
Write-Host "Proceeding without incremental detection (full review will be needed)" -ForegroundColor Yellow
|
||||
exit 0
|
||||
}
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "🔍 Running incremental change detection..." -ForegroundColor Cyan
|
||||
|
||||
# Call the incremental changes detection script
|
||||
$incrementalChangesScriptPath = Join-Path $PSScriptRoot "Get-PrIncrementalChanges.ps1"
|
||||
if (-not (Test-Path $incrementalChangesScriptPath)) {
|
||||
Write-Host "❌ Script not found: $incrementalChangesScriptPath" -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
|
||||
try {
|
||||
$analysisResult = & $incrementalChangesScriptPath `
|
||||
-PullRequestNumber $PullRequestNumber `
|
||||
-LastReviewedCommitSha $lastReviewedSha `
|
||||
-RepositoryOwner $RepositoryOwner `
|
||||
-RepositoryName $RepositoryName | ConvertFrom-Json
|
||||
|
||||
# Display analysis results
|
||||
Write-Host ""
|
||||
Write-Host "=== Incremental Review Analysis ===" -ForegroundColor Cyan
|
||||
Write-Host "Current HEAD SHA: $($analysisResult.CurrentHeadSha)" -ForegroundColor White
|
||||
Write-Host "Last reviewed SHA: $($analysisResult.LastReviewedSha)" -ForegroundColor White
|
||||
Write-Host "Base branch: $($analysisResult.BaseRefName)" -ForegroundColor White
|
||||
Write-Host "Head branch: $($analysisResult.HeadRefName)" -ForegroundColor White
|
||||
Write-Host ""
|
||||
Write-Host "Is incremental? $($analysisResult.IsIncremental)" -ForegroundColor $(if ($analysisResult.IsIncremental) { "Green" } else { "Yellow" })
|
||||
Write-Host "Need full review? $($analysisResult.NeedFullReview)" -ForegroundColor $(if ($analysisResult.NeedFullReview) { "Yellow" } else { "Green" })
|
||||
Write-Host ""
|
||||
Write-Host "Summary: $($analysisResult.Summary)" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
|
||||
# Display new commits if any
|
||||
if ($analysisResult.NewCommits -and $analysisResult.NewCommits.Count -gt 0) {
|
||||
Write-Host "📝 New commits ($($analysisResult.NewCommits.Count)):" -ForegroundColor Green
|
||||
foreach ($commit in $analysisResult.NewCommits) {
|
||||
Write-Host " - $($commit.Sha): $($commit.Message)" -ForegroundColor Gray
|
||||
}
|
||||
Write-Host ""
|
||||
}
|
||||
|
||||
# Display changed files if any
|
||||
if ($analysisResult.ChangedFiles -and $analysisResult.ChangedFiles.Count -gt 0) {
|
||||
Write-Host "📁 Changed files ($($analysisResult.ChangedFiles.Count)):" -ForegroundColor Green
|
||||
foreach ($file in $analysisResult.ChangedFiles) {
|
||||
$statusDisplayColor = switch ($file.Status) {
|
||||
"added" { "Green" }
|
||||
"removed" { "Red" }
|
||||
"modified" { "Yellow" }
|
||||
"renamed" { "Cyan" }
|
||||
default { "White" }
|
||||
}
|
||||
Write-Host " - [$($file.Status)] $($file.Filename) (+$($file.Additions)/-$($file.Deletions))" -ForegroundColor $statusDisplayColor
|
||||
}
|
||||
Write-Host ""
|
||||
}
|
||||
|
||||
# Suggest review strategy based on analysis
|
||||
Write-Host "=== Recommended Review Strategy ===" -ForegroundColor Cyan
|
||||
if ($analysisResult.NeedFullReview) {
|
||||
Write-Host "🔄 Full review recommended" -ForegroundColor Yellow
|
||||
} elseif ($analysisResult.IsIncremental -and ($analysisResult.ChangedFiles.Count -eq 0)) {
|
||||
Write-Host "✅ No changes detected - no review needed" -ForegroundColor Green
|
||||
} elseif ($analysisResult.IsIncremental) {
|
||||
Write-Host "⚡ Incremental review possible - review only changed files" -ForegroundColor Green
|
||||
Write-Host "💡 Consider applying smart step filtering based on file types" -ForegroundColor Cyan
|
||||
}
|
||||
|
||||
} catch {
|
||||
Write-Host "❌ Error running incremental change detection: $_" -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
313
.github/review-tools/review-tools.instructions.md
vendored
Normal file
@@ -0,0 +1,313 @@
|
||||
---
|
||||
description: PowerShell scripts for efficient PR reviews in PowerToys repository
|
||||
applyTo: '**'
|
||||
---
|
||||
|
||||
# PR Review Tools - Reference Guide
|
||||
|
||||
PowerShell scripts to support efficient and incremental pull request reviews in the PowerToys repository.
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Prerequisites
|
||||
- PowerShell 7+ (or Windows PowerShell 5.1+)
|
||||
- GitHub CLI (`gh`) installed and authenticated (`gh auth login`)
|
||||
- Access to the PowerToys repository
|
||||
|
||||
### Testing Your Setup
|
||||
|
||||
Run the full test suite (recommended):
|
||||
```powershell
|
||||
cd "d:\PowerToys-00c1\.github\review-tools"
|
||||
.\Run-ReviewToolsTests.ps1
|
||||
```
|
||||
|
||||
Expected: 9-10 tests passing
|
||||
|
||||
### Individual Script Tests
|
||||
|
||||
**Test incremental change detection:**
|
||||
```powershell
|
||||
.\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374
|
||||
```
|
||||
Expected: JSON output showing review analysis
|
||||
|
||||
**Preview incremental review:**
|
||||
```powershell
|
||||
.\Test-IncrementalReview.ps1 -PullRequestNumber 42374
|
||||
```
|
||||
Expected: Analysis showing current vs last reviewed SHA
|
||||
|
||||
**Fetch file content:**
|
||||
```powershell
|
||||
.\Get-GitHubRawFile.ps1 -FilePath "README.md" -GitReference "main"
|
||||
```
|
||||
Expected: README content displayed
|
||||
|
||||
**Get PR file patch:**
|
||||
```powershell
|
||||
.\Get-GitHubPrFilePatch.ps1 -PullRequestNumber 42374 -FilePath ".github/actions/spell-check/expect.txt"
|
||||
```
|
||||
Expected: Unified diff output
|
||||
|
||||
## Available Scripts
|
||||
|
||||
### Get-GitHubRawFile.ps1
|
||||
|
||||
Downloads and displays file content from a GitHub repository at a specific git reference.
|
||||
|
||||
**Purpose:** Retrieve baseline file content for comparison during PR reviews.
|
||||
|
||||
**Parameters:**
|
||||
- `FilePath` (required): Relative path to file in repository
|
||||
- `GitReference` (optional): Git ref (branch, tag, SHA). Default: "main"
|
||||
- `RepositoryOwner` (optional): Repository owner. Default: "microsoft"
|
||||
- `RepositoryName` (optional): Repository name. Default: "PowerToys"
|
||||
- `ShowLineNumbers` (switch): Prefix each line with line number
|
||||
- `StartLineNumber` (optional): Starting line number when using `-ShowLineNumbers`. Default: 1
|
||||
|
||||
**Usage:**
|
||||
```powershell
|
||||
.\Get-GitHubRawFile.ps1 -FilePath "src/runner/main.cpp" -GitReference "main" -ShowLineNumbers
|
||||
```
|
||||
|
||||
### Get-GitHubPrFilePatch.ps1
|
||||
|
||||
Fetches the unified diff (patch) for a specific file in a pull request.
|
||||
|
||||
**Purpose:** Get the exact changes made to a file in a PR for detailed review.
|
||||
|
||||
**Parameters:**
|
||||
- `PullRequestNumber` (required): Pull request number
|
||||
- `FilePath` (required): Relative path to file in the PR
|
||||
- `RepositoryOwner` (optional): Repository owner. Default: "microsoft"
|
||||
- `RepositoryName` (optional): Repository name. Default: "PowerToys"
|
||||
|
||||
**Usage:**
|
||||
```powershell
|
||||
.\Get-GitHubPrFilePatch.ps1 -PullRequestNumber 42374 -FilePath "src/modules/cmdpal/main.cpp"
|
||||
```
|
||||
|
||||
**Output:** Unified diff showing changes made to the file.
|
||||
|
||||
### Get-PrIncrementalChanges.ps1
|
||||
|
||||
Compares the last reviewed commit with the current PR head to identify incremental changes.
|
||||
|
||||
**Purpose:** Enable efficient incremental reviews by detecting what changed since the last review iteration.
|
||||
|
||||
**Parameters:**
|
||||
- `PullRequestNumber` (required): Pull request number
|
||||
- `LastReviewedCommitSha` (optional): SHA of the commit that was last reviewed. If omitted, assumes first review.
|
||||
- `RepositoryOwner` (optional): Repository owner. Default: "microsoft"
|
||||
- `RepositoryName` (optional): Repository name. Default: "PowerToys"
|
||||
|
||||
**Usage:**
|
||||
```powershell
|
||||
.\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374 -LastReviewedCommitSha "abc123def456"
|
||||
```
|
||||
|
||||
**Output:** JSON object with detailed change analysis:
|
||||
```json
|
||||
{
|
||||
"PullRequestNumber": 42374,
|
||||
"CurrentHeadSha": "xyz789abc123",
|
||||
"LastReviewedSha": "abc123def456",
|
||||
"IsIncremental": true,
|
||||
"NeedFullReview": false,
|
||||
"ChangedFiles": [
|
||||
{
|
||||
"Filename": "src/modules/cmdpal/main.cpp",
|
||||
"Status": "modified",
|
||||
"Additions": 15,
|
||||
"Deletions": 8,
|
||||
"Changes": 23
|
||||
}
|
||||
],
|
||||
"NewCommits": [
|
||||
{
|
||||
"Sha": "def456",
|
||||
"Message": "Fix memory leak",
|
||||
"Author": "John Doe",
|
||||
"Date": "2025-11-07T10:30:00Z"
|
||||
}
|
||||
],
|
||||
"Summary": "Incremental review: 1 new commit(s), 1 file(s) changed since SHA abc123d"
|
||||
}
|
||||
```
|
||||
|
||||
**Scenarios Handled:**
|
||||
- **No LastReviewedCommitSha**: Returns `NeedFullReview: true` (first review)
|
||||
- **SHA matches current HEAD**: Returns empty `ChangedFiles` (no changes)
|
||||
- **Force-push detected**: Returns `NeedFullReview: true` (SHA not in history)
|
||||
- **Incremental changes**: Returns list of changed files and new commits
|
||||
|
||||
### Test-IncrementalReview.ps1
|
||||
|
||||
Helper script to test and preview incremental review detection before running the full review.
|
||||
|
||||
**Purpose:** Validate incremental review functionality and preview what changed.
|
||||
|
||||
**Parameters:**
|
||||
- `PullRequestNumber` (required): Pull request number
|
||||
- `RepositoryOwner` (optional): Repository owner. Default: "microsoft"
|
||||
- `RepositoryName` (optional): Repository name. Default: "PowerToys"
|
||||
|
||||
**Usage:**
|
||||
```powershell
|
||||
.\Test-IncrementalReview.ps1 -PullRequestNumber 42374
|
||||
```
|
||||
|
||||
**Output:** Colored console output showing:
|
||||
- Current and last reviewed SHAs
|
||||
- Whether incremental review is possible
|
||||
- List of new commits and changed files
|
||||
- Recommended review strategy
|
||||
|
||||
## Workflow Integration
|
||||
|
||||
These scripts integrate with the PR review prompt (`.github/prompts/review-pr.prompt.md`).
|
||||
|
||||
### Typical Review Flow
|
||||
|
||||
1. **Initial Review (Iteration 1)**
|
||||
- Review prompt processes the PR
|
||||
- Creates `Generated Files/prReview/{PR}/00-OVERVIEW.md`
|
||||
- Includes review metadata section with current HEAD SHA
|
||||
|
||||
2. **Subsequent Reviews (Iteration 2+)**
|
||||
- Review prompt reads `00-OVERVIEW.md` to get last reviewed SHA
|
||||
- Calls `Get-PrIncrementalChanges.ps1` to detect what changed
|
||||
- If incremental:
|
||||
- Reviews only changed files
|
||||
- Skips irrelevant review steps (e.g., skip Localization if no `.resx` files changed)
|
||||
- Uses `Get-GitHubPrFilePatch.ps1` to get patches for changed files
|
||||
- Updates `00-OVERVIEW.md` with new SHA and iteration number
|
||||
|
||||
### Manual Testing Workflow
|
||||
|
||||
Preview changes before review:
|
||||
```powershell
|
||||
# Check what changed in PR #42374 since last review
|
||||
.\Test-IncrementalReview.ps1 -PullRequestNumber 42374
|
||||
|
||||
# Get incremental changes programmatically
|
||||
$changes = .\Get-PrIncrementalChanges.ps1 -PullRequestNumber 42374 -LastReviewedCommitSha "abc123" | ConvertFrom-Json
|
||||
|
||||
if (-not $changes.NeedFullReview) {
|
||||
Write-Host "Only need to review $($changes.ChangedFiles.Count) files"
|
||||
|
||||
# Review each changed file
|
||||
foreach ($file in $changes.ChangedFiles) {
|
||||
Write-Host "Reviewing $($file.Filename)..."
|
||||
.\Get-GitHubPrFilePatch.ps1 -PullRequestNumber 42374 -FilePath $file.Filename
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Error Handling and Troubleshooting
|
||||
|
||||
### Common Requirements
|
||||
|
||||
All scripts:
|
||||
- Exit with code 1 on error
|
||||
- Write detailed error messages to stderr
|
||||
- Require `gh` CLI to be installed and authenticated
|
||||
|
||||
### Common Issues
|
||||
|
||||
**Error: "gh not found"**
|
||||
- **Solution**: Install GitHub CLI from https://cli.github.com/ and run `gh auth login`
|
||||
|
||||
**Error: "Failed to query GitHub API"**
|
||||
- **Solution**: Verify `gh` authentication with `gh auth status`
|
||||
- **Solution**: Check PR number exists and you have repository access
|
||||
|
||||
**Error: "PR not found"**
|
||||
- **Solution**: Verify the PR number is correct and still exists
|
||||
- **Solution**: Ensure repository owner and name are correct
|
||||
|
||||
**Error: "SHA not found" or "Force-push detected"**
|
||||
- **Explanation**: Last reviewed SHA no longer exists in branch history (force-push occurred)
|
||||
- **Solution**: A full review is required; incremental review not possible
|
||||
|
||||
**Tests show "FAIL" but functionality works**
|
||||
- **Explanation**: Some tests may show exit code failures even when logic is correct
|
||||
- **Solution**: Check test output message - if it says "Correctly detected", functionality is working
|
||||
|
||||
**Error: "Could not find insertion point"**
|
||||
- **Explanation**: Overview file doesn't have expected "**Changed files:**" line
|
||||
- **Solution**: Verify overview file format is correct or regenerate it
|
||||
|
||||
### Verification Checklist
|
||||
|
||||
After setup, verify:
|
||||
- [ ] `Run-ReviewToolsTests.ps1` shows 9+ tests passing
|
||||
- [ ] `Get-PrIncrementalChanges.ps1` returns valid JSON
|
||||
- [ ] `Test-IncrementalReview.ps1` analyzes a PR without errors
|
||||
- [ ] `Get-GitHubRawFile.ps1` downloads files correctly
|
||||
- [ ] `Get-GitHubPrFilePatch.ps1` retrieves patches correctly
|
||||
|
||||
## Best Practices
|
||||
|
||||
### For Review Authors
|
||||
|
||||
1. **Test before full review**: Use `Test-IncrementalReview.ps1` to preview changes
|
||||
2. **Check for force-push**: Review the analysis output - force-pushes require full reviews
|
||||
3. **Smart step filtering**: Skip review steps for file types that didn't change
|
||||
|
||||
### For Script Users
|
||||
|
||||
1. **Use absolute paths**: When specifying folders, use absolute paths to avoid ambiguity
|
||||
2. **Check exit codes**: Scripts exit with code 1 on error - check `$LASTEXITCODE` in automation
|
||||
3. **Parse JSON output**: Use `ConvertFrom-Json` to work with structured output from `Get-PrIncrementalChanges.ps1`
|
||||
4. **Handle empty results**: Check `ChangedFiles.Count` before iterating
|
||||
|
||||
### Performance Tips
|
||||
|
||||
1. **Batch operations**: When reviewing multiple PRs, collect all PR numbers and process in batch
|
||||
2. **Cache raw files**: Download baseline files once and reuse for multiple comparisons
|
||||
3. **Filter early**: Use incremental detection to skip unnecessary file reviews
|
||||
4. **Parallel processing**: Consider processing independent PRs in parallel
|
||||
|
||||
## Integration with AI Review Systems
|
||||
|
||||
These tools are designed to work with AI-powered review systems:
|
||||
|
||||
1. **Copilot Instructions**: This file serves as reference documentation for GitHub Copilot
|
||||
2. **Structured Output**: JSON output from scripts is easily parsed by AI systems
|
||||
3. **Incremental Intelligence**: AI can focus on changed files for more efficient reviews
|
||||
4. **Metadata Tracking**: Review iterations are tracked for context-aware suggestions
|
||||
|
||||
### Example AI Integration
|
||||
|
||||
```powershell
|
||||
# Get incremental changes
|
||||
$analysis = .\Get-PrIncrementalChanges.ps1 -PullRequestNumber $PR | ConvertFrom-Json
|
||||
|
||||
# Feed to AI review system
|
||||
$reviewPrompt = @"
|
||||
Review the following changed files in PR #$PR:
|
||||
$($analysis.ChangedFiles | ForEach-Object { "- $($_.Filename) ($($_.Status))" } | Out-String)
|
||||
|
||||
Focus on incremental changes only. Previous review was at SHA $($analysis.LastReviewedSha).
|
||||
"@
|
||||
|
||||
# Execute AI review with context
|
||||
Invoke-AIReview -Prompt $reviewPrompt -Files $analysis.ChangedFiles
|
||||
```
|
||||
|
||||
## Support and Further Information
|
||||
|
||||
For detailed script documentation, use PowerShell's help system:
|
||||
```powershell
|
||||
Get-Help .\Get-PrIncrementalChanges.ps1 -Full
|
||||
Get-Help .\Test-IncrementalReview.ps1 -Detailed
|
||||
```
|
||||
|
||||
Related documentation:
|
||||
- `.github/prompts/review-pr.prompt.md` - Complete review workflow guide
|
||||
- `doc/devdocs/` - PowerToys development documentation
|
||||
- GitHub CLI documentation: https://cli.github.com/manual/
|
||||
|
||||
For issues or questions, refer to the PowerToys contribution guidelines.
|
||||
2
.github/workflows/msstore-submissions.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
echo powerToysInstallerArm64Url=$(jq -n "$powerToysSetup" | jq -r '[.[]|select(.name | contains("arm64"))][0].browser_download_url') >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Setup .NET 9.0
|
||||
uses: actions/setup-dotnet@v5
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.0.x'
|
||||
|
||||
|
||||
5
.gitignore
vendored
@@ -349,7 +349,10 @@ src/common/Telemetry/*.etl
|
||||
/src/modules/powerrename/ui/RCb24464
|
||||
|
||||
# Generated installer file for Monaco source files.
|
||||
/installer/PowerToysSetup/MonacoSRC.wxs
|
||||
/installer/PowerToysSetup/DscResources.wxs
|
||||
/installer/PowerToysSetupVNext/MonacoSRC.wxs
|
||||
/installer/PowerToysSetupVNext/DscResources.wxs
|
||||
|
||||
# MSBuildCache
|
||||
/MSBuildCacheLogs/
|
||||
@@ -358,4 +361,4 @@ src/common/Telemetry/*.etl
|
||||
/src/settings-ui/Settings.UI/Assets/Settings/search.index.json
|
||||
|
||||
# PowerToysInstaller Build Temp Files
|
||||
installer/*/*.wxs.bk
|
||||
installer/*/*.wxs.bk
|
||||
3
.gitmodules
vendored
@@ -4,3 +4,6 @@
|
||||
[submodule "deps/expected-lite"]
|
||||
path = deps/expected-lite
|
||||
url = https://github.com/martinmoene/expected-lite.git
|
||||
[submodule "deps/cziplib"]
|
||||
path = deps/cziplib
|
||||
url = https://github.com/kuba--/zip.git
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
{
|
||||
"MatchedPath": [
|
||||
"*.resources.dll",
|
||||
|
||||
"WinUI3Apps\\Assets\\Settings\\Scripts\\*.ps1",
|
||||
|
||||
"PowerToys.ActionRunner.exe",
|
||||
@@ -26,7 +27,6 @@
|
||||
"PowerToys.GPOWrapper.dll",
|
||||
"PowerToys.GPOWrapperProjection.dll",
|
||||
"PowerToys.AllExperiments.dll",
|
||||
"LanguageModelProvider.dll",
|
||||
|
||||
"Common.Search.dll",
|
||||
|
||||
@@ -181,7 +181,6 @@
|
||||
"PowerToys.MousePointerCrosshairs.dll",
|
||||
"PowerToys.MouseJumpUI.dll",
|
||||
"PowerToys.MouseJumpUI.exe",
|
||||
"PowerToys.CursorWrap.dll",
|
||||
|
||||
"PowerToys.MouseWithoutBorders.dll",
|
||||
"PowerToys.MouseWithoutBorders.exe",
|
||||
@@ -347,8 +346,6 @@
|
||||
"Testably.Abstractions.FileSystem.Interface.dll",
|
||||
"WinUI3Apps\\Testably.Abstractions.FileSystem.Interface.dll",
|
||||
"ColorCode.Core.dll",
|
||||
"Microsoft.SemanticKernel.Connectors.Ollama.dll",
|
||||
"OllamaSharp.dll",
|
||||
|
||||
"UnitsNet.dll",
|
||||
"UtfUnknown.dll",
|
||||
|
||||
@@ -65,28 +65,21 @@ if (-not (Test-Path $outputDir)) {
|
||||
New-Item -Path $outputDir -ItemType Directory -Force | Out-Null
|
||||
}
|
||||
|
||||
# DSC v3 manifests go to DSCModules subfolder
|
||||
$dscOutputDir = Join-Path $outputDir 'DSCModules'
|
||||
if (-not (Test-Path $dscOutputDir)) {
|
||||
Write-Host "Creating DSCModules subfolder at '$dscOutputDir'."
|
||||
New-Item -Path $dscOutputDir -ItemType Directory -Force | Out-Null
|
||||
}
|
||||
Write-Host "DSC manifests will be generated to: '$outputDir'"
|
||||
|
||||
Write-Host "DSC manifests will be generated to: '$dscOutputDir'"
|
||||
Write-Host "Cleaning previously generated DSC manifest files from '$outputDir'."
|
||||
Get-ChildItem -Path $outputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction SilentlyContinue | Remove-Item -Force
|
||||
|
||||
Write-Host "Cleaning previously generated DSC manifest files from '$dscOutputDir'."
|
||||
Get-ChildItem -Path $dscOutputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction SilentlyContinue | Remove-Item -Force
|
||||
|
||||
$arguments = @('manifest', '--resource', 'settings', '--outputDir', $dscOutputDir)
|
||||
$arguments = @('manifest', '--resource', 'settings', '--outputDir', $outputDir)
|
||||
Write-Host "Invoking DSC manifest generator: '$exePath' $($arguments -join ' ')"
|
||||
& $exePath @arguments
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "PowerToys.DSC.exe exited with code $LASTEXITCODE"
|
||||
}
|
||||
|
||||
$generatedFiles = Get-ChildItem -Path $dscOutputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction Stop
|
||||
$generatedFiles = Get-ChildItem -Path $outputDir -Filter 'microsoft.powertoys.*.settings.dsc.resource.json' -ErrorAction Stop
|
||||
if ($generatedFiles.Count -eq 0) {
|
||||
throw "No DSC manifest files were generated in '$dscOutputDir'."
|
||||
throw "No DSC manifest files were generated in '$outputDir'."
|
||||
}
|
||||
|
||||
Write-Host "Generated $($generatedFiles.Count) DSC manifest file(s):"
|
||||
|
||||
@@ -32,7 +32,7 @@ parameters:
|
||||
- name: enableMsBuildCaching
|
||||
type: boolean
|
||||
displayName: "Enable MSBuild Caching"
|
||||
default: false
|
||||
default: true
|
||||
- name: runTests
|
||||
type: boolean
|
||||
displayName: "Run Tests"
|
||||
|
||||
@@ -52,6 +52,8 @@ extends:
|
||||
name: SHINE-INT-S
|
||||
${{ if eq(parameters.useVSPreview, true) }}:
|
||||
demands: ImageOverride -equals SHINE-VS17-Preview
|
||||
${{ else }}:
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
sdl:
|
||||
tsa:
|
||||
@@ -73,6 +75,7 @@ extends:
|
||||
name: SHINE-INT-L
|
||||
demands:
|
||||
# Our INT agents have a large disk mounted at P:\
|
||||
- WorkFolder -equals P:\_work
|
||||
- ${{ if eq(parameters.useVSPreview, true) }}:
|
||||
- ImageOverride -equals SHINE-VS17-Preview
|
||||
os: windows
|
||||
@@ -123,6 +126,7 @@ extends:
|
||||
parameters:
|
||||
pool:
|
||||
name: SHINE-INT-L
|
||||
image: SHINE-VS17-Latest
|
||||
os: windows
|
||||
official: true
|
||||
codeSign: true
|
||||
|
||||
@@ -111,7 +111,6 @@ jobs:
|
||||
${{ else }}:
|
||||
OutputBuildPlatform: ${{ platform }}
|
||||
variables:
|
||||
NUGET_PACKAGES: 'C:\NuGetPackages' # Some of our build steps cache these here... and it was apparently part of the global environment
|
||||
MakeAppxPath: 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x86\MakeAppx.exe'
|
||||
# Azure DevOps abhors a vacuum
|
||||
# If these are blank, expansion will fail later on... which will result in direct substitution of the variable *names*
|
||||
@@ -140,10 +139,6 @@ jobs:
|
||||
- output: pipelineArtifact
|
||||
artifactName: $(JobOutputArtifactName)
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
- output: pipelineArtifact
|
||||
artifactName: $(JobOutputArtifactName)-failure-$(System.JobAttempt)
|
||||
targetPath: $(LogOutputDirectory)
|
||||
condition: or(failed(), canceled())
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
@@ -271,26 +266,6 @@ jobs:
|
||||
env:
|
||||
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: Generate DSC artifacts for ARM64
|
||||
condition: and(succeeded(), eq(variables['BuildPlatform'], 'arm64'))
|
||||
inputs:
|
||||
solution: PowerToys.sln
|
||||
vsVersion: 17.0
|
||||
msbuildArgs: >-
|
||||
-restore
|
||||
/p:Configuration=$(BuildConfiguration)
|
||||
/p:Platform=x64
|
||||
/t:DSC\PowerToys_Settings_DSC_Schema_Generator
|
||||
/bl:$(LogOutputDirectory)\build-dsc-generator.binlog
|
||||
${{ parameters.additionalBuildOptions }}
|
||||
$(MSBuildCacheParameters)
|
||||
$(RestoreAdditionalProjectSourcesArg)
|
||||
platform: x64
|
||||
configuration: $(BuildConfiguration)
|
||||
msbuildArchitecture: x64
|
||||
maximumCpuCount: true
|
||||
|
||||
# Build PowerToys.DSC.exe for ARM64 (x64 uses existing binary from previous build)
|
||||
- task: VSBuild@1
|
||||
displayName: Build PowerToys.DSC.exe (x64 for generating manifests)
|
||||
@@ -400,7 +375,7 @@ jobs:
|
||||
### HACK: On ARM64 builds, building an app with Windows App SDK copies the x64 WebView2 dll instead of the ARM64 one. This task makes sure the right dll is used.
|
||||
- task: CopyFiles@2
|
||||
displayName: HACK Copy core WebView2 ARM64 dll to output directory
|
||||
condition: and(succeeded(), eq(variables['BuildPlatform'], 'arm64'))
|
||||
condition: eq(variables['BuildPlatform'],'arm64')
|
||||
inputs:
|
||||
contents: packages/Microsoft.Web.WebView2.1.0.2903.40/runtimes/win-ARM64/native_uap/Microsoft.Web.WebView2.Core.dll
|
||||
targetFolder: $(Build.SourcesDirectory)/ARM64/Release/WinUI3Apps/
|
||||
@@ -439,11 +414,11 @@ jobs:
|
||||
inputs:
|
||||
testResultsFormat: VSTest
|
||||
testResultsFiles: '**/*.trx'
|
||||
condition: and(succeeded(), ne(variables['BuildPlatform'], 'arm64'))
|
||||
condition: ne(variables['BuildPlatform'],'arm64')
|
||||
|
||||
# Native dlls
|
||||
- task: VSTest@2
|
||||
condition: and(succeeded(), ne(variables['BuildPlatform'], 'arm64')) # No arm64 agents to run the tests.
|
||||
condition: ne(variables['BuildPlatform'],'arm64') # No arm64 agents to run the tests.
|
||||
displayName: 'Native Tests'
|
||||
inputs:
|
||||
platform: '$(BuildPlatform)'
|
||||
|
||||
13
.vscode/launch.json
vendored
@@ -38,17 +38,6 @@
|
||||
"env": {},
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
},
|
||||
{
|
||||
"name": "Run AdvancedPaste (managed, no build, ARCH configurable)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\${input:arch}\\Debug\\WinUI3Apps\\PowerToys.AdvancedPaste.exe",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {},
|
||||
"console": "internalConsole",
|
||||
"stopAtEntry": false
|
||||
},
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0"
|
||||
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!-- Hybrid CRT configuration -->
|
||||
<PropertyGroup Condition="'$(HybridCrtConfiguration)'==''">
|
||||
<HybridCrtConfiguration>$(Configuration)</HybridCrtConfiguration>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Skip Hybrid CRT for AppContainer/UWP projects as they require MultiThreadedDLL -->
|
||||
<PropertyGroup Condition="'$(AppContainerApplication)'=='true' and '$(_VC_Target_Library_Platform)'!='Desktop'">
|
||||
<HybridCrtConfiguration></HybridCrtConfiguration>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemDefinitionGroup Condition="'$(HybridCrtConfiguration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<!-- We use MultiThreadedDebug, rather than MultiThreadedDebugDLL, to avoid DLL dependencies on VCRUNTIME140d.dll and MSVCP140d.dll. -->
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
|
||||
lib and instead linking against the Universal CRT DLL import library. This "hybrid" linking mechanism is
|
||||
supported according to the CRT maintainer. Dynamic linking against the CRT makes the binaries a bit smaller
|
||||
than they would otherwise be if the CRT, runtime, and STL were all statically linked in. -->
|
||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrtd.lib</IgnoreSpecificDefaultLibraries>
|
||||
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrtd.lib</AdditionalOptions>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(HybridCrtConfiguration)'=='Release'">
|
||||
<ClCompile>
|
||||
<!-- We use MultiThreaded, rather than MultiThreadedDLL, to avoid DLL dependencies on VCRUNTIME140.dll and MSVCP140.dll. -->
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<!-- Link statically against the runtime and STL, but link dynamically against the CRT by ignoring the static CRT
|
||||
lib and instead linking against the Universal CRT DLL import library. This "hybrid" linking mechanism is
|
||||
supported according to the CRT maintainer. Dynamic linking against the CRT makes the binaries a bit smaller
|
||||
than they would otherwise be if the CRT, runtime, and STL were all statically linked in. -->
|
||||
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries);libucrt.lib</IgnoreSpecificDefaultLibraries>
|
||||
<AdditionalOptions>%(AdditionalOptions) /defaultlib:ucrt.lib</AdditionalOptions>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- AppContainer/UWP projects must use MultiThreadedDLL -->
|
||||
<ItemDefinitionGroup Condition="'$(AppContainerApplication)'=='true' and '$(_VC_Target_Library_Platform)'!='Desktop' And '$(Configuration)'=='Debug'">
|
||||
<ClCompile>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(AppContainerApplication)'=='true' and '$(_VC_Target_Library_Platform)'!='Desktop' And '$(Configuration)'=='Release'">
|
||||
<ClCompile>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<!-- Project configurations -->
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
@@ -26,7 +76,6 @@
|
||||
<PropertyGroup Condition="'$(SkipCppCodeAnalysis)' == ''">
|
||||
<RunCodeAnalysis>true</RunCodeAnalysis>
|
||||
<CodeAnalysisRuleSet>$(MsbuildThisFileDirectory)\CppRuleSet.ruleset</CodeAnalysisRuleSet>
|
||||
<CAExcludePath>$(MSBuildThisFileDirectory)deps;$(MSBuildThisFileDirectory)packages;$(CAExcludePath)</CAExcludePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- C++ source compile-specific things for all configurations -->
|
||||
@@ -35,7 +84,7 @@
|
||||
<PreferredToolArchitecture Condition="'$(PROCESSOR_ARCHITECTURE)' == 'ARM64' or '$(PROCESSOR_ARCHITEW6432)' == 'ARM64'">arm64</PreferredToolArchitecture>
|
||||
<VcpkgEnabled>false</VcpkgEnabled>
|
||||
<ReplaceWildcardsInProjectItems>true</ReplaceWildcardsInProjectItems>
|
||||
<ExternalIncludePath>$(MSBuildThisFileDirectory)deps;$(MSBuildThisFileDirectory)packages;$(ExternalIncludePath)</ExternalIncludePath>
|
||||
<ExternalIncludePath>$(MSBuildThisFileFullPath)\..\deps\;$(MSBuildThisFileFullPath)\..\packages\;$(ExternalIncludePath)</ExternalIncludePath>
|
||||
<!-- Enable control flow guard for C++ projects that don't consume any C++ files -->
|
||||
<!-- This covers the case where a .dll exports a .lib, but doesn't have any ClCompile entries. -->
|
||||
<LinkControlFlowGuard>Guard</LinkControlFlowGuard>
|
||||
@@ -74,7 +123,6 @@
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
@@ -84,7 +132,6 @@
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
</ClCompile>
|
||||
|
||||
@@ -147,18 +147,6 @@ _If you want to find diagnostic data events in the source code, these two links
|
||||
<td>Microsoft.PowerToys.AdvancedPasteSemanticKernelFormatEvent</td>
|
||||
<td>Triggered when Advanced Paste leverages the Semantic Kernel.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteSemanticKernelErrorEvent</td>
|
||||
<td>Occurs when the Semantic Kernel workflow encounters an error.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteEndpointUsageEvent</td>
|
||||
<td>Logs the AI provider, model, and processing duration for each endpoint call.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Microsoft.PowerToys.AdvancedPasteCustomActionErrorEvent</td>
|
||||
<td>Records provider, model, and status details when a custom action fails.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
### Always on Top
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<Project>
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||
@@ -7,9 +7,9 @@
|
||||
<PackageVersion Include="AdaptiveCards.ObjectModel.WinUI3" Version="2.0.0-beta" />
|
||||
<PackageVersion Include="AdaptiveCards.Rendering.WinUI3" Version="2.1.0-beta" />
|
||||
<PackageVersion Include="AdaptiveCards.Templating" Version="2.0.5" />
|
||||
<PackageVersion Include="CommunityToolkit.Labs.WinUI.Controls.OpacityMaskView" Version="0.1.251101-build.2372" />
|
||||
<PackageVersion Include="Microsoft.Bot.AdaptiveExpressions.Core" Version="4.23.0" />
|
||||
<PackageVersion Include="Appium.WebDriver" Version="4.4.5" />
|
||||
<PackageVersion Include="Azure.AI.OpenAI" Version="1.0.0-beta.17" />
|
||||
<PackageVersion Include="CoenM.ImageSharp.ImageHash" Version="1.3.6" />
|
||||
<PackageVersion Include="CommunityToolkit.Common" Version="8.4.0" />
|
||||
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
||||
@@ -35,33 +35,23 @@
|
||||
<!-- Including MessagePack to force version, since it's used by StreamJsonRpc but contains vulnerabilities. After StreamJsonRpc updates the version of MessagePack, we can upgrade StreamJsonRpc instead. -->
|
||||
<PackageVersion Include="MessagePack" Version="3.1.3" />
|
||||
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.8" />
|
||||
<!-- Including Microsoft.Bcl.AsyncInterfaces to force version, since it's used by Microsoft.SemanticKernel. -->
|
||||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Windows.CppWinRT" Version="2.0.240111.5" />
|
||||
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.1.16" />
|
||||
<PackageVersion Include="Microsoft.Extensions.AI" Version="9.9.1" />
|
||||
<PackageVersion Include="Microsoft.Extensions.AI.OpenAI" Version="9.9.1-preview.1.25474.6" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.AI.Foundry.Local" Version="0.3.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.66.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.OpenAI" Version="1.66.0" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.AzureAIInference" Version="1.66.0-beta" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Google" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.MistralAI" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel.Connectors.Ollama" Version="1.66.0-alpha" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.WindowsServices" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.SemanticKernel" Version="1.15.0" />
|
||||
<PackageVersion Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" />
|
||||
<PackageVersion Include="Microsoft.Web.WebView2" Version="1.0.3179.45" />
|
||||
<!-- Package Microsoft.Win32.SystemEvents added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Drawing.Common but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="Microsoft.Win32.SystemEvents" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Win32.SystemEvents" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.WindowsPackageManager.ComInterop" Version="1.10.340" />
|
||||
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="9.0.10" />
|
||||
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.183" />
|
||||
<!-- CsWinRT version needs to be set to have a WinRT.Runtime.dll at the same version contained inside the NET SDK we're currently building on CI. -->
|
||||
<!--
|
||||
@@ -84,7 +74,7 @@
|
||||
<PackageVersion Include="NLog" Version="5.2.8" />
|
||||
<PackageVersion Include="NLog.Extensions.Logging" Version="5.3.8" />
|
||||
<PackageVersion Include="NLog.Schema" Version="5.2.8" />
|
||||
<PackageVersion Include="OpenAI" Version="2.5.0" />
|
||||
<PackageVersion Include="OpenAI" Version="2.0.0" />
|
||||
<PackageVersion Include="ReverseMarkdown" Version="4.1.0" />
|
||||
<PackageVersion Include="RtfPipe" Version="2.0.7677.4303" />
|
||||
<PackageVersion Include="ScipBe.Common.Office.OneNote" Version="3.0.1" />
|
||||
@@ -94,29 +84,28 @@
|
||||
<PackageVersion Include="StreamJsonRpc" Version="2.21.69" />
|
||||
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
|
||||
<!-- Package System.CodeDom added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Management but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="System.CodeDom" Version="9.0.10" />
|
||||
<PackageVersion Include="System.CodeDom" Version="9.0.8" />
|
||||
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
||||
<PackageVersion Include="System.ComponentModel.Composition" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Data.OleDb" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ComponentModel.Composition" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Data.OleDb" Version="9.0.8" />
|
||||
<!-- Package System.Data.SqlClient added to force it as a dependency of Microsoft.Windows.Compatibility to the latest version available at this time. -->
|
||||
<PackageVersion Include="System.Data.SqlClient" Version="4.9.0" />
|
||||
<!-- Package System.Diagnostics.EventLog added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.1. This is a dependency of System.Data.OleDb but the 8.0.1 version wasn't published to nuget. -->
|
||||
<PackageVersion Include="System.Diagnostics.EventLog" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Diagnostics.EventLog" Version="9.0.8" />
|
||||
<!-- Package System.Diagnostics.PerformanceCounter added as a hack for being able to exclude the runtime assets so they don't conflict with 8.0.11. -->
|
||||
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ClientModel" Version="1.7.0" />
|
||||
<PackageVersion Include="System.Drawing.Common" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Diagnostics.PerformanceCounter" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Drawing.Common" Version="9.0.8" />
|
||||
<PackageVersion Include="System.IO.Abstractions" Version="22.0.13" />
|
||||
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="22.0.13" />
|
||||
<PackageVersion Include="System.Management" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Management" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
|
||||
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
|
||||
<PackageVersion Include="System.Reactive" Version="6.0.1" />
|
||||
<PackageVersion Include="System.Runtime.Caching" Version="9.0.10" />
|
||||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.10" />
|
||||
<PackageVersion Include="System.Runtime.Caching" Version="9.0.8" />
|
||||
<PackageVersion Include="System.ServiceProcess.ServiceController" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.Encoding.CodePages" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.8" />
|
||||
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
|
||||
<PackageVersion Include="UnicodeInformation" Version="2.6.0" />
|
||||
<PackageVersion Include="UnitsNet" Version="5.56.0" />
|
||||
@@ -138,4 +127,4 @@
|
||||
<PackageVersion Include="Microsoft.VariantAssignment.Client" Version="2.4.17140001" />
|
||||
<PackageVersion Include="Microsoft.VariantAssignment.Contract" Version="3.0.16990001" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -1495,10 +1495,10 @@ SOFTWARE.
|
||||
- AdaptiveCards.Rendering.WinUI3
|
||||
- AdaptiveCards.Templating
|
||||
- Appium.WebDriver
|
||||
- Azure.AI.OpenAI
|
||||
- CoenM.ImageSharp.ImageHash
|
||||
- CommunityToolkit.Common
|
||||
- CommunityToolkit.Labs.WinUI.Controls.MarkdownTextBlock
|
||||
- CommunityToolkit.Labs.WinUI.Controls.OpacityMaskView
|
||||
- CommunityToolkit.Mvvm
|
||||
- CommunityToolkit.WinUI.Animations
|
||||
- CommunityToolkit.WinUI.Collections
|
||||
|
||||
@@ -822,16 +822,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.WebSea
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.Shell.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.Shell.UnitTests\Microsoft.CmdPal.Ext.Shell.UnitTests.csproj", "{E816D7B4-4688-4ECB-97CC-3D8E798F3833}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CursorWrap", "src\modules\MouseUtils\CursorWrap\CursorWrap.vcxproj", "{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{3DCCD936-D085-4869-A1DE-CA6A64152C94}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LightSwitch.UITests", "src\modules\LightSwitch\Tests\LightSwitch.UITests\LightSwitch.UITests.csproj", "{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests\Microsoft.CmdPal.Ext.ClipboardHistory.UnitTests.csproj", "{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LanguageModelProvider", "src\common\LanguageModelProvider\LanguageModelProvider.csproj", "{45354F4F-1414-45CE-B600-51CD1209FD19}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.CmdPal.UI.ViewModels.UnitTests", "src\modules\cmdpal\Tests\Microsoft.CmdPal.UI.ViewModels.UnitTests\Microsoft.CmdPal.UI.ViewModels.UnitTests.csproj", "{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}"
|
||||
EndProject
|
||||
Global
|
||||
@@ -2992,14 +2988,6 @@ Global
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|x64.ActiveCfg = Release|x64
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833}.Release|x64.Build.0 = Release|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Debug|x64.Build.0 = Debug|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|x64.ActiveCfg = Release|x64
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5}.Release|x64.Build.0 = Release|x64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F}.Debug|ARM64.Deploy.0 = Debug|ARM64
|
||||
@@ -3020,14 +3008,6 @@ Global
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|x64.ActiveCfg = Release|x64
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA}.Release|x64.Build.0 = Release|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Debug|x64.Build.0 = Debug|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|x64.ActiveCfg = Release|x64
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19}.Release|x64.Build.0 = Release|x64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C}.Debug|x64.ActiveCfg = Debug|x64
|
||||
@@ -3361,11 +3341,9 @@ Global
|
||||
{E816D7B3-4688-4ECB-97CC-3D8E798F3832} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B2-4688-4ECB-97CC-3D8E798F3831} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{E816D7B4-4688-4ECB-97CC-3D8E798F3833} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{48A1DB8C-5DF8-4FB3-9E14-2B67F3F2D8B5} = {322566EF-20DC-43A6-B9F8-616AF942579A}
|
||||
{3DCCD936-D085-4869-A1DE-CA6A64152C94} = {5B201255-53C8-490B-A34F-01F05D48A477}
|
||||
{F5333ED7-06D8-4AB3-953A-36D63F08CB6F} = {3DCCD936-D085-4869-A1DE-CA6A64152C94}
|
||||
{4E0FCF69-B06B-D272-76BF-ED3A559B4EDA} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
{45354F4F-1414-45CE-B600-51CD1209FD19} = {1AFB6476-670D-4E80-A464-657E01DFF482}
|
||||
{A66E9270-5D93-EC9C-F06E-CE7295BB9A6C} = {8EF25507-2575-4ADE-BF7E-D23376903AB8}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
|
||||
46
README.md
@@ -7,23 +7,19 @@
|
||||
<h1 align="center">
|
||||
<span>Microsoft PowerToys</span>
|
||||
</h1>
|
||||
<p align="center">
|
||||
<span align="center">Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks.</span>
|
||||
</p>
|
||||
|
||||
<h3 align="center">
|
||||
<a href="#-installation">Installation</a>
|
||||
<span> · </span>
|
||||
<span> . </span>
|
||||
<a href="https://aka.ms/powertoys-docs">Documentation</a>
|
||||
<span> · </span>
|
||||
<span> . </span>
|
||||
<a href="https://aka.ms/powertoys-releaseblog">Blog</a>
|
||||
<span> · </span>
|
||||
<span> . </span>
|
||||
<a href="#-whats-new">Release notes</a>
|
||||
</h3>
|
||||
<br/><br/>
|
||||
|
||||
## 🔨 Utilities
|
||||
|
||||
PowerToys includes over 25 utilities to help you customize and optimize your Windows experience:
|
||||
Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks.
|
||||
<br/><br/>
|
||||
|
||||
| | | |
|
||||
|---|---|---|
|
||||
@@ -41,13 +37,20 @@ PowerToys includes over 25 utilities to help you customize and optimize your Win
|
||||
|
||||
## 📋 Installation
|
||||
|
||||
For detailed installation instructions and system requirements, visit the [installation docs](https://learn.microsoft.com/windows/powertoys/install).
|
||||
For detailed installation instructions, visit the [installation docs](https://learn.microsoft.com/windows/powertoys/install).
|
||||
|
||||
Before you begin, make sure your device meets the system requirements:
|
||||
|
||||
> [!NOTE]
|
||||
> - Windows 11 or Windows 10 version 2004 (20H1 / build 19041) or newer
|
||||
> - 64-bit processor: x64 or ARM64
|
||||
> - Latest stable version of [Microsoft Edge WebView2 Runtime](https://go.microsoft.com/fwlink/p/?LinkId=2124703) is installed via the bootstrapper during setup
|
||||
|
||||
Choose one of the installation methods below:
|
||||
|
||||
But to get started quickly, choose one of the installation methods below:
|
||||
<br/><br/>
|
||||
<details open>
|
||||
<summary><strong>Download .exe from GitHub</strong></summary>
|
||||
<br/>
|
||||
<summary>Download .exe from GitHub</summary>
|
||||
|
||||
Go to the [PowerToys GitHub releases][github-release-link], click Assets to reveal the downloads, and choose the installer that matches your architecture and install scope. For most devices, that's the x64 per-user installer.
|
||||
|
||||
<!-- items that need to be updated release to release -->
|
||||
@@ -64,11 +67,11 @@ Go to the [PowerToys GitHub releases][github-release-link], click Assets to reve
|
||||
| Per user - ARM64 | [PowerToysUserSetup-0.95.1-arm64.exe][ptUserArm64] |
|
||||
| Machine wide - x64 | [PowerToysSetup-0.95.1-x64.exe][ptMachineX64] |
|
||||
| Machine wide - ARM64 | [PowerToysSetup-0.95.1-arm64.exe][ptMachineArm64] |
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Microsoft Store</strong></summary>
|
||||
<br/>
|
||||
<summary>Microsoft Store</summary>
|
||||
You can easily install PowerToys from the Microsoft Store:
|
||||
<p>
|
||||
<a style="text-decoration:none" href="https://aka.ms/getPowertoys">
|
||||
@@ -79,9 +82,10 @@ You can easily install PowerToys from the Microsoft Store:
|
||||
</p>
|
||||
</details>
|
||||
|
||||
|
||||
<details>
|
||||
<summary><strong>WinGet</strong></summary>
|
||||
<br/>
|
||||
<summary>WinGet</summary>
|
||||
|
||||
Download PowerToys from [WinGet][winget-link]. Updating PowerToys via winget will respect the current PowerToys installation scope. To install PowerToys, run the following command from the command line / PowerShell:
|
||||
|
||||
*User scope installer [default]*
|
||||
@@ -96,8 +100,8 @@ winget install --scope machine Microsoft.PowerToys -s winget
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Other methods</strong></summary>
|
||||
<br/>
|
||||
<summary>Other methods</summary>
|
||||
|
||||
There are [community driven install methods](./doc/unofficialInstallMethods.md) such as Chocolatey and Scoop. If these are your preferred install solutions, you can find the install instructions there.
|
||||
</details>
|
||||
|
||||
|
||||
1
deps/cziplib
vendored
Submodule
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 24 KiB |
@@ -1,110 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart as admin and verify FZ can snap an elevated window
|
||||
- [x] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify the notification doesn't appear
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* In the Settings change the duration from 900ms to 200ms
|
||||
- [x] Verify the guide open after quicker when holding the `Win` key
|
||||
* Restore the 900ms duration
|
||||
* Run PowerToys as admin:
|
||||
- [x] Open an elevated app and keep it on foreground
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify the taskbar shortcut `Win + digit` works
|
||||
- [x] Verify the first four shortcuts work
|
||||
@@ -1,159 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. $hh-$mm-$ss-$fff $DD_$MMMM_$YYYY)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax.
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application and a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Indexer - open a file on the disk.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space.
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree, copy key path, open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] System - test lock, sign out, restart, empty recycle bin.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are populated to PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are populated to PT Run
|
||||
- [x] Change `Include in global result` and verify changes are populated to PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message
|
||||
- [x] Disable all plugins and verify the warning message
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* In the Settings change the duration from 900ms to 200ms
|
||||
- [x] Verify the guide open after quicker when holding the `Win` key
|
||||
* Restore the 900ms duration
|
||||
* Run PowerToys as admin:
|
||||
* Open an elevated app and keep it on foreground
|
||||
- [x] Verify holding the `Win` key opens the guide
|
||||
- [x] Verify `Win + ?` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify the first four shortcuts work
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,241 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version). In case version of PowerToys is still 0.0.1 delete old version and install new.
|
||||
- [X] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [X] restart as admin and verify FZ can snap an elevated window
|
||||
- [X] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [X] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [X] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [X] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [X] turn off all the modules and verify all module are off
|
||||
- [X] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [X] turn on all the module, all module are now working
|
||||
- [X] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify the notification doesn't appear
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [X] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [X] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [X] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [X] Try to copy color formats to the clipboard from the Editor
|
||||
- [X] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [X] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [X] Select a color from the history in the Editor
|
||||
- [X] Remove color from the history in the Editor
|
||||
- [X] Open the Color Picker from the Editor
|
||||
- [X] Open Adjust color from the Editor
|
||||
- [X] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [X] Open editor from the settings
|
||||
- [X] Open editor with a shortcut
|
||||
- [X] Create a new layout (grid and canvas)
|
||||
- [X] Duplicate a template and a custom layout
|
||||
- [X] Delete layout
|
||||
- [X] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [X] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [X] Edit grid layout: split, merge, resize zones.
|
||||
- [X] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [X] Assign a layout to each monitor.
|
||||
- [X] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [X] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [X] Change zone colors and opacity.
|
||||
- [X] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [X] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [X] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [X] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [X] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [X] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [X] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [X] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [X] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [X] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [X] Disable FZ
|
||||
- [X] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Try to resize wmf image. Resized image has to be of fallback encoder type
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. $hh-$mm-$ss-$fff $DD_$MMMM_$YYYY)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax.
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,131 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart as admin and verify FZ can snap an elevated window
|
||||
- [x] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [x] verify the notification doesn't appear
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
@@ -1,151 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,96 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
@@ -1,125 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [X] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [X] restart as admin and verify FZ can snap an elevated window
|
||||
- [X] restart PT and verify it now runs as user
|
||||
* restart as admin and set "Always run as admin"
|
||||
- [X] restart PT and verify it still runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [X] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [X] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [X] turn off all the modules and verify all module are off
|
||||
- [X] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [X] turn on all the module, all module are now working
|
||||
- [X] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
**Elevated app notification:**
|
||||
- run PT as a user
|
||||
- open an elevated app (i.e. Task Manager)
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify that a notification appears
|
||||
- restart PT as admin
|
||||
- shift-drag the elevated app window
|
||||
- [X] verify the notification doesn't appear
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [X] Open editor from the settings
|
||||
- [X] Open editor with a shortcut
|
||||
- [X] Create a new layout (grid and canvas)
|
||||
- [X] Duplicate a template and a custom layout
|
||||
- [X] Delete layout
|
||||
- [X] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [X] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [X] Edit grid layout: split, merge, resize zones.
|
||||
- [X] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [X] Assign a layout to each monitor.
|
||||
- [X] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Edit grid layout, verify that split, merge and resize zones works as expected.
|
||||
- [x] Disable FZ
|
||||
- [x] Reenable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
@@ -1,129 +0,0 @@
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* Run PowerToys as admin:
|
||||
- [x] Open an elevated app and keep it on foreground
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
* Run PowerToys as user
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,230 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
@@ -1,162 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [X] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,172 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,84 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
@@ -1,130 +0,0 @@
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Expresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
@@ -1,130 +0,0 @@
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane works for the SVG files
|
||||
- [X] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [X] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [X] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached
|
||||
- [X] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Expresso
|
||||
- [X] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [X] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [X] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [X] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [X] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [X] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [X] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [X] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [X] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [X] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [X] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [X] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [X] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
## Install tests
|
||||
- [x] install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
- [x] open the Settings and for each module change at least one option
|
||||
- [x] open the FancyZones editor and create two custom layouts:
|
||||
- [x] a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
- [x] one from grid template using 4 zones and splitting one zone
|
||||
- [x] apply the custom canvas layout to the primary desktop
|
||||
- [x] create a virtual desktop and apply the custom grid layout
|
||||
- [x] if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* [x] install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
@@ -1,148 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,117 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Espresso
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,126 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [X] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [X] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [X] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [X] Try to copy color formats to the clipboard from the Editor
|
||||
- [X] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [X] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [X] Select a color from the history in the Editor
|
||||
- [X] Remove color from the history in the Editor
|
||||
- [X] Open the Color Picker from the Editor
|
||||
- [X] Open Adjust color from the Editor
|
||||
- [X] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [X] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [X] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [X] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [X] Resize one image
|
||||
- [X] Resize multiple images
|
||||
|
||||
- [X] Resize images with `Fill` option
|
||||
- [X] Resize images with `Fit` option
|
||||
- [X] Resize images with `Stretch` option
|
||||
|
||||
- [X] Resize images using dimension: Centimeters
|
||||
- [X] Resize images using dimension: Inches
|
||||
- [X] Resize images using dimension: Percents
|
||||
- [X] Resize images using dimension: Pixels
|
||||
|
||||
- [X] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [X] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [X] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [X] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [X] Check if disable and enable of the module works.
|
||||
- [X] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [X] Check if `Appear only in extended context menu` works.
|
||||
- [X] Enable/disable autocomplete.
|
||||
- [X] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [X] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [X] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [X] Item Name/Extension Only (one at the time)
|
||||
- [X] Enumerate Items
|
||||
- [X] Case Sensitive
|
||||
- [X] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [X] Search with an expression (e.g. `(.*).png`)
|
||||
- [X] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [X] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [X] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [X] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [X] when PowerToys is running unelevated on start-up
|
||||
- [X] when PowerToys is running as admin on start-up
|
||||
- [X] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [X] Program - launch a Win32 application
|
||||
- [X] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [X] Windows Search - find a file and open containing folder.
|
||||
- [X] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [X] Uri - launch a web page on entering the uri.
|
||||
- [X] Window walker - Switch focus to a running window.
|
||||
- [X] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [X] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [X] Registry - navigate through the registry tree and copy key path.
|
||||
- [X] System - test `lock`.
|
||||
- [X] System - test `empty recycle bin`.
|
||||
- [X] System - test `shutdown`.
|
||||
|
||||
- [X] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [X] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [X] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [X] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [X] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [X] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [X] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [X] Open the guide and close it pressing `Esc`
|
||||
- [X] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
### OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,96 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [issue reported internally] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide // holding doesn't work
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
@@ -1,148 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,117 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Espresso
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,127 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [X] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [X] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [X] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
@@ -1,116 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,164 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,149 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge, VSCode (entered as code) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,130 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,135 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,189 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
@@ -1,173 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,150 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,324 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,335 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,327 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,337 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* Running as admin:
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [ ] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,147 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [!] Try to pin the app in the Game Mode. // always works
|
||||
@@ -1,220 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,205 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\runner\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,162 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [X] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [X] Start PowerToys and verify OOBE opens
|
||||
* Visit each OOBE section and for each section:
|
||||
- [X] open the Settings for that module
|
||||
- [X] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [X] close the Settings
|
||||
- [X] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [X] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [X] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [X] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [X] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [X] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [X] Verify that changing "toolbar position" setting works
|
||||
- [X] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [X] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,278 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,239 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,226 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [X] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [X] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [X] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [x] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [x] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [x] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [x] Try to copy color formats to the clipboard from the Editor
|
||||
- [x] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [x] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [x] Select a color from the history in the Editor
|
||||
- [x] Remove color from the history in the Editor
|
||||
- [x] Open the Color Picker from the Editor
|
||||
- [x] Open Adjust color from the Editor
|
||||
- [x] Check Color Picker logs for errors
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [x] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [x] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [x] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [x] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [x] Verify that changing "toolbar position" setting works
|
||||
- [x] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [x] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [x] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [x] restart PT and verify it runs as user
|
||||
- [x] restart as admin and set "Always run as admin"
|
||||
- [x] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [x] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [x] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [x] turn off all the modules and verify all module are off
|
||||
- [x] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [x] turn on all the module, all module are now working
|
||||
- [x] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [x] Open editor from the settings
|
||||
- [x] Open editor with a shortcut
|
||||
- [x] Create a new layout (grid and canvas)
|
||||
- [x] Duplicate a template and a custom layout
|
||||
- [x] Delete layout
|
||||
- [x] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [x] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [x] Edit grid layout: split, merge, resize zones.
|
||||
- [x] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [x] Assign a layout to each monitor.
|
||||
- [x] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [x] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [x] Change zone colors and opacity.
|
||||
- [x] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [x] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [x] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [x] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [x] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [x] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [x] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [x] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [x] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [x] Disable FZ
|
||||
- [x] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [x] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [x] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [X] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
@@ -1,140 +0,0 @@
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated. (Currently doesn't work)
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,201 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,152 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,124 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [x] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [x] System tray menu items
|
||||
- [x] Settings
|
||||
- [x] OOBE (What's new)
|
||||
- [x] Keyboard Manager Editor
|
||||
- [x] Color Picker (check the tooltips)
|
||||
- [x] FancyZones Editor
|
||||
- [x] Power Rename (new WinUI 3 may not be localized)
|
||||
- [x] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [x] Image Resizer
|
||||
- [x] Shortcut Guide (Windows controls are localized)
|
||||
- [x] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [X] Program - launch a packaged application
|
||||
- [X] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [X] Windows Search - open a file on the disk.
|
||||
- [X] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [X] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [x] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [x] Open the guide and close it pressing `Esc`
|
||||
- [x] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [x] Verify `Win + Shift + /` opens the guide
|
||||
- [x] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## Always on Top
|
||||
- [x] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [x] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [x] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [x] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [x] Change border color and thickness.
|
||||
- [x] Verify if sound is played according to the sound setting.
|
||||
- [x] Exclude app, try to pin it.
|
||||
- [x] Exclude already pinned app, verify it was unpinned.
|
||||
- [x] Try to pin the app in the Game Mode.
|
||||
@@ -1,150 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,164 +0,0 @@
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## Image Resizer
|
||||
- [ ] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [ ] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [ ] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [ ] Resize one image
|
||||
- [ ] Resize multiple images
|
||||
- [ ] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [ ] Resize images with `Fill` option
|
||||
- [ ] Resize images with `Fit` option
|
||||
- [ ] Resize images with `Stretch` option
|
||||
|
||||
- [ ] Resize images using dimension: Centimeters
|
||||
- [ ] Resize images using dimension: Inches
|
||||
- [ ] Resize images using dimension: Percents
|
||||
- [ ] Resize images using dimension: Pixels
|
||||
|
||||
- [ ] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [ ] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [ ] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [ ] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [ ] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## PowerRename
|
||||
- [ ] Check if disable and enable of the module works.
|
||||
- [ ] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [ ] Check if `Appear only in extended context menu` works.
|
||||
- [ ] Enable/disable autocomplete.
|
||||
- [ ] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [ ] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [ ] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [ ] Item Name/Extension Only (one at the time)
|
||||
- [ ] Enumerate Items
|
||||
- [ ] Case Sensitive
|
||||
- [ ] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [ ] Search with an expression (e.g. `(.*).png`)
|
||||
- [ ] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [ ] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [ ] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [ ] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [ ] Click on the `Renamed` column to filter results.
|
||||
- [ ] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [ ] Program - launch a Win32 application
|
||||
- [ ] Program - launch a Win32 application as admin
|
||||
- [ ] Program - launch a packaged application
|
||||
- [ ] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [ ] Windows Search - open a file on the disk.
|
||||
- [ ] Windows Search - find a file and copy file path.
|
||||
- [ ] Windows Search - find a file and open containing folder.
|
||||
- [ ] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [ ] Folder - Search and open a sub-folder on entering the path.
|
||||
- [ ] Uri - launch a web page on entering the uri.
|
||||
- [ ] Window walker - Switch focus to a running window.
|
||||
- [ ] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [ ] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [ ] Registry - navigate through the registry tree and copy key path.
|
||||
- [ ] System - test `lock`.
|
||||
- [ ] System - test `empty recycle bin`.
|
||||
- [ ] System - test `shutdown`.
|
||||
|
||||
- [ ] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [ ] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [ ] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [ ] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [ ] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [ ] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [ ] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## Shortcut Guide
|
||||
* Run PowerToys as user:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Change the hotkey to a different shortcut (e.g. `Win + /`) and verify it works
|
||||
- [ ] Set Shortcut Guide to start with a Windows key press and verify it works.
|
||||
* Restore the `Win + Shift + /` hotkey.
|
||||
- [ ] Open the guide and close it pressing `Esc`
|
||||
- [ ] Open the guide and close it pressing and releasing the `Win` key
|
||||
* With PowerToys running as a user, open an elevated app and keep it on foreground:
|
||||
- [ ] Verify `Win + Shift + /` opens the guide
|
||||
- [ ] Verify some of the shortcuts shown in the guide work and the guide is closed when pressed
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [ ] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [ ] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [ ] open the Settings for that module
|
||||
- [ ] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [ ] close the Settings
|
||||
- [ ] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [ ] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||
|
||||
## Always on Top
|
||||
- [ ] Pin/unpin a window, verify it's topmost/not topmost.
|
||||
- [ ] Pin/unpin a window, verify the border appeared/disappeared.
|
||||
- [ ] Switch virtual desktop, verify border doesn't show up on another desktop.
|
||||
- [ ] Minimize and maximize pinned window, verify the border looks as usual.
|
||||
- [ ] Change border color and thickness.
|
||||
- [ ] Verify if sound is played according to the sound setting.
|
||||
- [ ] Exclude app, try to pin it.
|
||||
- [ ] Exclude already pinned app, verify it was unpinned.
|
||||
- [ ] Try to pin the app in the Game Mode.
|
||||
@@ -1,224 +0,0 @@
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane works for the SVG files
|
||||
- [x] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the PDF file
|
||||
- [x] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane works for the gcode file
|
||||
- [x] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [x] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [x] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [x] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [x] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [x] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Image Resizer
|
||||
- [x] Disable the Image Resizer and check that `Resize images` is absent in the context menu
|
||||
- [x] Enable the Image Resizer and check that `Resize images` is present in the context menu
|
||||
- [x] Remove one image size and add a custom image size. Open the Image Resize window from the context menu and verify that changes are populated
|
||||
- [x] Resize one image
|
||||
- [x] Resize multiple images
|
||||
- [x] Open the image resizer to resize a `.gif` file and verify the "Gif files with animations may not be correctly resized." warning appears.
|
||||
|
||||
- [x] Resize images with `Fill` option
|
||||
- [x] Resize images with `Fit` option
|
||||
- [x] Resize images with `Stretch` option
|
||||
|
||||
- [x] Resize images using dimension: Centimeters
|
||||
- [x] Resize images using dimension: Inches
|
||||
- [x] Resize images using dimension: Percents
|
||||
- [x] Resize images using dimension: Pixels
|
||||
|
||||
- [x] Change `Filename format` to `%1 - %2 - %3 - %4 - %5 - %6` and check if the new format is applied to resized images
|
||||
- [x] Check `Use original date modified` and verify that modified date is not changed for resized images. Take into account that `Resize the original pictures(don't create copy)` should be selected
|
||||
- [x] Check `Make pictures smaller but not larger` and verify that smaller pictures are not resized
|
||||
- [x] Check `Resize the original pictures (don't create copies)` and verify that the original picture is resized and a copy is not created
|
||||
- [x] Uncheck `Ignore the orientation of pictures` and verify that swapped width and height will actually resize a picture if the width is not equal to the height
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [x] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [x] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [x] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [x] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [x] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [x] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [x] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [x] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [x] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [x] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [x] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## PowerRename
|
||||
- [x] Check if disable and enable of the module works.
|
||||
- [x] Check that with the `Show icon on context menu` icon is shown and vice versa.
|
||||
- [x] Check if `Appear only in extended context menu` works.
|
||||
- [x] Enable/disable autocomplete.
|
||||
- [x] Enable/disable `Show values from last use`.
|
||||
* Select several files and folders and check PowerRename options:
|
||||
- [x] Make Uppercase/Lowercase/Titlecase (could be selected only one at the time)
|
||||
- [x] Exclude Folders/Files/Subfolder Items (could be selected several)
|
||||
- [x] Item Name/Extension Only (one at the time)
|
||||
- [x] Enumerate Items
|
||||
- [x] Case Sensitive
|
||||
- [x] Match All Occurrences. If checked, all matches of text in the `Search` field will be replaced with the Replace text. Otherwise, only the first instance of the `Search` for text in the file name will be replaced (left to right).
|
||||
* Use regular expressions
|
||||
- [x] Search with an expression (e.g. `(.*).png`)
|
||||
- [x] Replace with an expression (e.g. `foo_$1.png`)
|
||||
- [x] Replace using file creation date and time (e.g. `$hh-$mm-$ss-$fff` `$DD_$MMMM_$YYYY`)
|
||||
- [x] Turn on `Use Boost library` and test with Perl Regular Expression Syntax (e.g. `(?<=t)est`)
|
||||
* File list filters.
|
||||
- [x] In the `preview` window uncheck some items to exclude them from renaming.
|
||||
- [x] Click on the `Renamed` column to filter results.
|
||||
- [x] Click on the `Original` column to cycle between checked and unchecked items.
|
||||
|
||||
## PowerToys Run
|
||||
|
||||
* Enable PT Run in settings and ensure that the hotkey brings up PT Run
|
||||
- [x] when PowerToys is running unelevated on start-up
|
||||
- [x] when PowerToys is running as admin on start-up
|
||||
- [x] when PowerToys is restarted as admin, by clicking the restart as admin button in settings.
|
||||
* Check that each of the plugins is working:
|
||||
- [x] Program - launch a Win32 application
|
||||
- [x] Program - launch a Win32 application as admin
|
||||
- [x] Program - launch a packaged application
|
||||
- [x] Calculator - ensure a mathematical input returns a correct response and is copied on enter.
|
||||
- [x] Windows Search - open a file on the disk.
|
||||
- [x] Windows Search - find a file and copy file path.
|
||||
- [x] Windows Search - find a file and open containing folder.
|
||||
- [x] Shell - execute a command. Enter the action keyword `>`, followed by the query, both with and without space (e.g. `> ping localhost`).
|
||||
- [x] Folder - Search and open a sub-folder on entering the path.
|
||||
- [x] Uri - launch a web page on entering the uri.
|
||||
- [x] Window walker - Switch focus to a running window.
|
||||
- [x] Service - start, stop, restart windows service. Enter the action keyword `!` to get the list of services.
|
||||
- [x] Registry - navigate through the registry tree and open registry editor. Enter the action keyword `:` to get the root keys.
|
||||
- [x] Registry - navigate through the registry tree and copy key path.
|
||||
- [x] System - test `lock`.
|
||||
- [x] System - test `empty recycle bin`.
|
||||
- [x] System - test `shutdown`.
|
||||
|
||||
- [x] Disable PT Run and ensure that the hotkey doesn't bring up PT Run.
|
||||
|
||||
- [x] Test tab navigation.
|
||||
|
||||
* Test Plugin Manager
|
||||
- [x] Enable/disable plugins and verify changes are picked up by PT Run
|
||||
- [x] Change `Direct activation phrase` and verify changes are picked up by PT Run
|
||||
- [x] Change `Include in global result` and verify changes picked up by PT Run
|
||||
- [x] Clear `Direct activation phrase` and uncheck `Include in global result`. Verify a warning message is shown.
|
||||
- [x] Disable all plugins and verify the warning message is shown.
|
||||
|
||||
## OOBE
|
||||
* Quit PowerToys
|
||||
* Delete %localappdata%\Microsoft\PowerToys
|
||||
- [x] Start PowerToys and verify OOBE opens
|
||||
* Change version saved on `%localappdata%\Microsoft\PowerToys\last_version.txt`
|
||||
- [x] Start PowerToys and verify OOBE opens in the "What's New" page
|
||||
* Visit each OOBE section and for each section:
|
||||
- [x] open the Settings for that module
|
||||
- [x] verify the Settings work as expected (toggle some controls on/off etc.)
|
||||
- [x] close the Settings
|
||||
- [x] if it's available, test the `Launch module name` button
|
||||
* Close OOBE
|
||||
- [x] Open the Settings and from the General page open OOBE using the `Welcome to PowerToys` link
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press any other key and verify the overlay disappears.
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [x] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [x] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [x] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [x] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Overlay opacity
|
||||
- [x] Background color
|
||||
- [x] Spotlight color
|
||||
- [x] Spotlight radius
|
||||
- [x] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [x] Animation duration
|
||||
- [x] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [x] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [x] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [x] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [x] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [x] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Left button highlight color
|
||||
- [x] Right button highlight color
|
||||
- [x] Opacity
|
||||
- [x] Radius
|
||||
- [x] Fade delay
|
||||
- [x] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [x] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [x] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [x] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [x] Change activation shortcut and test it
|
||||
- [x] Crosshairs color
|
||||
- [x] Crosshairs opacity
|
||||
- [x] Crosshairs center radius
|
||||
- [x] Crosshairs thickness
|
||||
- [x] Crosshairs border color
|
||||
- [x] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [x] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,210 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## File Explorer Add-ons
|
||||
* Running as user:
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane shows the correct content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane works for the SVG files
|
||||
- [ ] verify the Icon Preview works for the SVG file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the PDF file
|
||||
- [ ] verify the Icon Preview works for the PDF file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane works for the gcode file
|
||||
- [ ] verify the Icon Preview works for the gcode file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify the Icon Preview works for the stl file (loop through different icon preview sizes)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane works for source files (shows syntax highlighting)
|
||||
* Running as admin (or user since recently):
|
||||
* open the Settings and turn off the Preview Pane and Icon Previous toggles
|
||||
* go to PowerToys repo root
|
||||
- [ ] verify the README.md Preview Pane doesn't show any content
|
||||
* go to PowerToys repo and visit src\modules\ShortcutGuide\ShortcutGuide\svgs
|
||||
- [ ] verify Preview Pane doesn't show the preview for the SVG files
|
||||
* the Icon Preview for the existing SVG will still show since the icons are cached (you can also use `cleanmgr.exe` to clean all thumbnails cached in your system). You may need to restart the machine for this setting to apply as well.
|
||||
- [ ] copy and paste one of the SVG file and verify the new file show the generic SVG icon
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-PdfPreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the PDF file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-GcodePreviewHandler\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the gcode file
|
||||
* go to PowerToys repo and visit src\modules\previewpane\UnitTests-StlThumbnailProvider\HelperFiles
|
||||
- [ ] verify Preview Pane doesn't show the preview for the stl file (a generated thumbnail would show when there's no preview)
|
||||
* go to PowerToys repo and visit src\runner
|
||||
- [ ] verify Preview Pane doesn't show the preview for source code files or that it's a default previewer instead of Monaco
|
||||
|
||||
## Keyboard Manager
|
||||
|
||||
UI Validation:
|
||||
|
||||
- [ ] In Remap keys, add and remove rows to validate those buttons. While the blank rows are present, pressing the OK button should result in a warning dialog that some mappings are invalid.
|
||||
- [ ] Using only the Type buttons, for both the remap windows, try adding keys/shortcuts in all the columns. The right-side column in both windows should accept both keys and shortcuts, while the left-side column will accept only keys or only shortcuts for Remap keys and Remap shortcuts respectively. Validate that the Hold Enter and Esc accessibility features work as expected.
|
||||
- [ ] Using the drop downs try to add key to key, key to shortcut, shortcut to key and shortcut to shortcut remapping and ensure that you are able to select remapping both by using mouse and by keyboard navigation.
|
||||
- [ ] Validate that remapping can be saved by pressing the OK button and re-opening the windows loads existing remapping.
|
||||
|
||||
Remapping Validation:
|
||||
|
||||
For all the remapping below, try pressing and releasing the remapped key/shortcut and pressing and holding it. Try different behaviors like releasing the modifier key before the action key and vice versa.
|
||||
- [ ] Test key to key remapping
|
||||
- A->B
|
||||
- Ctrl->A
|
||||
- A->Ctrl
|
||||
- Win->B (make sure Start menu doesn't appear accidentally)
|
||||
- B->Win (make sure Start menu doesn't appear accidentally)
|
||||
- A->Disable
|
||||
- Win->Disable
|
||||
- [ ] Test key to shortcut remapping
|
||||
- A->Ctrl+V
|
||||
- B->Win+A
|
||||
- [ ] Test shortcut to shortcut remapping
|
||||
- Ctrl+A->Ctrl+V
|
||||
- Win+A->Ctrl+V
|
||||
- Ctrl+V->Win+A
|
||||
- Win+A->Win+F
|
||||
- [ ] Test shortcut to key remapping
|
||||
- Ctrl+A->B
|
||||
- Ctrl+A->Win
|
||||
- Win+A->B
|
||||
* Test app-specific remaps
|
||||
- [ ] Similar remaps to above with Edge (entered as `msedge`), VSCode (entered as `code`) and cmd. For cmd try admin and non-admin (requires PT to run as admin)
|
||||
- [ ] Try some cases where focus is lost due to the shortcut. Example remapping to Alt+Tab or Alt+F4
|
||||
- [ ] Test switching between remapping while holding down modifiers - Eg. Ctrl+D->Ctrl+A and Ctrl+E->Ctrl+V, hold Ctrl and press D followed by E. Should select all and paste over it in a text editor. Similar steps for Windows key shortcuts.
|
||||
|
||||
## Mouse Utils
|
||||
|
||||
Find My Mouse:
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press any other key and verify the overlay disappears.
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
- [ ] Press a mouse button and verify the overlay disappears.
|
||||
* Disable FindMyMouse. Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Enable FindMyMouse. Then, without moving your mouse:
|
||||
- [ ] Press Left Ctrl twice and verify the overlay appears.
|
||||
* Enable the "Do not activate on game mode" option. Start playing a game that uses CG native full screen.
|
||||
- [ ] Verify the overlay no longer appears when you press Left Ctrl twice.
|
||||
* Disable the "Do not activate on game mode" option. Start playing the same game.
|
||||
- [ ] Verify the overlay appears when you press Left Ctrl twice. (though it'll likely minimize the game)
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Overlay opacity
|
||||
- [ ] Background color
|
||||
- [ ] Spotlight color
|
||||
- [ ] Spotlight radius
|
||||
- [ ] Spotlight initial zoom (1x vs 9x will show the difference)
|
||||
- [ ] Animation duration
|
||||
- [ ] Change activation method to shake and activate by shaking your mouse pointer
|
||||
- [ ] Excluded apps
|
||||
|
||||
Mouse Highlighter:
|
||||
* Enable Mouse Highlighter. Then:
|
||||
- [ ] Press the activation shortcut and press left and right click somewhere, verifying the hightlights are applied.
|
||||
- [ ] With left mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] With right mouse button pressed, drag the mouse and verify the hightlight is dragged with the pointer.
|
||||
- [ ] Press the activation shortcut again and verify no highlights appear when the mouse buttons are clicked.
|
||||
- [ ] Disable Mouse Highlighter and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Left button highlight color
|
||||
- [ ] Right button highlight color
|
||||
- [ ] Opacity
|
||||
- [ ] Radius
|
||||
- [ ] Fade delay
|
||||
- [ ] Fade duration
|
||||
|
||||
Mouse Pointer Crosshairs:
|
||||
* Enable Mouse Pointer Crosshairs. Then:
|
||||
- [ ] Press the activation shortcut and verify the crosshairs appear, and that they follow the mouse around.
|
||||
- [ ] Press the activation shortcut again and verify the crosshairs disappear.
|
||||
- [ ] Disable Mouse Pointer Crosshairs and verify that the module is not activated when you press the activation shortcut.
|
||||
* Test the different settings and verify they apply:
|
||||
- [ ] Change activation shortcut and test it
|
||||
- [ ] Crosshairs color
|
||||
- [ ] Crosshairs opacity
|
||||
- [ ] Crosshairs center radius
|
||||
- [ ] Crosshairs thickness
|
||||
- [ ] Crosshairs border color
|
||||
- [ ] Crosshairs border size
|
||||
|
||||
## Awake
|
||||
- [ ] Try out the features and see if they work, no list at this time.
|
||||
@@ -1,127 +0,0 @@
|
||||
## Install tests
|
||||
* install a **previous version** on a clean machine (a clean machine doesn't have the `%localappdata%\Microsoft\PowerToys` folder)
|
||||
* open the Settings and for each module change at least one option
|
||||
* open the FancyZones editor and create two custom layouts:
|
||||
* a canvas layout with 2 zones, use unicode chars in the layout's name
|
||||
* one from grid template using 4 zones and splitting one zone
|
||||
* apply the custom canvas layout to the primary desktop
|
||||
* create a virtual desktop and apply the custom grid layout
|
||||
* if you have a second monitor apply different templates layouts for the primary desktop and for the second virtual desktop
|
||||
* install the new version (it will uninstall the old version and install the new version)
|
||||
- [ ] verify the settings are preserved and FancyZones configuration is still the same
|
||||
|
||||
## Functional tests
|
||||
|
||||
Regressions:
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1414#issuecomment-593529038
|
||||
- [ ] https://github.com/microsoft/PowerToys/issues/1524
|
||||
|
||||
## Localization
|
||||
Change the Winodws language to a language different than English. Then verify if the following screens change their language:
|
||||
- [ ] System tray menu items
|
||||
- [ ] Settings
|
||||
- [ ] OOBE (What's new)
|
||||
- [ ] Keyboard Manager Editor
|
||||
- [ ] Color Picker (check the tooltips)
|
||||
- [ ] FancyZones Editor
|
||||
- [ ] Power Rename (new WinUI 3 may not be localized)
|
||||
- [ ] PowerToys Run ("Start typing" string is localized, for example)
|
||||
- [ ] Image Resizer
|
||||
- [ ] Shortcut Guide (Windows controls are localized)
|
||||
- [ ] File Explorer menu entries for Image Resizer and Power Rename
|
||||
|
||||
## General Settings
|
||||
|
||||
**Admin mode:**
|
||||
- [ ] restart PT and verify it runs as user
|
||||
- [ ] restart as admin and set "Always run as admin"
|
||||
- [ ] restart PT and verify it runs as admin
|
||||
* if it's not on, turn on "Run at startup"
|
||||
- [ ] reboot the machine and verify PT runs as admin (it should not prompt the UAC dialog)
|
||||
* turn Always run as admin" off
|
||||
- [ ] reboot the machine and verify it now runs as user
|
||||
|
||||
**Modules on/off:**
|
||||
- [ ] turn off all the modules and verify all module are off
|
||||
- [ ] restart PT and verify that all module are still off in the settings page and they are actually inactive
|
||||
- [ ] turn on all the module, all module are now working
|
||||
- [ ] restart PT and verify that all module are still on in the settings page and they are actually working
|
||||
|
||||
## Color Picker
|
||||
* Enable the Color Picker in settings and ensure that the hotkey brings up Color Picker
|
||||
- [ ] when PowerToys is running unelevated on start-up
|
||||
- [ ] when PowerToys is running as admin on start-up
|
||||
- [ ] when PowerToys is restarted as admin, by clicking the restart as admin button in the settings
|
||||
- [ ] Change `Activate Color Picker shortcut` and check the new shortcut is working
|
||||
- [ ] Try all three `Activation behavior`s(`Color Picker with editor mode enabled`, `Editor`, `Color Picker only`)
|
||||
- [ ] Change `Color format for clipboard` and check if the correct format is copied from the Color picker
|
||||
- [ ] Try to copy color formats to the clipboard from the Editor
|
||||
- [ ] Check `Show color name` and verify if color name is shown in the Color picker
|
||||
- [ ] Enable one new format, disable one existing format, reorder enabled formats and check if settings are populated to the Editor
|
||||
- [ ] Select a color from the history in the Editor
|
||||
- [ ] Remove color from the history in the Editor
|
||||
- [ ] Open the Color Picker from the Editor
|
||||
- [ ] Open Adjust color from the Editor
|
||||
- [ ] Check Color Picker logs for errors
|
||||
|
||||
## FancyZones Editor
|
||||
|
||||
- [ ] Open editor from the settings
|
||||
- [ ] Open editor with a shortcut
|
||||
- [ ] Create a new layout (grid and canvas)
|
||||
- [ ] Duplicate a template and a custom layout
|
||||
- [ ] Delete layout
|
||||
- [ ] Edit templates (number of zones, spacing, distance to highlight adjacent zones). Verify after reopening the editor that saved settings are kept the same.
|
||||
- [ ] Edit canvas layout: zones size and position, create or delete zones.
|
||||
- [ ] Edit grid layout: split, merge, resize zones.
|
||||
- [ ] Check `Save and apply` and `Cancel` buttons behavior after editing.
|
||||
- [ ] Assign a layout to each monitor.
|
||||
- [ ] Assign keys to quickly switch layouts (custom layouts only), `Win + Ctrl + Alt + number`.
|
||||
|
||||
|
||||
## FancyZones
|
||||
- [ ] Switch between `Allow zones to span across monitors` on and off. Verify that layouts are applied correctly in both cases.
|
||||
- [ ] Change zone colors and opacity.
|
||||
- [ ] Exclude some apps, verify that they're not applicable to a zone.
|
||||
- [ ] Launch PT in user mode, try to assign a window with administrator privileges to a zone. Verify the notification is shown.
|
||||
- [ ] Launch PT in administrator mode, assign a window with administrator privileges.
|
||||
- [ ] Create virtual desktop, verify that there are the same layouts as applied to the previous virtual desktop.
|
||||
- [ ] After creating a virtual desktop apply another layout or edit the applied one. Verify that the other virtual desktop layout wasn't changed.
|
||||
- [ ] Delete an applied custom layout in the Editor, verify that there is no layout applied instead of it.
|
||||
* Open `Task view` , right-click on the window, check the `Show this window on all desktops` or the `Show windows from this app on all desktops` option to turn it on.
|
||||
- [ ] Turn Show this window on all desktops on, verify you can snap this window to a zone.
|
||||
- [ ] Turn Show windows from this app on all desktops on, verify you can snap this window to a zone.
|
||||
* Switch between layouts with quick keys.
|
||||
- [ ] Switch with `Win` + `Ctrl` + `Alt` + `key`
|
||||
- [ ] Switch with just a key while dragging a window.
|
||||
* Change screen resolution or scaling.
|
||||
- [ ] Assign grid layout, verify that the assigned layout fits the screen.
|
||||
NOTE: canvas layout could not fit the screen if it was created on a monitor with a different resolution.
|
||||
- [ ] Disable FZ
|
||||
- [ ] Re-enable FZ, verify that everything is in the same state as it was before disabling.
|
||||
|
||||
* Test layout resetting.
|
||||
Before testing
|
||||
* Remove all virtual desktops
|
||||
* Remove `CurrentVirtualDesktop` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\VirtualDesktops`
|
||||
* Remove `VirtualDesktopIDs` from `\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VirtualDesktops`
|
||||
|
||||
|
||||
- [ ] Test screen locking
|
||||
* Set custom layouts on each monitor
|
||||
* Lock screen / unplug monitor / plug monitor
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
- [ ] Test restart
|
||||
* Set custom layouts on each monitor
|
||||
* Restart the computer
|
||||
* Verify that layouts weren't reset to defaults
|
||||
|
||||
## VCM
|
||||
- [ ] Check "Hide toolbar when both camera and micrphone are unmuted" and verify that it works
|
||||
- [ ] Uncheck it, mute the microphone with the hotkey and make sure the toolbar doesn't hide after a timeout
|
||||
- [ ] Go to some video conference application settings, e.g. meet.google.com, Microsoft Teams, Skype. "Select PowerToys VideoConference Mute" camera as an active device and try to mute it with a hotkey
|
||||
- [ ] Go to Control Panel -> Sound -> Recording -> select default mic -> open its properties -> Levels. Now mute the microphone with a corresponding hotkey and verify that mute icon on the right side of volume slider reflects its muted status.
|
||||
- [ ] Verify that changing "toolbar position" setting works
|
||||
- [ ] Select an overlay image and verify that muting camera now shows the image instead of black screen. (Don't forget to restart the application which uses the camera).
|
||||
- [ ] Try to select an overlay image when PT process is elevated.
|
||||