feat(web): single-language content authoring (LabelEditor + localized_text at default lang)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,10 +22,9 @@ test("boolean field renders a checkbox", async () => {
|
||||
expect(await screen.findByRole("checkbox", { name: /is fragment/i })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("localized_text renders sv and en inputs", async () => {
|
||||
test("localized_text renders a single input for the default language", async () => {
|
||||
renderApp(<Harness defKey="title_ml" />);
|
||||
expect(await screen.findByLabelText(/title.*\(en\)/i)).toBeInTheDocument();
|
||||
expect(screen.getByLabelText(/title.*\(sv\)/i)).toBeInTheDocument();
|
||||
expect(await screen.findByLabelText(/^title/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("term field renders a select populated from the vocabulary", async () => {
|
||||
|
||||
Reference in New Issue
Block a user