Skip to content

Commit 7d6954c

Browse files
committed
Update nestedAppAuth.json
1 parent 983d71c commit 7d6954c

File tree

1 file changed

+4
-46
lines changed

1 file changed

+4
-46
lines changed

apps/teams-test-app/e2e-test-data/nestedAppAuth.json

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"expectedTestAppValue": "NAA channel is recommended"
1212
},
1313
{
14-
"title": "nestedAppAuth - Send NAA message to NAA bridge from parent window",
14+
"title": "nestedAppAuth - send message to NAA bridge from parent window",
1515
"type": "callResponse",
1616
"boxSelector": "#box_sendMessageToNestedAppAuthBridge",
1717
"inputValue": {
@@ -20,53 +20,11 @@
2020
"sendTime": 1732269811006,
2121
"clientLibrary": "MetaOS",
2222
"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" }
2525
},
2626
"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\\\"}}}\""
7028
}
7129
]
7230
}

0 commit comments

Comments
 (0)