Commit Graph
3 Commits
Author SHA1 Message Date
Bob QiuandClaude Sonnet 5.5 884b562eae refactor(insomnia-test): reuse component layer in page objects
Replace hand-written dialog/grid/menu/tab/toggle locators in pages with
the existing ModalComponent, TableComponent, DropdownComponent,
TabsComponent, PressedToggleComponent, SwitchComponent, BannerComponent,
BreadcrumbComponent, EnvironmentPickerComponent and TooltipComponent.
Behavior-preserving: existing locators are passed as component roots
where semantics differ.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 13:38:07 +08:00
Bob QiuandClaude Sonnet 5.5 8b2b32555a test(insomnia-test): align 2-http-cookie-env with pruned e2e-1 base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 13:38:07 +08:00
Bob QiuandClaude Sonnet 5.5 1b3c395034 refactor(insomnia-test): move shared tab panes and preferences dialog to components
Address review feedback: auth-tab, script-tab and tab-panel are reused by
several pages, and the Preferences dialog is reachable from any page, so
they belong in the component layer rather than pages.

- TabPanelPage -> TabPanelComponent (RequestPage now composes it)
- AuthTabComponent / ScriptTabComponent move to components/
- Preferences{,Tab,Credentials,Plugins,Ai}Page -> *Component, registered
  in PageManager under preferences / preferencesCredentials / ...

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 13:18:03 +08:00