fix(frontend): English chrome labels in schema-linking gate (Promote/Exclude/Columns)

This commit is contained in:
2026-07-06 23:25:00 +02:00
committed by Marco Pancotti
parent 40a0395a70
commit b6397bd965
2 changed files with 4 additions and 4 deletions
@@ -50,8 +50,8 @@ test("Confirm emits enacted tables with suggested columns (catalog order)", asyn
test("selecting a column in the modal adds it to the response", async () => {
const onRespond = vi.fn();
render(<SchemaLinkingGateWidget descriptor={descriptor} onRespond={onRespond} />);
// dim_patient starts with 1 suggested of 2 -> its button reads "Colonne 1/2".
await userEvent.click(screen.getByRole("button", { name: /colonne 1\/2/i }));
// dim_patient starts with 1 suggested of 2 -> its button reads "Columns 1/2".
await userEvent.click(screen.getByRole("button", { name: /columns 1\/2/i }));
await userEvent.click(screen.getByRole("checkbox", { name: "nome" }));
await userEvent.click(screen.getByRole("button", { name: /close/i })); // dialog X button
await userEvent.click(screen.getByRole("button", { name: /confirm/i }));