|
32 | 32 | }, |
33 | 33 | { |
34 | 34 | "title": "nestedAppAuth - Send NAA message to NAA bridge from parent window", |
| 35 | + "title": "nestedAppAuth - send message to NAA bridge from parent window", |
35 | 36 | "type": "callResponse", |
36 | 37 | "boxSelector": "#box_sendMessageToNestedAppAuthBridge", |
37 | 38 | "inputValue": { |
|
40 | 41 | "sendTime": 1732269811006, |
41 | 42 | "clientLibrary": "MetaOS", |
42 | 43 | "clientLibraryVersion": "1.0.0", |
43 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
44 | | - "tokenParams": { "correlationId": "39dc85fe-9054-11ed-a1eb-0242ac120002" } |
| 44 | + "requestId": "684352c2-7ab7-4def-b7e1-XXXXXXXXXXX", |
| 45 | + "tokenParams": { "correlationId": "39dc85fe-9054-11ed-a1eb-XXXXXXXXXXX" } |
45 | 46 | }, |
46 | 47 | "expectedAlertValue": "nestedAppAuth.execute called with payload: ##JSON_INPUT_VALUE##, origin: https://localhost:4000/, isTrustedOrigin: true", |
47 | | - "expectedTestAppValue": { |
48 | | - "messageType": "NestedAppAuthResponse", |
49 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
50 | | - "success": true, |
51 | | - "initContext": { |
52 | | - "sdkName": "OfficeAuth", |
53 | | - "sdkVersion": "16.0.18015.15000", |
54 | | - "capabilities": { "queryAccount": false }, |
55 | | - "accountContext": { |
56 | | - "homeAccountId": "bb5r835b-0e7b", |
57 | | - "environment": "login.windows.net", |
58 | | - "tenantId": "2855cd1be" |
59 | | - } |
60 | | - } |
61 | | - } |
62 | | - }, |
63 | | - { |
64 | | - "title": "nestedAppAuth - Send NAA message to top window from parent window", |
65 | | - "type": "callResponse", |
66 | | - "boxSelector": "#box_sendMessageToTopWindow", |
67 | | - "platformsExcluded": ["iOS"], |
68 | | - "inputValue": { |
69 | | - "id": "2", |
70 | | - "func": "nestedAppAuth.execute", |
71 | | - "args": [], |
72 | | - "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\"}}" |
73 | | - }, |
74 | | - "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", |
75 | | - "expectedTestAppValue": { |
76 | | - "messageType": "NestdedAppAuthResponse", |
77 | | - "requestId": "684352c2-7ab7-4def-b7e1-56a386c02a0a", |
78 | | - "success": true, |
79 | | - "initContext": { |
80 | | - "sdkName": "OfficeAuth", |
81 | | - "sdkVersion": "16.0.18015.15000", |
82 | | - "capabilities": { "queryAccount": false }, |
83 | | - "accountContext": { |
84 | | - "homeAccountId": "bb5r835b-0e7b", |
85 | | - "environment": "login.windows.net", |
86 | | - "tenantId": "2855cd1be" |
87 | | - } |
88 | | - } |
89 | | - } |
| 48 | + "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\\\"}}}\"" |
90 | 49 | } |
91 | 50 | ] |
92 | 51 | } |
0 commit comments