Skip to content

Commit 35c6508

Browse files
committed
Update nestedAppAuth.json
1 parent 5e8c93c commit 35c6508

File tree

1 file changed

+4
-45
lines changed

1 file changed

+4
-45
lines changed

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

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
{
3434
"title": "nestedAppAuth - Send NAA message to NAA bridge from parent window",
35+
"title": "nestedAppAuth - send message to NAA bridge from parent window",
3536
"type": "callResponse",
3637
"boxSelector": "#box_sendMessageToNestedAppAuthBridge",
3738
"inputValue": {
@@ -40,53 +41,11 @@
4041
"sendTime": 1732269811006,
4142
"clientLibrary": "MetaOS",
4243
"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" }
4546
},
4647
"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\\\"}}}\""
9049
}
9150
]
9251
}

0 commit comments

Comments
 (0)