diff --git a/oxlint-suppressions.json b/oxlint-suppressions.json index c0b968118fccd1..9f0b97a81cb230 100644 --- a/oxlint-suppressions.json +++ b/oxlint-suppressions.json @@ -4890,22 +4890,6 @@ "count": 5 } }, - "web/app/components/workflow/nodes/tool/components/__tests__/copy-id.spec.tsx": { - "jsx_a11y/click-events-have-key-events": { - "count": 1 - }, - "jsx_a11y/no-static-element-interactions": { - "count": 1 - } - }, - "web/app/components/workflow/nodes/tool/components/copy-id.tsx": { - "jsx_a11y/click-events-have-key-events": { - "count": 1 - }, - "jsx_a11y/no-static-element-interactions": { - "count": 1 - } - }, "web/app/components/workflow/nodes/tool/components/mixed-variable-text-input/index.tsx": { "typescript/no-explicit-any": { "count": 1 diff --git a/web/app/components/workflow/nodes/tool/components/__tests__/copy-id.spec.tsx b/web/app/components/workflow/nodes/tool/components/__tests__/copy-id.spec.tsx index 6d1b5455981bd7..de88d76daf9779 100644 --- a/web/app/components/workflow/nodes/tool/components/__tests__/copy-id.spec.tsx +++ b/web/app/components/workflow/nodes/tool/components/__tests__/copy-id.spec.tsx @@ -39,15 +39,20 @@ describe('tool/copy-id', () => { expect(trigger).toHaveAccessibleName('appOverview.overview.appInfo.embedded.copy') }) - it('should stop click propagation from the outer wrapper', () => { + it('should stop click propagation from the copy button', () => { const handleParentClick = vi.fn() - const { container } = render( -