Files
insomnia/packages
Bob QiuandClaude Sonnet 5.5 5b08e6a78e feat: add stable test ids to UI for the E2E framework (#10695)
* feat: enhance accessibility and testing capabilities across UI components

- Added data-testid attributes to various components for improved testing.
- Updated mock-url-bar to include test IDs for method and path.
- Enhanced generate-code-modal with test IDs for dropdowns.
- Included test IDs in git-branches-modal and git-project-branches-modal for error messages.
- Added test IDs to import-modal header and input-vault-key-modal for error display.
- Enhanced new-workspace-modal with test IDs for mock server type options.
- Included test IDs in select-modal for the select element.
- Added test IDs in sync-merge-modal for merge conflict items.
- Enhanced visual-diff components with test IDs for better test coverage.
- Included test IDs in workspace-certificates-modal for CA certificate section.
- Enhanced workspace-environments-edit-modal with test IDs for environment icons.
- Added test IDs in pane-header for breadcrumbs.
- Included test IDs in request-result-card for runner results.
- Enhanced request-test-result-pane with test IDs for test result rows.
- Added test IDs in project-create-form for unknown fields warning.
- Enhanced AI settings with test IDs for toggle switches.
- Included test IDs in boolean-setting for settings labels.
- Enhanced scripting-settings with test IDs for rule toggles.
- Added test IDs in sidebar components for search fields and nodes.
- Enhanced spec-view with test IDs for method buttons.
- Included test IDs in tab components for tab titles.
- Enhanced tags with test IDs for size, time, and URL tags.
- Added test IDs in tag-editor for tag arguments.
- Enhanced toast-notification with test IDs for toast body and content.
- Included test IDs in response-headers-viewer for header rows and values.
- Enhanced event-log-view with test IDs for event rows and cells.

* feat: add remaining test ids for folder pane, staging button, drop indicator and test results

- folder-pane on the request group Tabs
- stage-this-file / unstage-this-file on the git staging preview button
- drop-indicator-folder-name and data-valid on the sidebar drop indicator
- test-result-case / test-result-error inside the test result name

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* feat: add data-selected attributes for improved testing and UI state indication

* fix: use unique test ids for graphql explorer root types

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix: make sidebar data-parent-id return the parent row id

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(sidebar): make pinned header's data-parent-id point to its workspace

The Pinned header row had no parent id, so rebuilding the sidebar tree
from data-parent-id turned the whole pinned section into a separate root
instead of part of its collection.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* test: add data-testid to variable editor custom template input

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* refactor(sidebar): remove unused sidebar utility functions and simplify pinned header ID generation

* fix(pinned-header): remove unused workspaceId from PinnedHeaderFlatItem interface

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 09:39:53 +08:00
..