From 438802575ba98fe2396f1467d8bfb95bbdb2cd47 Mon Sep 17 00:00:00 2001 From: Maggie Li Date: Wed, 29 May 2024 13:20:27 -0700 Subject: [PATCH 1/2] fix the enum input --- apps/teams-test-app/src/components/ProfileAPIs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { From 8c824174a6b94f39466a9535bd1c92e435120eef Mon Sep 17 00:00:00 2001 From: Maggie Li Date: Wed, 29 May 2024 13:23:41 -0700 Subject: [PATCH 2/2] update more --- apps/teams-test-app/e2e-test-data/profile.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\"}" } ] }