{
const clipboard = await reactGrab.getClipboardContent();
expect(clipboard).toContain("TodoItem");
});
+
+ test("should include third-party component name for library icons", async ({ reactGrab }) => {
+ await reactGrab.activate();
+
+ const icon = "[data-testid='library-icon-host'] svg";
+ await reactGrab.hoverElement(icon);
+ await reactGrab.waitForSelectionBox();
+ await reactGrab.clickElement(icon);
+
+ const clipboard = await reactGrab.getClipboardContent();
+ expect(clipboard).toContain("