Skip to content

Commit 576fd25

Browse files
fix(console): open a form action inside the app it was fired from (#13443)
<!-- claude-projects-attribution: {"github_login":"os-sales"} --> _Requested by **Sales** · [project thread](https://claude.ai/code/project/chan_01D5bWFY3rFzgJcytD5gD4Uu?thread=cmsg_01D5bWFY3rFzgJcytD5gD4UuWWgDeTcfrMpniKurLbGeyX)_ Fixes #13433 A `type: 'form'` action fired inside an app now opens its form inside that app's shell, headed by a real label, with a Cancel. ## What was wrong Clicking the showcase's **Log Time** on a task record (`type: 'form'`, `target: 'showcase_task.form'`) navigated to the app-less `/forms/showcase_task.form?recordId=…&recordObject=showcase_task`: - the app's sidebar, switcher and branding disappeared, because `/forms/:name` is mounted outside every app and renders in `DefaultHomeLayout` (objectui#4109); - the page was headed by the raw qualified view name, because `resolveInternalForm` fell back to the view name when the view carried no label (a container's default form never does); - the only button was Submit, so the browser's Back button was the only way out without saving. ## What changed **An in-app twin of the form route.** The console's app route table now also serves `/apps/:appName/forms/:name` (`InAppFormRoute`, in `InternalFormRoute.tsx`, mounted through a new `appRoutes` fragment in `AppContent.tsx`). It renders the same internal `FormPage`; `ConsoleLayout` and the app's `ExpressionProvider` are already around it, so the form gets the app's own sidebar and branding. A submit lands on the written record in the app the URL names. **Which hops go there.** `hostInConsolePath` takes an optional third argument, `routeAppSegment`: the `:appName` of the caller's own app route. When it is given, a `/forms/...` hop becomes `/apps/APP/forms/...` with the query string and hash kept. Every other path is sorted exactly as before. - `RecordDetailView` passes its route's `appName` (the card's path: record header, related and section actions). - `useConsoleActionRuntime` takes a new optional `routeAppSegment` option. `ObjectView` (list toolbars) and `PageView` (page buttons) pass their route's app. - The console-wide runtime in `ConsoleShell` sits above the route tree and passes nothing, so its form hops keep `/forms/:name`. The app is never inferred. The navigators' existing `hostAppSegment` (the last app the shell published, else the first active one) is deliberately NOT used for forms, so a form fired from Home does not open in a guessed app. This is the design objectui#4280's ruling named as its reopen condition (comment 5299952645, 2026-08-15): a report of the missing navigation, together with a design that "carries app context on the route (an explicit app segment or equivalent) rather than guessing it". `/forms/:name` itself is unchanged and keeps serving cold deep links. **The heading.** `resolveInternalForm` now reads the view label, then the form config's `title` (the order the public route already uses, objectui#8408), and no longer falls back to the view name. A form that names itself nowhere is headed by its object's label, resolved through the session's language at render (`objectLabel`). The public route's heading is unchanged. **Cancel.** The internal form (both routes) has a Cancel next to Submit. It goes back when react-router has an entry behind this one (`location.key !== 'default'`), which keeps the record page's own URL state (tab, `?form=`). On a cold link it goes to the record being edited when `recordPath` names it, else to the route's `cancelPath`: the app's home in-app, `/home` on the app-less route. Cancel writes nothing. The public `/f/:slug` form has no Cancel. Docs: `content/docs/guide/public-forms.md` (the console route section). Changeset: `@object-ui/app-shell` and `@object-ui/console`, patch. ## Tests - `FormPage.inAppShell-13433.test.tsx` (new): the heading (object label, authored `title`, and the view label still winning as a control), Cancel (back, cold edit, cold create, writes nothing, none on the public form as a control), and the in-app route (renders inside the URL's app; a submit from the second app lands in that app; Cancel on a cold create lands on the app's home). - `RecordDetailView.onSuccessNavigateHost-13396.test.tsx`: a new describe for the form hop (hosted under the route's app with query and hash, the route's app beats the shell's published one, outside an app route it stays `/forms/...`, `/formsx/...` is not matched, and a real `type: 'form'` run through the page's runner). The `CONSOLE_ROOT_SEGMENTS` table test now leaves `forms` to that describe. - `useConsoleActionRuntime.onSuccessNavigateHost-13379.test.tsx`: `routeAppSegment` hosts a form hop, beats the published app, moves no other console route, and drives a real `type: 'form'` run. Its existing "a `type: 'form'` action still opens `/forms/:name`" case (no `routeAppSegment`) stays as the control for the console-wide runtime. - `FormPage.test.ts`: the name fallback case now expects no label, plus a `title` case. - Two `App.*` tests whose `InternalFormRoute` mock lacked the new export. Reverse verification, each fix part reverted alone on the committed head: the `hostInConsolePath` branch (6 red, the outside-app and `formsx` controls stay green), the heading chain (4 red), the Cancel button (5 red), the in-app route (3 red). Local runs and gate readings are in the os-dev report on the card. ## Acceptance notes - `/apps/APP/forms/NAME` shadows the shorthand record redirect for an object literally named `forms` (`forms/ID`), the same way `page/NAME` and `dashboard/NAME` already do. - Not in scope: the showcase's Log Time targets the task's general edit form (the card's own note, a showcase metadata choice). - [x] Adds no product-specific widget, dialog, hook or string (see AGENTS.md › Product-neutral renderer) Session: `session_019hoGDf9HuKKDDmcRGCfAHu` --- _Generated by [Claude Code](https://claude.ai/code/session_019hoGDf9HuKKDDmcRGCfAHu)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent a78608f commit 576fd25

16 files changed

Lines changed: 636 additions & 27 deletions
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/console': patch
4+
---
5+
6+
A `type: 'form'` action fired inside an app opens its form inside that app, headed by a label, with a Cancel (objectui#13433).
7+
8+
The form opened on the app-less `/forms/:name`, so the app's sidebar, switcher and branding disappeared. The page was headed by the raw view name (`showcase_task.form`) and had only Submit, so the browser's Back button was the only way out without saving.
9+
10+
- The console now also serves the form at `/apps/:appName/forms/:name`, inside the app's own shell. The record page, object list and page action navigators open a form hop there when their own route is an app route. The console-wide runtime has no route of its own, so its form hops keep the app-less route. `/forms/:name` is unchanged and still serves every other link.
11+
- A form view with no label and no form `title` is headed by its object's label in the session's language. An authored view label or `title` still wins.
12+
- The internal form has a Cancel. It goes back to the page the form was opened from. With no such page (a cold link) it goes to the record being edited, else to the app's home, or to Home on the app-less route. The public `/f/:slug` form has no Cancel.

‎apps/console/src/AppContent.tsx‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { MePermissionsProvider, ServerReadScope } from '@object-ui/permissions';
1717
import { createAuthenticatedFetch } from '@object-ui/auth';
1818
import type { DataSource } from '@object-ui/types';
1919
import { LocalizationFetchProvider } from './LocalizationFetchProvider';
20+
import { InAppFormRoute } from './components/InternalFormRoute';
2021
import { WorkspaceTimezonePrompt } from './pages/settings/WorkspaceTimezonePrompt';
2122
import { APPROVAL_ACTION_OBJECT, APPROVAL_REQUEST_OBJECT, routeApprovalRecordReads } from './services/approvalRequestsDataSource';
2223

@@ -410,6 +411,28 @@ export function ConsolePermissionsScope({ children }: { children: ReactNode }) {
410411
);
411412
}
412413

414+
/**
415+
* The internal form inside an app, `/apps/:appName/forms/:name`
416+
* (objectui#13433) — the twin of the app-less `/forms/:name` in `App.tsx`,
417+
* rendering the same `FormPage` inside the app's own shell. A `type: 'form'`
418+
* action fired from an app route opens here (`hostInConsolePath` in
419+
* app-shell); `InternalFormRoute.tsx` says why the app-less route stays.
420+
*
421+
* Only in the app route table: the no-app table serves a deployment with no
422+
* app to be inside, and a form there keeps the app-less route.
423+
*/
424+
const appFormRoutes = (
425+
<Route path="forms/:name" element={<InAppFormRoute />} />
426+
);
427+
428+
/** The host routes of the app route table: the system routes plus the in-app form. */
429+
export const appRoutes = (
430+
<>
431+
{systemRoutes}
432+
{appFormRoutes}
433+
</>
434+
);
435+
413436
/**
414437
* The element of `/apps/:appName/*`. It renders under `ConsolePermissionsScope`
415438
* (mounted by `App.tsx` above this route), never without it.
@@ -434,7 +457,7 @@ export function AppContent() {
434457
<LocalizationFetchProvider endpoint={localizationEndpoint}>
435458
<ApprovalRecordReads>
436459
<DefaultAppContent
437-
extraRoutes={systemRoutes}
460+
extraRoutes={appRoutes}
438461
extraRoutesNoApp={systemRoutes}
439462
/>
440463
</ApprovalRecordReads>

‎apps/console/src/__tests__/App.homePermissions-12700.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ vi.mock('../pages/settings/WorkspaceTimezonePrompt', () => ({ WorkspaceTimezoneP
180180
vi.mock('../components/RootLandingRedirect', () => ({ RootLandingRedirect: () => null }));
181181
vi.mock('../components/SetupRoute', () => ({ SetupRoute: () => null }));
182182
vi.mock('../components/FormPage', () => ({ FormPage: () => null }));
183-
vi.mock('../components/InternalFormRoute', () => ({ InternalFormRoute: () => null }));
183+
vi.mock('../components/InternalFormRoute', () => ({ InternalFormRoute: () => null, InAppFormRoute: () => null }));
184184
vi.mock('../components/MetadataHmrReloader', () => ({ MetadataHmrReloader: () => null }));
185185
vi.mock('../components/FaviconSync', () => ({ FaviconSync: () => null }));
186186
vi.mock('../pages/SharedRecordPage', () => ({ default: () => null }));

‎apps/console/src/__tests__/App.uploadAltitude-10131.test.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ vi.mock('@object-ui/auth', async (importOriginal) => ({
168168
vi.mock('../components/RootLandingRedirect', () => ({ RootLandingRedirect: stub('root-landing') }));
169169
vi.mock('../components/SetupRoute', () => ({ SetupRoute: stub('setup-route') }));
170170
vi.mock('../components/FormPage', () => ({ FormPage: stub('form-page') }));
171-
vi.mock('../components/InternalFormRoute', () => ({ InternalFormRoute: stub('internal-form-route') }));
171+
vi.mock('../components/InternalFormRoute', () => ({
172+
InternalFormRoute: stub('internal-form-route'),
173+
InAppFormRoute: stub('in-app-form-route'),
174+
}));
172175
vi.mock('../components/MetadataHmrReloader', () => ({ MetadataHmrReloader: () => null }));
173176
vi.mock('../components/FaviconSync', () => ({ FaviconSync: () => null }));
174177
vi.mock('../components/StudioRoute', () => ({ studioRoutes: null }));
Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* objectui#13433 — a `type: 'form'` action fired inside an app opened its form
5+
* outside the app: on the app-less `/forms/:name`, headed by the raw qualified
6+
* view name (`showcase_task.form`), with Submit as the only button.
7+
*
8+
* Pinned here, on the console half of the fix (the navigator half — which
9+
* route a form hop takes — is pinned in app-shell, beside
10+
* `hostInConsolePath`'s two callers):
11+
*
12+
* - the app route table serves `/apps/:appName/forms/:name` with the same
13+
* internal `FormPage`, and a submit there lands on the record in the SAME
14+
* app the URL names;
15+
* - a form view that names itself nowhere is headed by its object's label;
16+
* an authored view label or form `title` still wins;
17+
* - the internal form has a Cancel: back to the page the user came from
18+
* when there is one, else the edited record, else the route's fallback;
19+
* - the public `/f/:slug` form has none (controls: an anonymous visitor has
20+
* no console to return to).
21+
*/
22+
23+
import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest';
24+
import { render, screen, waitFor } from '@testing-library/react';
25+
import userEvent from '@testing-library/user-event';
26+
import { MemoryRouter, Route, Routes, useLocation } from 'react-router-dom';
27+
import { createI18n } from '@object-ui/i18n';
28+
import { MetadataCtx } from '@object-ui/react';
29+
import { FormPage } from './FormPage';
30+
import { appRoutes } from '../AppContent';
31+
32+
vi.mock('sonner', () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
33+
34+
/** A container's default form: no view label, no form `title` — what Log Time opens. */
35+
const UNLABELLED_VIEW = {
36+
name: 'showcase_task.form',
37+
object: 'showcase_task',
38+
viewKind: 'form',
39+
config: {
40+
type: 'simple',
41+
sections: [{ name: 'task', label: 'Task details', fields: ['title'] }],
42+
},
43+
};
44+
45+
const OBJECT_SCHEMA = {
46+
name: 'showcase_task',
47+
label: 'Task',
48+
fields: { title: { type: 'text', label: 'Title' } },
49+
};
50+
51+
const GET_RESPONSE = {
52+
object: 'showcase_task',
53+
id: 'task-42',
54+
record: { id: 'task-42', title: 'Write the report' },
55+
};
56+
57+
const POST_RESPONSE = {
58+
object: 'showcase_task',
59+
id: 'task-77',
60+
record: { id: 'task-77', title: 'New task' },
61+
};
62+
63+
function stubFetch(view: unknown = UNLABELLED_VIEW) {
64+
return vi.fn(async (url: string, init?: RequestInit) => {
65+
const method = (init?.method ?? 'GET').toUpperCase();
66+
const u = String(url);
67+
let body: unknown;
68+
if (u.includes('/meta/view/')) body = view;
69+
else if (u.includes('/meta/object/')) body = OBJECT_SCHEMA;
70+
else if (method === 'GET' && u.includes('/data/showcase_task/task-42')) body = GET_RESPONSE;
71+
else if (method === 'POST' && u.includes('/data/showcase_task')) body = POST_RESPONSE;
72+
else throw new Error(`unstubbed fetch: ${method} ${u}`);
73+
return {
74+
ok: true,
75+
status: 200,
76+
statusText: 'OK',
77+
json: async () => body,
78+
text: async () => JSON.stringify(body),
79+
} as unknown as Response;
80+
});
81+
}
82+
83+
function LocationProbe() {
84+
const location = useLocation();
85+
return <div data-testid="location">{`${location.pathname}${location.search}`}</div>;
86+
}
87+
88+
const where = () => screen.getByTestId('location').textContent;
89+
90+
const recordPath = (objectName: string, recordId: string) =>
91+
`/apps/com.example.showcase/${objectName}/record/${recordId}`;
92+
93+
/** The internal form on the app-less route, optionally with a page behind it. */
94+
function renderInternal({ url, behind }: { url: string; behind?: string }) {
95+
const entries = behind ? [behind, url] : [url];
96+
return render(
97+
<MemoryRouter initialEntries={entries} initialIndex={entries.length - 1}>
98+
<LocationProbe />
99+
<Routes>
100+
<Route
101+
path="/forms/:name"
102+
element={<FormPage mode="internal" recordPath={recordPath} cancelPath="/home" />}
103+
/>
104+
<Route path="/f/:slug" element={<FormPage mode="public" />} />
105+
<Route path="*" element={<div data-testid="elsewhere" />} />
106+
</Routes>
107+
</MemoryRouter>,
108+
);
109+
}
110+
111+
beforeEach(() => {
112+
createI18n({ defaultLanguage: 'en', detectBrowserLanguage: false });
113+
});
114+
115+
afterEach(() => {
116+
vi.unstubAllGlobals();
117+
});
118+
119+
describe('the heading of an internal form (objectui#13433)', () => {
120+
it('a form view that names itself nowhere is headed by its object, not its raw name', async () => {
121+
vi.stubGlobal('fetch', stubFetch());
122+
renderInternal({ url: '/forms/showcase_task.form' });
123+
124+
// RED before the fix: the heading read `showcase_task.form`.
125+
expect(await screen.findByRole('heading', { level: 1 })).toHaveTextContent(/^Task$/);
126+
expect(screen.queryByText('showcase_task.form')).toBeNull();
127+
});
128+
129+
it('an authored form `title` heads the form', async () => {
130+
vi.stubGlobal('fetch', stubFetch({ ...UNLABELLED_VIEW, config: { ...UNLABELLED_VIEW.config, title: 'Log time' } }));
131+
renderInternal({ url: '/forms/showcase_task.form' });
132+
133+
expect(await screen.findByRole('heading', { level: 1 })).toHaveTextContent(/^Log time$/);
134+
});
135+
136+
it('control: the view’s own label still wins', async () => {
137+
vi.stubGlobal('fetch', stubFetch({ ...UNLABELLED_VIEW, label: 'Quick edit', config: { ...UNLABELLED_VIEW.config, title: 'Log time' } }));
138+
renderInternal({ url: '/forms/showcase_task.form' });
139+
140+
expect(await screen.findByRole('heading', { level: 1 })).toHaveTextContent(/^Quick edit$/);
141+
});
142+
});
143+
144+
describe('Cancel on an internal form (objectui#13433)', () => {
145+
it('goes back to the page the form was opened from', async () => {
146+
vi.stubGlobal('fetch', stubFetch());
147+
renderInternal({
148+
behind: '/apps/com.example.showcase/showcase_task/record/task-42?tab=details',
149+
url: '/forms/showcase_task.form?recordId=task-42&recordObject=showcase_task',
150+
});
151+
152+
await userEvent.click(await screen.findByRole('button', { name: 'Cancel' }));
153+
154+
await waitFor(() => expect(where()).toBe('/apps/com.example.showcase/showcase_task/record/task-42?tab=details'));
155+
});
156+
157+
it('opened cold on an edit, lands on the record it edits', async () => {
158+
vi.stubGlobal('fetch', stubFetch());
159+
renderInternal({ url: '/forms/showcase_task.form?recordId=task-42&recordObject=showcase_task' });
160+
161+
await userEvent.click(await screen.findByRole('button', { name: 'Cancel' }));
162+
163+
await waitFor(() => expect(where()).toBe('/apps/com.example.showcase/showcase_task/record/task-42'));
164+
});
165+
166+
it('opened cold on a create, lands on the route’s fallback', async () => {
167+
vi.stubGlobal('fetch', stubFetch());
168+
renderInternal({ url: '/forms/showcase_task.form' });
169+
170+
await userEvent.click(await screen.findByRole('button', { name: 'Cancel' }));
171+
172+
await waitFor(() => expect(where()).toBe('/home'));
173+
});
174+
175+
it('writes nothing', async () => {
176+
const fetchSpy = stubFetch();
177+
vi.stubGlobal('fetch', fetchSpy);
178+
renderInternal({ url: '/forms/showcase_task.form?recordId=task-42&recordObject=showcase_task' });
179+
180+
await userEvent.click(await screen.findByRole('button', { name: 'Cancel' }));
181+
182+
await waitFor(() => expect(screen.getByTestId('elsewhere')).toBeInTheDocument());
183+
const writes = fetchSpy.mock.calls.filter(([, init]) => (init?.method ?? 'GET').toUpperCase() !== 'GET');
184+
expect(writes).toEqual([]);
185+
});
186+
187+
it('control: the public form renders no Cancel', async () => {
188+
vi.stubGlobal(
189+
'fetch',
190+
vi.fn(async () => ({
191+
ok: true,
192+
status: 200,
193+
statusText: 'OK',
194+
json: async () => ({ object: 'showcase_task', form: UNLABELLED_VIEW.config, objectSchema: OBJECT_SCHEMA }),
195+
text: async () => '',
196+
}) as unknown as Response),
197+
);
198+
renderInternal({ url: '/f/contact-us' });
199+
200+
expect(await screen.findByRole('button', { name: 'Submit' })).toBeInTheDocument();
201+
expect(screen.queryByRole('button', { name: 'Cancel' })).toBeNull();
202+
});
203+
});
204+
205+
describe('the in-app form route, /apps/:appName/forms/:name (objectui#13433)', () => {
206+
const METADATA = {
207+
apps: [
208+
{ name: 'showcase', _packageId: 'com.example.showcase' },
209+
{ name: 'crm', _packageId: 'com.acme.crm' },
210+
],
211+
objects: [],
212+
dashboards: [],
213+
reports: [],
214+
pages: [],
215+
loading: false,
216+
error: null,
217+
refresh: async () => {},
218+
invalidate: () => {},
219+
ensureType: async () => [],
220+
getItem: async () => null,
221+
getItemsByType: () => [],
222+
} as any;
223+
224+
/** The app route table as `AppContent` mounts it, under `/apps/:appName/*`. */
225+
function renderInApp(url: string) {
226+
return render(
227+
<MetadataCtx.Provider value={METADATA}>
228+
<MemoryRouter initialEntries={[url]}>
229+
<LocationProbe />
230+
<Routes>
231+
<Route
232+
path="/apps/:appName/*"
233+
element={
234+
<Routes>
235+
{appRoutes}
236+
<Route path=":objectName/record/:recordId" element={<div data-testid="record-page" />} />
237+
<Route path="*" element={<div data-testid="app-not-found" />} />
238+
</Routes>
239+
}
240+
/>
241+
</Routes>
242+
</MemoryRouter>
243+
</MetadataCtx.Provider>,
244+
);
245+
}
246+
247+
it('renders the internal form inside the app the URL names', async () => {
248+
vi.stubGlobal('fetch', stubFetch());
249+
renderInApp('/apps/com.example.showcase/forms/showcase_task.form?recordId=task-42&recordObject=showcase_task');
250+
251+
// RED without the route: the app table's catch-all answers instead.
252+
expect(await screen.findByLabelText(/Title/)).toHaveValue('Write the report');
253+
expect(screen.queryByTestId('app-not-found')).toBeNull();
254+
});
255+
256+
it('a submit lands on the written record in the same app — the second app, not the first', async () => {
257+
vi.stubGlobal('fetch', stubFetch());
258+
renderInApp('/apps/com.acme.crm/forms/showcase_task.form');
259+
260+
await userEvent.type(await screen.findByLabelText(/Title/), 'New task');
261+
await userEvent.click(screen.getByRole('button', { name: 'Submit' }));
262+
263+
await waitFor(() => expect(where()).toBe('/apps/com.acme.crm/showcase_task/record/task-77'));
264+
});
265+
266+
it('opened cold on a create, Cancel lands on the app’s home', async () => {
267+
vi.stubGlobal('fetch', stubFetch());
268+
renderInApp('/apps/com.acme.crm/forms/showcase_task.form');
269+
270+
await userEvent.click(await screen.findByRole('button', { name: 'Cancel' }));
271+
272+
await waitFor(() => expect(where()).toBe('/apps/com.acme.crm'));
273+
});
274+
});

‎apps/console/src/components/FormPage.test.ts‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,10 +707,23 @@ describe('resolveInternalForm', () => {
707707
expect(out.object).toBe('showcase_task');
708708
});
709709

710-
it('falls back to the envelope name when neither envelope nor config carry a label', () => {
710+
// objectui#13433 — no fallback to the view NAME: a form that names itself
711+
// nowhere is headed by its object's label, resolved by `FormPage` at render
712+
// (`FormPage.inAppShell-13433.test.tsx`). The raw qualified name was what
713+
// the showcase's Log Time page was headed by.
714+
it('answers no label when neither envelope nor config carry one, rather than the view name', () => {
711715
const { label: _l, ...noLabel } = envelope;
712716
const out = resolveInternalForm('showcase_task.tabbed', noLabel);
713-
expect(out.label).toBe('showcase_task.tabbed');
717+
expect(out.label).toBeUndefined();
718+
});
719+
720+
it('reads the form config’s `title` when the envelope carries no label', () => {
721+
const { label: _l, ...noLabel } = envelope;
722+
const out = resolveInternalForm('showcase_task.tabbed', {
723+
...noLabel,
724+
config: { ...noLabel.config, title: 'Tabbed edit' },
725+
});
726+
expect(out.label).toBe('Tabbed edit');
714727
});
715728

716729
it('throws an actionable error for a non-form view instead of rendering an empty form', () => {

0 commit comments

Comments
 (0)