Skip to content

Commit bb99349

Browse files
committed
test(app-shell): seed the reader's row height in the browser layout in the shared-view footer case
Claude-Session: https://claude.ai/code/session_01L6bhgUkr3W7rNEqPk3J858 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 4a50bbb commit bb99349

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/app-shell/src/views/ObjectView.sharedViewSave-35955.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ describe('objectstack#35955 — the layout and the row colour the reader picks a
399399

400400
describe('objectstack#36194 + objectstack#36195 — a shared view\'s Save to this view carries the footer calculations, and waits for the package list', () => {
401401
it('a footer calculation picked is a part of the draft, saved into the view with no write of its own; the reader\'s row height stays theirs', async () => {
402-
localStorage.setItem(`list-state:u1:${OBJECT}`, JSON.stringify({ perView: { [SHARED.name]: { rowHeight: 'tall' } } }));
402+
localStorage.setItem(listLayoutStorageKey('u1', OBJECT)!, JSON.stringify({ perView: { [SHARED.name]: { rowHeight: 'tall' } } }));
403403
mount(SHARED.name);
404404
await settle();
405405
await waitFor(() => expect(typeof listProps.current?.onColumnSummaryPick).toBe('function'));

0 commit comments

Comments
 (0)