[PR #11517] test(app): general settings, shortcuts, providers and status popover #13819

Closed
opened 2026-02-16 18:18:39 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11517

State: closed
Merged: Yes


What does this PR do?

More tests! Also added a AGENTS.md in the e2e directory

A summary of what they test

  1. Shortcuts/Keybinds (settings-keybinds.spec.ts - 7 tests)
    • Change sidebar toggle keybind and verify it works
    • Reset all keybinds to defaults
    • Clear/unassign a keybind
    • Change settings open keybind
    • Change new session keybind and verify navigation
    • Change file open keybind
    • Change terminal toggle keybind
    • Change command palette keybind
  2. Status Popover (status-popover.spec.ts - 6 tests)
    • Opens and shows 4 tabs (Servers, MCP, LSP, Plugins)
    • Servers tab displays current server
    • Switch between all tabs (MCP, LSP, Plugins)
    • Close on Escape key
    • Close when clicking outside
  3. General Settings (settings.spec.ts - 10 tests)
    • Color scheme (Dark/Light) persists and updates CSS
    • Theme selection persists in localStorage
    • Font selection updates CSS variable
    • Toggle notification switches (agent, permissions, errors)
    • Change agent sound selection
    • Toggle startup update checks
    • Toggle release notes display
  4. Custom Provider Form (settings-providers.spec.ts - 4 tests)
    • Fill form fields (provider ID, name, URL, API key, models)
    • Validation errors (lowercase ID, HTTP URL format)
    • Add/remove multiple models dynamically
    • Add/remove custom headers
  5. Models Visibility (settings-models.spec.ts - 2 tests)
    • Hide a model removes it from the model picker
    • Show a hidden model restores it to the model picker

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Run the tests or look at the CI result

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11517 **State:** closed **Merged:** Yes --- ### What does this PR do? More tests! Also added a `AGENTS.md` in the `e2e` directory A summary of what they test 1. Shortcuts/Keybinds (`settings-keybinds.spec.ts` - 7 tests) - Change sidebar toggle keybind and verify it works - Reset all keybinds to defaults - Clear/unassign a keybind - Change settings open keybind - Change new session keybind and verify navigation - Change file open keybind - Change terminal toggle keybind - Change command palette keybind 2. Status Popover (`status-popover.spec.ts` - 6 tests) - Opens and shows 4 tabs (Servers, MCP, LSP, Plugins) - Servers tab displays current server - Switch between all tabs (MCP, LSP, Plugins) - Close on Escape key - Close when clicking outside 3. General Settings (`settings.spec.ts `- 10 tests) - Color scheme (Dark/Light) persists and updates CSS - Theme selection persists in localStorage - Font selection updates CSS variable - Toggle notification switches (agent, permissions, errors) - Change agent sound selection - Toggle startup update checks - Toggle release notes display 4. Custom Provider Form (`settings-providers.spec.ts` - 4 tests) - Fill form fields (provider ID, name, URL, API key, models) - Validation errors (lowercase ID, HTTP URL format) - Add/remove multiple models dynamically - Add/remove custom headers 5. Models Visibility (`settings-models.spec.ts` - 2 tests) - Hide a model removes it from the model picker - Show a hidden model restores it to the model picker **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? Run the tests or look at the CI result
yindo added the pull-request label 2026-02-16 18:18:39 -05:00
yindo closed this issue 2026-02-16 18:18:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13819