mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
98 lines
5.5 KiB
Markdown
98 lines
5.5 KiB
Markdown
## 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
|
|
|