FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test(status-bar): OS-aware sidebar tooltip + drop unused import · Issue #717 · QueryaHub/Querya-Desktop · GitHub

test(status-bar): OS-aware sidebar tooltip + drop unused import #717

Description

Problem

From Dart MCP review / local analyzer:

  1. OS-fragile tooltip test — QueryaStatusBar builds tooltip with Platform.isMacOS ? Cmd+B : Ctrl+B, but querya_status_bar_test.dart always taps Toggle Sidebar (Ctrl+B). Fails on macOS hosts.
  2. Analyzer warning — test/features/extensions/extension_workspace_home_test.dart has unused import querya_tab_strip.dart.

Proposal

  1. Prefer a stable Key on the sidebar toggle (and assert via key), or branch expected tooltip text on Platform.isMacOS in the test.
  2. Remove the unused import; re-run analyzer on the test file.

Files

  • lib/features/main_screen/querya_status_bar.dart
  • test/features/main_screen/querya_status_bar_test.dart
  • test/features/extensions/extension_workspace_home_test.dart

Acceptance

  • Sidebar toggle test passes on Linux and macOS
  • dart analyze / MCP analyze_files clean on those tests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityReduced motion, OS accessibility preferencesbugSomething isn't workingtestsTheme parser epicuiUser interface components and widgets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL