Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FancyZones] Tests: FZEditor #32068

Open
wants to merge 79 commits into
base: main
Choose a base branch
from

Conversation

SeraphimaZykova
Copy link
Collaborator

@SeraphimaZykova SeraphimaZykova commented Mar 25, 2024

Summary of the Pull Request

Tests added:

  • Add test data and start → verify data is correct (custom layouts, template layouts, defaults, shortcut keys)
  • Create a new canvas - verify layout exists
  • Create a new canvas - cancel - doesn’t exist
  • Create a new grid - verify the layout exists
  • Create a new grid - cancel - doesn’t exist
  • Duplicate template by button (+ check default)
  • Duplicate template by menu (+ check default)
  • Duplicate custom by button (+ check shortcut key and default)
  • Duplicate custom by menu (+ check shortcut key and default)
  • Delete non-applied layout
  • Delete applied layout
  • Delete-cancel
  • Delete from context menu
  • Delete: hotkey released
  • Delete: default layout reset to default-default
  • Edit template and save
  • Edit template and cancel
  • Edit custom and save
  • Edit custom and cancel
  • Edit canvas: add zone
  • Edit canvas: delete zone
  • Edit canvas: move zone
  • Edit canvas: resize zone
  • Edit grid: split zone
  • Edit grid: merge zones
  • Edit grid: move splitter
  • UI Init: assigned layouts selected
  • UI Init: applied default - check params
  • UI Init: assigned custom layout, but id not found
  • Assign the same template but with different params to monitors
  • Assign layout on each monitor
  • Assign custom
  • Assign template
  • Assign shortcut key and save
  • Assign shortcut key and cancel
  • Reset shortcut key and save
  • Reset shortcut key and cancel
  • Set default layout + verify both prev and current after reopening
  • applied-layouts.json keeps info about not connected devices - verify they’re present after closing
  • applied-layouts.json keeps info about other virtual desktops
  • first launch without custom-layouts.json, default-layouts.json, layout-hotkeys.json and layout-templates.json

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@Jay-o-Way
Copy link
Collaborator

Hi. Is this PR ready?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants