Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 3.29 KB

TESTS.md

File metadata and controls

73 lines (50 loc) · 3.29 KB

Forge Tests

Configurations and Preferences

Preferences #39

  • - Should open prefs.js via <Super> + Period in GNOME 3.3x+.

On opening Production Mode Preferences window:

  • - Should close prefs.js via Esc in GNOME 3.3x+.
  • - Should show Home, Appearance, Workspace, Keyboard, Experimental, on the parent-level settings list.
  • - Should show Appearance right-arrow indicator, since Appearance have child-level settings options.
  • - Should show Keyboard right-arrow indicator, since Keyboard have child-level settings options.

On opening Development Mode Preferences window, includes all of Production Mode checks plus below:

  • - Should show Development, About, on the parent-level settings list.

On navigating Home parent item,

  • - Should show a work in progress panel showing Forge version information depending if it was built using Production or Development mode.

On navigating Appearance parent item,

  • - Should transition to sub-list which includes: Windows,. The initial sub-item's panel box should show immediately.
  • - Should show the back button on the header bar of the Preferences Window.
  • - Should update the header bar title of the Preferences Window and appends - Windows.

Production and Dev Modes

Window Effects

When changing Preferences on Appearance > Colors:

  • - Tiled Focus Hint updates border size and color
  • - Tiled Focus Hint color updates also updates preview tiled hint
  • - Tiled Focus Hint color updates also updates overview and workspace thumbnail hints
  • - Tiled Focus Hint updates can be reset
  • - Floated Focus Hint updates border size and color
  • - Stacked Focus Hint updates border size and color
  • - Stacked Focus Hint color updates also updates preview stacked hint
  • - Stacked Focus Hint updates can be reset
  • - Tabbed Focus Hint updates border size and color
  • - Tabbed Focus Hint color updates also updates preview tabbed hint
  • - Tabbed Focus Hint updates can be reset

Tiling Mode

When dragging a window:

  • - Should show a preview hint where the window would be tiled. If Tile Modifier is set, Super or Ctrl or Alt would show preview otherwise shows preview automatically:
    • - For split layout, should show preview hint left/right on horizontal, top/bottom on vertical following the mouse pointer.
    • - For tabbed layout, should show preview hint same size as the current front window.
    • - For stacked layout, should show preview hint same size as the current front window.
    • - There should be the following preview hint regions: LEFT, TOP, RIGHT, BOTTOM and CENTER
  • - On dropping, should tile the window on the preview hint position shown before dropping.
  • - On dropping to a different monitor, should tile based on the preview hint position shown unless empty monitor.
    • - Empty monitors will not show a preview hint.

Floating Mode

Layout Mode

Focus

While alternating between windows, the mouse cursor position should follow the focus:

  • - when moving the focus to another window with keyboard or mouse.
  • - when swapping two windows positions.
  • - when alternating to a new window using Alt+Tab or Super+Tab.
  • - when exiting on Overview mode.
  • - at the same position it was previouly on the window.