opencode/packages/app/component-tests
Luke Parker 995a6734e4 test(app): keep a returning reader's place in the reconnect case
The offset-only reconnect case expected a view that returns to be revealed at
scrollTop 0. That was the old behaviour, not the contract: the case is about
the reveal, which must not wait for a native scroll or resize. A reader who
scrolled up now returns to the place they left (200, neither the start nor the
end), and the reveal records that no native scroll had arrived.

A second case covers a view that is first put in the page after it stopped
following. It holds the offset it was built with, the furthest there is, and
must start at the start of its rows: only a view that returns gets its offset
written back.
2026-11-25 11:15:53 +10:00
..
activity-chips.spec.ts feat(app): show a background shell's output from the pill (#59496) 2026-10-28 13:39:54 -07:00
browser-pane-restore.spec.ts fix(desktop): put the comment button back in the browser bar (#65707) 2026-11-22 22:48:34 -06:00
browser-pane.spec.ts fix(desktop): put the comment button back in the browser bar (#65707) 2026-11-22 22:48:34 -06:00
browser-settings.spec.ts fix(browser): show browser profiles inline and tidy settings copy (#65174) 2026-11-20 14:44:55 +01:00
browser-site-chooser.spec.ts fix(browser): say sign-ins, not cookies, in the import and data texts (#65095) 2026-11-20 01:51:28 -06:00
components-lab.spec.ts feat(stories): browse app states in the standalone components lab (#63737) 2026-11-13 11:53:39 +01:00
composer.spec.ts fix(ui): unify focus ring and add missing focus states (#64909) 2026-11-19 18:57:37 +00:00
debug-bar.spec.ts fix(gui-plugins): drive context export and scroll, heap capture and memory diagnostics through state machines (#62001) 2026-11-05 01:18:42 -06:00
dialog-popups.spec.ts fix(ui): keep selects, menus, tooltips and toasts reachable from a dialog (#62913) 2026-11-09 11:11:05 -06:00
file-icon.spec.ts fix(ui): explicit machines for menu scroll thumb, list async load and file icon load (#62099) 2026-11-05 10:08:32 -06:00
focus-rescue.fixture.tsx fix(ui): unify focus ring and add missing focus states (#64909) 2026-11-19 18:57:37 +00:00
focus-rescue.spec.ts fix(app): remove the focus rings around the timeline and composer (#65690) 2026-11-22 21:46:36 -06:00
focus-ring.spec.ts fix: flaky CI tests and the app races behind them (#62597) 2026-11-07 18:50:37 +01:00
fork-dialog.spec.ts feat(app): align searchable dialogs (#60162) 2026-10-29 08:58:26 +00:00
grow.fixture.tsx fix(app): drive the composer morph and Grow springs with explicit state machines (#61928) 2026-11-04 22:53:50 -06:00
grow.spec.ts fix(app): drive the composer morph and Grow springs with explicit state machines (#61928) 2026-11-04 22:53:50 -06:00
image-preview.spec.ts fix(ui): drive the image preview through flight and zoom state machines (#61951) 2026-11-05 00:00:54 -06:00
input-surfaces.spec.ts feat(ui): radio surfaces and flat unselected controls, as in Figma (#66108) 2026-11-24 15:32:03 +01:00
line-comment.spec.ts fix(ui): drive line comment mentions, popovers, toasts and segmented indicator through state machines (#61990) 2026-11-05 01:05:10 -06:00
list.spec.ts fix(ui): explicit machines for menu scroll thumb, list async load and file icon load (#62099) 2026-11-05 10:08:32 -06:00
model-picker.spec.ts fix(app): keep the model list in place when unfavoriting with the mouse (#65649) 2026-11-23 09:01:59 -06:00
new-session-wordmark.spec.ts fix(app): drive the branch picker and wordmark lodger through state machines (#61986) 2026-11-05 00:41:12 -06:00
open-in-border.spec.ts chore(app): replace Storybook with a story server for component tests (#57966) 2026-10-21 23:45:25 -07:00
pairing.spec.ts feat(stories): cover device pairing flows in the Components Lab (#64490) 2026-11-17 19:14:12 +01:00
panel-sidebar-side.spec.ts feat(app): move the file tree to the right from its context menu (#66012) 2026-11-24 07:13:36 +00:00
plugin-graph.spec.ts feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
plugin-host.fixture.tsx feat(app): move the file tree to the right from its context menu (#66012) 2026-11-24 07:13:36 +00:00
plugin-host.spec.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
presence.fixture.tsx fix(app): settle CSS exit presence through one state machine (#61978) 2026-11-05 00:34:28 -06:00
presence.spec.ts fix(app): settle CSS exit presence through one state machine (#61978) 2026-11-05 00:34:28 -06:00
session-containment.fixture.tsx feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
session-containment.spec.ts feat(desktop): signed-in browser pane with extensions, previews, prompts and agent safeguards (#63002) 2026-11-19 20:18:12 -06:00
session-location-missing.spec.ts refactor(app): choose a missing session worktree from the shared worktree dialog (#66096) 2026-11-24 13:27:59 +00:00
session-question-dock.spec.ts fix: flaky CI tests and the app races behind them (#62597) 2026-11-07 18:50:37 +01:00
sources-experiment.spec.ts feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
ssh-reconnect.spec.ts fix(gui-plugins): drive SSH connections and connect attempts with explicit machines (#61863) 2026-11-04 19:54:56 -06:00
subagent-bar.spec.ts fix(app): slash in the subagent breadcrumb and a quieter subagent bar (#59438) 2026-10-26 23:45:56 +00:00
terminal.spec.ts fix(app): drive the terminal pane through one state machine (#61941) 2026-11-04 23:03:17 -06:00
timeline-detail.spec.ts feat(ui): ship the new icons and drop the experiment (#64466) 2026-11-17 21:40:51 +05:30
timeline-virtualizer.fixture.tsx test(app): keep a returning reader's place in the reconnect case 2026-11-25 11:15:53 +10:00
timeline-virtualizer.spec.ts test(app): keep a returning reader's place in the reconnect case 2026-11-25 11:15:53 +10:00
toast.spec.ts fix(ui): watch the toast portal instead of the whole page (#60537) 2026-10-30 18:16:24 +10:00
tooltip.spec.ts fix(ui): dismiss tooltips when their trigger is pressed (#63834) 2026-11-13 21:04:31 +01:00
websearch.spec.ts fix(app): make the browser tests pass after the beta merge (#59160) 2026-10-26 05:23:34 +00:00