Merge branch 'cz/hitl-v2' of github.com:langflow-ai/langflow into cz/hitl-v2

This commit is contained in:
cristhianzl
2026-06-23 17:28:47 -03:00
2 changed files with 7 additions and 2 deletions

View File

@ -92,7 +92,10 @@ jest.mock("react-markdown", () => ({ __esModule: true, default: () => null }));
// react-markdown plugins (e.g. HumanInputCard via the canvas node badge) loads.
jest.mock("remark-gfm", () => ({ __esModule: true, default: () => {} }));
jest.mock("remark-math", () => ({ __esModule: true, default: () => {} }));
jest.mock("rehype-mathjax/browser", () => ({ __esModule: true, default: () => {} }));
jest.mock("rehype-mathjax/browser", () => ({
__esModule: true,
default: () => {},
}));
// Render children only — tests don't need TooltipProvider context
jest.mock("@/components/common/shadTooltipComponent", () => ({

View File

@ -52,7 +52,9 @@ test(
// Scope to the enable ("name") column: the HITL approval_actions column also renders an
// eInput checkbox, so a global nth() index would land on it instead of the action toggle.
const enableCheckboxes = page.locator('[col-id="name"] input[data-ref="eInput"]');
const enableCheckboxes = page.locator(
'[col-id="name"] input[data-ref="eInput"]',
);
expect(await enableCheckboxes.nth(0).isChecked()).toBe(true);