|
11 | 11 | "expectedTestAppValue": "NAA channel is recommended" |
12 | 12 | }, |
13 | 13 | { |
14 | | - "title": "nestedAppAuth - Send NAA message to NAA bridge from parent window", |
| 14 | + "title": "nestedAppAuth - send message to NAA bridge from parent window", |
15 | 15 | "type": "callResponse", |
16 | 16 | "boxSelector": "#box_sendMessageToNestedAppAuthBridge", |
17 | 17 | "inputValue": { |
|
20 | 20 | "sendTime": 1732269811006, |
21 | 21 | "clientLibrary": "MetaOS", |
22 | 22 | "clientLibraryVersion": "1.0.0", |
23 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
24 | | - "tokenParams": { "correlationId": "39dc85fe-9054-11ed-a1eb-0242ac120002" } |
| 23 | + "requestId": "684352c2-7ab7-4def-b7e1-XXXXXXXXXXX", |
| 24 | + "tokenParams": { "correlationId": "39dc85fe-9054-11ed-a1eb-XXXXXXXXXXX" } |
25 | 25 | }, |
26 | 26 | "expectedAlertValue": "nestedAppAuth.execute called with payload: ##JSON_INPUT_VALUE##, origin: https://localhost:4000/, isTrustedOrigin: true", |
27 | | - "expectedTestAppValue": { |
28 | | - "messageType": "NestedAppAuthResponse", |
29 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
30 | | - "success": true, |
31 | | - "initContext": { |
32 | | - "sdkName": "OfficeAuth", |
33 | | - "sdkVersion": "16.0.18015.15000", |
34 | | - "capabilities": { "queryAccount": false }, |
35 | | - "accountContext": { |
36 | | - "homeAccountId": "bb5r835b-0e7b", |
37 | | - "environment": "login.windows.net", |
38 | | - "tenantId": "2855cd1be" |
39 | | - } |
40 | | - } |
41 | | - } |
42 | | - }, |
43 | | - { |
44 | | - "title": "nestedAppAuth - Send NAA message to top window from parent window", |
45 | | - "type": "callResponse", |
46 | | - "boxSelector": "#box_sendMessageToTopWindow", |
47 | | - "platformsExcluded": ["iOS"], |
48 | | - "inputValue": { |
49 | | - "id": "2", |
50 | | - "func": "nestedAppAuth.execute", |
51 | | - "args": [], |
52 | | - "data": "{\"messageType\":\"NestedAppAuthRequest\",\"method\":\"GetToken\",\"sendTime\":1732269811006,\"clientLibrary\":\"MetaOS\",\"clientLibraryVersion\":\"1.0.0\",\"requestId\":\"684352c2-7ab7-4def-b7e1-56a386c02a0a\",\"tokenParams\":{\"correlationId\":\"39dc85fe-9054-11ed-a1eb-0242ac120002\"}}" |
53 | | - }, |
54 | | - "expectedAlertValue": "nestedAppAuth.execute called with payload: {\"messageType\":\"NestedAppAuthRequest\",\"method\":\"GetToken\",\"sendTime\":1732269811006,\"clientLibrary\":\"MetaOS\",\"clientLibraryVersion\":\"1.0.0\",\"requestId\":\"684352c2-7ab7-4def-b7e1-56a386c02a0a\",\"tokenParams\":{\"correlationId\":\"39dc85fe-9054-11ed-a1eb-0242ac120002\"}}, origin: https://localhost:4000/, isTrustedOrigin: true", |
55 | | - "expectedTestAppValue": { |
56 | | - "messageType": "NestdedAppAuthResponse", |
57 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
58 | | - "success": true, |
59 | | - "initContext": { |
60 | | - "sdkName": "OfficeAuth", |
61 | | - "sdkVersion": "16.0.18015.15000", |
62 | | - "capabilities": { "queryAccount": false }, |
63 | | - "accountContext": { |
64 | | - "homeAccountId": "bb5r835b-0e7b", |
65 | | - "environment": "login.windows.net", |
66 | | - "tenantId": "2855cd1be" |
67 | | - } |
68 | | - } |
69 | | - } |
| 27 | + "expectedTestAppValue": "\"{\\\"messageType\\\":\\\"NestedAppAuthResponse\\\",\\\"requestId\\\":\\\"684352c2-7ab7-4def-b7e1-XXXXXXXXXXX\\\",\\\"success\\\":true,\\\"initContext\\\":{\\\"sdkName\\\":\\\"OfficeAuth\\\",\\\"sdkVersion\\\":\\\"16.0.18015.15000\\\",\\\"capabilities\\\":{\\\"queryAccount\\\":false},\\\"accountContext\\\":{\\\"homeAccountId\\\":\\\"bb5r835b-XXXX\\\",\\\"environment\\\":\\\"login.windows.net\\\",\\\"tenantId\\\":\\\"2855cd1be\\\"}}}\"" |
70 | 28 | } |
71 | 29 | ] |
72 | 30 | } |
0 commit comments