diff --git a/apps/teams-test-app/e2e-test-data/profile.json b/apps/teams-test-app/e2e-test-data/profile.json index c5d6ac7ae7..c4aa3f8d0c 100644 --- a/apps/teams-test-app/e2e-test-data/profile.json +++ b/apps/teams-test-app/e2e-test-data/profile.json @@ -23,9 +23,9 @@ "width": 0, "height": 0 }, - "triggerType": "MouseClick" + "triggerType": "MouseHover" }, - "expectedAlertValue": "showProfile called with {\"modality\":\"Card\",\"persona\":{\"identifiers\":{\"Smtp\":\"test@microsoft.com\"}},\"targetElementBoundingRect\":{\"x\":243,\"y\":0,\"width\":0,\"height\":0,\"top\":0,\"right\":243,\"bottom\":0,\"left\":243},\"triggerType\":\"MouseClick\"}" + "expectedAlertValue": "showProfile called with {\"modality\":\"Card\",\"persona\":{\"identifiers\":{\"Smtp\":\"test@microsoft.com\"}},\"targetElementBoundingRect\":{\"x\":243,\"y\":0,\"width\":0,\"height\":0,\"top\":0,\"right\":243,\"bottom\":0,\"left\":243},\"triggerType\":\"MouseHover\"}" } ] } diff --git a/apps/teams-test-app/src/components/ProfileAPIs.tsx b/apps/teams-test-app/src/components/ProfileAPIs.tsx index 7815697e4f..b3fd07abde 100644 --- a/apps/teams-test-app/src/components/ProfileAPIs.tsx +++ b/apps/teams-test-app/src/components/ProfileAPIs.tsx @@ -16,7 +16,7 @@ const ShowProfile = (): React.ReactElement => name: 'showProfile', title: 'Show Profile', defaultInput: - '{"modality":"Card","persona":{"identifiers":{"Smtp":"test@microsoft.com"}},"targetElementBoundingRect":{"x":0,"y":0,"width":0,"height":0},"triggerType":"MouseClick"}', + '{"modality":"Card","persona":{"identifiers":{"Smtp":"test@microsoft.com"}},"targetElementBoundingRect":{"x":0,"y":0,"width":0,"height":0},"triggerType":"MouseHover"}', onClick: { validateInput: (input) => { if (!input) {