diff --git a/change/react-native-windows-8059f3d2-3b58-44ac-8d93-64784c10f722.json b/change/react-native-windows-8059f3d2-3b58-44ac-8d93-64784c10f722.json new file mode 100644 index 00000000000..7b33e751ad8 --- /dev/null +++ b/change/react-native-windows-8059f3d2-3b58-44ac-8d93-64784c10f722.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Save State: Working Visual Tree Dump Tests", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/packages/e2e-test-app-fabric/test/ButtonComponentTest.test.ts b/packages/e2e-test-app-fabric/test/ButtonComponentTest.test.ts index b4fba362cd5..5fe679fb87e 100644 --- a/packages/e2e-test-app-fabric/test/ButtonComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/ButtonComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('Button'); }); diff --git a/packages/e2e-test-app-fabric/test/HomeUIADump.test.ts b/packages/e2e-test-app-fabric/test/HomeUIADump.test.ts index 2aa67bb4740..b34262affd5 100644 --- a/packages/e2e-test-app-fabric/test/HomeUIADump.test.ts +++ b/packages/e2e-test-app-fabric/test/HomeUIADump.test.ts @@ -36,6 +36,7 @@ afterEach(async () => { beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); }); describe('Home UIA Tree Dump', () => { diff --git a/packages/e2e-test-app-fabric/test/PressableComponentTest.test.ts b/packages/e2e-test-app-fabric/test/PressableComponentTest.test.ts index e360080b3b2..bb3cbc17258 100644 --- a/packages/e2e-test-app-fabric/test/PressableComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/PressableComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('Pressable'); }); diff --git a/packages/e2e-test-app-fabric/test/ScrollViewComponentTest.test.ts b/packages/e2e-test-app-fabric/test/ScrollViewComponentTest.test.ts index 7befe22bcf1..f8a4d699e6a 100644 --- a/packages/e2e-test-app-fabric/test/ScrollViewComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/ScrollViewComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('ScrollView'); }); diff --git a/packages/e2e-test-app-fabric/test/TextComponentTest.test.ts b/packages/e2e-test-app-fabric/test/TextComponentTest.test.ts index 9f77d0740f0..250be12eb19 100644 --- a/packages/e2e-test-app-fabric/test/TextComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/TextComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('Text'); }); diff --git a/packages/e2e-test-app-fabric/test/TextInputComponentTest.test.ts b/packages/e2e-test-app-fabric/test/TextInputComponentTest.test.ts index 2464e5258dc..23c0eb696c0 100644 --- a/packages/e2e-test-app-fabric/test/TextInputComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/TextInputComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('TextInput'); }); diff --git a/packages/e2e-test-app-fabric/test/TouchableComponentTest.test.ts b/packages/e2e-test-app-fabric/test/TouchableComponentTest.test.ts index ff926e69bb8..811ad495fb5 100644 --- a/packages/e2e-test-app-fabric/test/TouchableComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/TouchableComponentTest.test.ts @@ -13,6 +13,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('Touchable* and onPress'); }); diff --git a/packages/e2e-test-app-fabric/test/ViewComponentTest.test.ts b/packages/e2e-test-app-fabric/test/ViewComponentTest.test.ts index 49de9cc6d9c..0c6494d01e9 100644 --- a/packages/e2e-test-app-fabric/test/ViewComponentTest.test.ts +++ b/packages/e2e-test-app-fabric/test/ViewComponentTest.test.ts @@ -13,6 +13,7 @@ import {verifyNoErrorLogs} from './Helpers'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); await goToComponentExample('View'); }); diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/ButtonComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/ButtonComponentTest.test.ts.snap index 668ef8d82b5..0f4a7118f6b 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/ButtonComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/ButtonComponentTest.test.ts.snap @@ -2,138 +2,1504 @@ exports[`Button Tests Buttons can be disabled 1`] = ` { - "AutomationId": "disabled_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": false, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Submit Application", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": false, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to submit your application!", + "Automation Tree": { + "AutomationId": "disabled_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": false, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Submit Application", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": false, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to submit your application!", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(249, 249, 249, 77)", + }, + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "disabled_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Button Tests Buttons can have accessibility labels 1`] = ` { - "AutomationId": "accessibilityLabel_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Submit Application", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to submit your application!", + "Automation Tree": { + "AutomationId": "accessibilityLabel_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Submit Application", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to submit your application!", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 122, 255, 255)", + }, + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "accessibilityLabel_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Button Tests Buttons can have accessibility props 1`] = ` { - "AutomationId": "accessibility_props", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Submit Application", + "Automation Tree": { + "AutomationId": "accessibility_props", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Submit Application", + }, + ], + "ControlType": 50000, + "HelpText": "Submit Button", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to submit your application!", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 179)", }, - ], - "ControlType": 50000, - "HelpText": "Submit Button", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to submit your application!", + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "accessibility_props", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Button Tests Buttons can have accessibility states 1`] = ` { - "AutomationId": "accessibilityState_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": false, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Submit Application", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": false, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to submit your application!", + "Automation Tree": { + "AutomationId": "accessibilityState_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": false, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Submit Application", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": false, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to submit your application!", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(249, 249, 249, 77)", + }, + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "accessibilityState_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Button Tests Buttons can have custom colors 1`] = ` { - "AutomationId": "cancel_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Cancel Application", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to cancel your application!", + "Automation Tree": { + "AutomationId": "cancel_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Cancel Application", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to cancel your application!", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 59, 48, 255)", + }, + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "cancel_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Button Tests Buttons have default styling 1`] = ` { - "AutomationId": "button_default_styling", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Submit Application", + "Automation Tree": { + "AutomationId": "button_default_styling", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Submit Application", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "Press to submit your application!", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 179)", }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "Press to submit your application!", + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 4, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -1, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + -4, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 4, + -2, + 0, + ], + "Opacity": 1, + "Size": [ + 908, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + -5, + 0, + ], + "Opacity": 1, + "Size": [ + 4, + 5, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 0)", + }, + "Offset": [ + 0, + 4, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 9, + 9, + 0, + ], + "Opacity": 1, + "Size": [ + 898, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "button_default_styling", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 37, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/HomeUIADump.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/HomeUIADump.test.ts.snap index 8e4f0f7a179..3e3df5a14fd 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/HomeUIADump.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/HomeUIADump.test.ts.snap @@ -2,4682 +2,26399 @@ exports[`Home UIA Tree Dump APIs Tab 1`] = ` { - "AutomationId": "apis-tab", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "APIs", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "apis-tab", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "APIs", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(243, 248, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 151, + 13, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 27, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 153, + 33, + 0, + ], + "Opacity": 1, + "Size": [ + 27, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "apis-tab", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Accessibility 1`] = ` { - "AutomationId": "Accessibility", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Accessibility", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples of using Accessibility APIs.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Accessibility Examples of using Accessibility APIs.", + "Automation Tree": { + "AutomationId": "Accessibility", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Accessibility", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples of using Accessibility APIs.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Accessibility Examples of using Accessibility APIs.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 107, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 107, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Accessibility", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Accessibility Windows 1`] = ` { - "AutomationId": "Accessibility Windows", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Accessibility Windows", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of accessibility properties.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Accessibility Windows Usage of accessibility properties.", + "Automation Tree": { + "AutomationId": "Accessibility Windows", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Accessibility Windows", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of accessibility properties.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Accessibility Windows Usage of accessibility properties.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 194, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 194, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Accessibility Windows", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump AccessibilityInfo 1`] = ` { - "AutomationId": "AccessibilityInfo", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "AccessibilityInfo", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples of using AccessibilityInfo APIs.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "AccessibilityInfo Examples of using AccessibilityInfo APIs.", + "Automation Tree": { + "AutomationId": "AccessibilityInfo", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "AccessibilityInfo", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples of using AccessibilityInfo APIs.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "AccessibilityInfo Examples of using AccessibilityInfo APIs.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 142, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 142, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "AccessibilityInfo", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump ActivityIndicator 1`] = ` { - "AutomationId": "ActivityIndicator", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ActivityIndicator", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Animated loading indicators.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "ActivityIndicator Animated loading indicators.", + "Automation Tree": { + "AutomationId": "ActivityIndicator", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ActivityIndicator", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Animated loading indicators.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "ActivityIndicator Animated loading indicators.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 143, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 143, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "ActivityIndicator", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Alerts 1`] = ` { - "AutomationId": "Alerts", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Alerts", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Alerts display a concise and informative message and prompt the user to make a decision.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Alerts Alerts display a concise and informative message and prompt the user to make a decision.", + "Automation Tree": { + "AutomationId": "Alerts", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Alerts", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Alerts display a concise and informative message and prompt the user to make a decision.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Alerts Alerts display a concise and informative message and prompt the user to make a decision.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 51, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 51, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Alerts", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Animated - Gratuitous App 1`] = ` { - "AutomationId": "Animated - Gratuitous App", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Animated - Gratuitous App", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Bunch of Animations - tap a circle to open a view with more animations, or longPress and drag to reorder circles.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Animated - Gratuitous App Bunch of Animations - tap a circle to open a view with more animations, or longPress and drag to reorder circles.", + "Automation Tree": { + "AutomationId": "Animated - Gratuitous App", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Animated - Gratuitous App", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Bunch of Animations - tap a circle to open a view with more animations, or longPress and drag to reorder circles.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Animated - Gratuitous App Bunch of Animations - tap a circle to open a view with more animations, or longPress and drag to reorder circles.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 239, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 239, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Animated - Gratuitous App", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Animated 1`] = ` { - "AutomationId": "Animated", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Animated", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Library designed to make animations fluid, powerful, and painless to build and maintain.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Animated Library designed to make animations fluid, powerful, and painless to build and maintain.", + "Automation Tree": { + "AutomationId": "Animated", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Animated", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Library designed to make animations fluid, powerful, and painless to build and maintain.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Animated Library designed to make animations fluid, powerful, and painless to build and maintain.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 86, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 86, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Animated", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump AppState 1`] = ` { - "AutomationId": "AppState", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "AppState", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "app background status", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "AppState app background status", + "Automation Tree": { + "AutomationId": "AppState", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "AppState", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "app background status", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "AppState app background status", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 81, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 81, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "AppState", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Appearance 1`] = ` { - "AutomationId": "Appearance", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Appearance", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Light and dark user interface examples.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Appearance Light and dark user interface examples.", + "Automation Tree": { + "AutomationId": "Appearance", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Appearance", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Light and dark user interface examples.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Appearance Light and dark user interface examples.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 106, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 106, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Appearance", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Border 1`] = ` { - "AutomationId": "Border", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Border", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demonstrates some of the border styles available to Views.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Border Demonstrates some of the border styles available to Views.", + "Automation Tree": { + "AutomationId": "Border", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Border", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demonstrates some of the border styles available to Views.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Border Demonstrates some of the border styles available to Views.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 60, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 60, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Border", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Button 1`] = ` { - "AutomationId": "Button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Button", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Simple React Native button component.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Button Simple React Native button component.", + "Automation Tree": { + "AutomationId": "Button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Button", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Simple React Native button component.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Button Simple React Native button component.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 60, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 60, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Components Tab 1`] = ` { - "AutomationId": "components-tab", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Components", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "components-tab", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Components", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(243, 248, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -0, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -0, + 2, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -0, + 0, + ], + "Opacity": 1, + "Size": [ + -0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 2, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 20, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 156, + 14, + 0, + ], + "Opacity": 1, + "Size": [ + 20, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 80, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 126, + 34, + 0, + ], + "Opacity": 1, + "Size": [ + 80, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "components-tab", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 333, + 65, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Composition Bugs Example 1`] = ` { - "AutomationId": "Composition Bugs Example", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Composition Bugs Example", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "See bugs in UI.Composition driven native animations", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Composition Bugs Example See bugs in UI.Composition driven native animations", + "Automation Tree": { + "AutomationId": "Composition Bugs Example", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Composition Bugs Example", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "See bugs in UI.Composition driven native animations", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Composition Bugs Example See bugs in UI.Composition driven native animations", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 241, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 241, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Composition Bugs Example", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Crash 1`] = ` { - "AutomationId": "Crash", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Crash", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Crash examples.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Crash Crash examples.", + "Automation Tree": { + "AutomationId": "Crash", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Crash", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Crash examples.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Crash Crash examples.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Crash", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Cxx TurboModule 1`] = ` { - "AutomationId": "Cxx TurboModule", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Cxx TurboModule", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of Cxx TurboModule", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Cxx TurboModule Usage of Cxx TurboModule", + "Automation Tree": { + "AutomationId": "Cxx TurboModule", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Cxx TurboModule", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of Cxx TurboModule", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Cxx TurboModule Usage of Cxx TurboModule", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 157, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 157, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Cxx TurboModule", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump DevSettings 1`] = ` { - "AutomationId": "DevSettings", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "DevSettings", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Customize the development settings", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "DevSettings Customize the development settings", + "Automation Tree": { + "AutomationId": "DevSettings", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "DevSettings", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Customize the development settings", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "DevSettings Customize the development settings", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 106, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 106, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "DevSettings", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Dimensions 1`] = ` { - "AutomationId": "Dimensions", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Dimensions", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Dimensions of the viewport", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Dimensions Dimensions of the viewport", + "Automation Tree": { + "AutomationId": "Dimensions", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Dimensions", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Dimensions of the viewport", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Dimensions Dimensions of the viewport", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 103, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 103, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Dimensions", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Display:none Style 1`] = ` { - "AutomationId": "Display:none Style", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Display:none Style", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Style prop which will collapse the element in XAML tree.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Display:none Style Style prop which will collapse the element in XAML tree.", + "Automation Tree": { + "AutomationId": "Display:none Style", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Display:none Style", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Style prop which will collapse the element in XAML tree.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Display:none Style Style prop which will collapse the element in XAML tree.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 161, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 161, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Display:none Style", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Fast Path Texts 1`] = ` { - "AutomationId": "Fast Path Texts", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Fast Path Texts", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples of performant fast path texts, turn on IsTextPerformanceVisualizationEnabled to visualize examples", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Fast Path Texts Examples of performant fast path texts, turn on IsTextPerformanceVisualizationEnabled to visualize examples", + "Automation Tree": { + "AutomationId": "Fast Path Texts", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Fast Path Texts", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples of performant fast path texts, turn on IsTextPerformanceVisualizationEnabled to visualize examples", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Fast Path Texts Examples of performant fast path texts, turn on IsTextPerformanceVisualizationEnabled to visualize examples", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 128, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 128, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Fast Path Texts", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump FlatList 1`] = ` { - "AutomationId": "FlatList", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "FlatList", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Performant, scrollable list of data.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ListView", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "FlatList Performant, scrollable list of data.", + "Automation Tree": { + "AutomationId": "FlatList", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "FlatList", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Performant, scrollable list of data.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ListView", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "FlatList Performant, scrollable list of data.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 62, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 62, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "FlatList", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Flyout 1`] = ` { - "AutomationId": "Flyout", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Flyout", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Displays content on top of existing content, within the bounds of the application window.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Flyout Displays content on top of existing content, within the bounds of the application window.", + "Automation Tree": { + "AutomationId": "Flyout", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Flyout", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Displays content on top of existing content, within the bounds of the application window.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Flyout Displays content on top of existing content, within the bounds of the application window.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 55, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 55, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Flyout", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Glyph UWP 1`] = ` { - "AutomationId": "Glyph UWP", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Glyph UWP", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of Glyph control.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Glyph UWP Usage of Glyph control.", + "Automation Tree": { + "AutomationId": "Glyph UWP", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Glyph UWP", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of Glyph control.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Glyph UWP Usage of Glyph control.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 101, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 101, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Glyph UWP", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Image 1`] = ` { - "AutomationId": "Image", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Image", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Base component for displaying different types of images.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Image Base component for displaying different types of images.", + "Automation Tree": { + "AutomationId": "Image", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Image", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Base component for displaying different types of images.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Image Base component for displaying different types of images.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 55, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 55, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Image", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Keyboard 1`] = ` { - "AutomationId": "Keyboard", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Keyboard", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demonstrates usage of the "Keyboard" static API", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Keyboard Demonstrates usage of the "Keyboard" static API", + "Automation Tree": { + "AutomationId": "Keyboard", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Keyboard", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demonstrates usage of the "Keyboard" static API", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Keyboard Demonstrates usage of the "Keyboard" static API", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 84, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 84, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Keyboard", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Keyboard 2`] = ` { - "AutomationId": "Keyboard", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Keyboard", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demonstrates usage of the "Keyboard" static API", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Keyboard Demonstrates usage of the "Keyboard" static API", + "Automation Tree": { + "AutomationId": "Keyboard", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Keyboard", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demonstrates usage of the "Keyboard" static API", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Keyboard Demonstrates usage of the "Keyboard" static API", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 84, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 84, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Keyboard", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Keyboard Focus Example 1`] = ` { - "AutomationId": "Keyboard Focus Example", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Keyboard Focus Example", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demo of keyboard focus.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Keyboard Focus Example Demo of keyboard focus.", + "Automation Tree": { + "AutomationId": "Keyboard Focus Example", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Keyboard Focus Example", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demo of keyboard focus.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Keyboard Focus Example Demo of keyboard focus.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 220, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 220, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Keyboard Focus Example", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Keyboard extension Example 1`] = ` { - "AutomationId": "Keyboard extension Example", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Keyboard extension Example", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demo of keyboard properties.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Keyboard extension Example Demo of keyboard properties.", + "Automation Tree": { + "AutomationId": "Keyboard extension Example", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Keyboard extension Example", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demo of keyboard properties.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Keyboard extension Example Demo of keyboard properties.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 254, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 254, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Keyboard extension Example", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Layout - Flexbox 1`] = ` { - "AutomationId": "Layout - Flexbox", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Layout - Flexbox", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples of using the flexbox API to layout views.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Layout - Flexbox Examples of using the flexbox API to layout views.", + "Automation Tree": { + "AutomationId": "Layout - Flexbox", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Layout - Flexbox", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples of using the flexbox API to layout views.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Layout - Flexbox Examples of using the flexbox API to layout views.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 145, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 145, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Layout - Flexbox", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Layout Events 1`] = ` { - "AutomationId": "Layout Events", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Layout Events", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples that show how Layout events can be used to measure view size and position.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Layout Events Examples that show how Layout events can be used to measure view size and position.", + "Automation Tree": { + "AutomationId": "Layout Events", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Layout Events", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples that show how Layout events can be used to measure view size and position.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Layout Events Examples that show how Layout events can be used to measure view size and position.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 122, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 122, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Layout Events", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Legacy Native Module 1`] = ` { - "AutomationId": "Legacy Native Module", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy Native Module", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of legacy Native Module", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Legacy Native Module Usage of legacy Native Module", + "Automation Tree": { + "AutomationId": "Legacy Native Module", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy Native Module", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of legacy Native Module", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Legacy Native Module Usage of legacy Native Module", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 197, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 197, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Legacy Native Module", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacyControlStyleTest 1`] = ` { - "AutomationId": "LegacyControlStyleTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacyControlStyleTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for Control Styles", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacyControlStyleTest Legacy e2e test for Control Styles", + "Automation Tree": { + "AutomationId": "LegacyControlStyleTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacyControlStyleTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for Control Styles", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacyControlStyleTest Legacy e2e test for Control Styles", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 203, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 203, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacyControlStyleTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacyImageTest 1`] = ` { - "AutomationId": "LegacyImageTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacyImageTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for Image", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacyImageTest Legacy e2e test for Image", + "Automation Tree": { + "AutomationId": "LegacyImageTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacyImageTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for Image", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacyImageTest Legacy e2e test for Image", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 150, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 150, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacyImageTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacyLoginTest 1`] = ` { - "AutomationId": "LegacyLoginTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacyLoginTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for TextInput with password", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacyLoginTest Legacy e2e test for TextInput with password", + "Automation Tree": { + "AutomationId": "LegacyLoginTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacyLoginTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for TextInput with password", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacyLoginTest Legacy e2e test for TextInput with password", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 145, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 145, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacyLoginTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacySelectableTextTest 1`] = ` { - "AutomationId": "LegacySelectableTextTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacySelectableTextTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for selectable Text hit testing", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacySelectableTextTest Legacy e2e test for selectable Text hit testing", + "Automation Tree": { + "AutomationId": "LegacySelectableTextTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacySelectableTextTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for selectable Text hit testing", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacySelectableTextTest Legacy e2e test for selectable Text hit testing", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 220, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 220, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacySelectableTextTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacyTextHitTestTest 1`] = ` { - "AutomationId": "LegacyTextHitTestTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacyTextHitTestTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for Text hit testing", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacyTextHitTestTest Legacy e2e test for Text hit testing", + "Automation Tree": { + "AutomationId": "LegacyTextHitTestTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacyTextHitTestTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for Text hit testing", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacyTextHitTestTest Legacy e2e test for Text hit testing", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 190, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 190, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacyTextHitTestTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump LegacyTextInputTest 1`] = ` { - "AutomationId": "LegacyTextInputTest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "LegacyTextInputTest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Legacy e2e test for TextInput", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "LegacyTextInputTest Legacy e2e test for TextInput", + "Automation Tree": { + "AutomationId": "LegacyTextInputTest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "LegacyTextInputTest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Legacy e2e test for TextInput", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "LegacyTextInputTest Legacy e2e test for TextInput", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 177, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 177, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "LegacyTextInputTest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Linking 1`] = ` { - "AutomationId": "Linking", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Linking", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Shows how to use Linking to open URLs.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Linking Shows how to use Linking to open URLs.", + "Automation Tree": { + "AutomationId": "Linking", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Linking", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Shows how to use Linking to open URLs.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Linking Shows how to use Linking to open URLs.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 64, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 64, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Linking", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Mouse Click Events 1`] = ` { - "AutomationId": "Mouse Click Events", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Mouse Click Events", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Tests that mouse click events work on intended components", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Mouse Click Events Tests that mouse click events work on intended components", + "Automation Tree": { + "AutomationId": "Mouse Click Events", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Mouse Click Events", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Tests that mouse click events work on intended components", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Mouse Click Events Tests that mouse click events work on intended components", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 169, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 169, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Mouse Click Events", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Mouse Events 1`] = ` { - "AutomationId": "Mouse Events", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Mouse Events", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Tests that mouse events can be observed", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Mouse Events Tests that mouse events can be observed", + "Automation Tree": { + "AutomationId": "Mouse Events", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Mouse Events", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Tests that mouse events can be observed", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Mouse Events Tests that mouse events can be observed", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 123, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 123, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Mouse Events", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Native Animated Example 1`] = ` { - "AutomationId": "Native Animated Example", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Native Animated Example", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Test out Native Animations", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Native Animated Example Test out Native Animations", + "Automation Tree": { + "AutomationId": "Native Animated Example", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Native Animated Example", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Test out Native Animations", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Native Animated Example Test out Native Animations", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 227, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 227, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Native Animated Example", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump New App Screen 1`] = ` { - "AutomationId": "New App Screen", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "New App Screen", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Displays the content of the new app screen", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "New App Screen Displays the content of the new app screen", + "Automation Tree": { + "AutomationId": "New App Screen", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "New App Screen", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Displays the content of the new app screen", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "New App Screen Displays the content of the new app screen", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 147, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 147, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "New App Screen", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump PanResponder Sample 1`] = ` { - "AutomationId": "PanResponder Sample", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "PanResponder Sample", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Shows the Use of PanResponder to provide basic gesture handling", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "PanResponder Sample Shows the Use of PanResponder to provide basic gesture handling", + "Automation Tree": { + "AutomationId": "PanResponder Sample", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "PanResponder Sample", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Shows the Use of PanResponder to provide basic gesture handling", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "PanResponder Sample Shows the Use of PanResponder to provide basic gesture handling", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 197, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 197, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "PanResponder Sample", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Performance API Examples 1`] = ` { - "AutomationId": "Performance API Examples", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Performance API Examples", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Shows the performance API provided in React Native", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Performance API Examples Shows the performance API provided in React Native", + "Automation Tree": { + "AutomationId": "Performance API Examples", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Performance API Examples", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Shows the performance API provided in React Native", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Performance API Examples Shows the performance API provided in React Native", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 234, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 234, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Performance API Examples", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Performance Comparison Examples 1`] = ` { - "AutomationId": "Performance Comparison Examples", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Performance Comparison Examples", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Compare performance with bad and good examples. Use React DevTools to highlight re-renders is recommended.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Performance Comparison Examples Compare performance with bad and good examples. Use React DevTools to highlight re-renders is recommended.", + "Automation Tree": { + "AutomationId": "Performance Comparison Examples", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Performance Comparison Examples", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Compare performance with bad and good examples. Use React DevTools to highlight re-renders is recommended.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Performance Comparison Examples Compare performance with bad and good examples. Use React DevTools to highlight re-renders is recommended.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 312, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 312, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Performance Comparison Examples", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump PlatformColor 1`] = ` { - "AutomationId": "PlatformColor", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "PlatformColor", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples that show how PlatformColors may be used in an app.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "PlatformColor Examples that show how PlatformColors may be used in an app.", + "Automation Tree": { + "AutomationId": "PlatformColor", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "PlatformColor", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples that show how PlatformColors may be used in an app.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "PlatformColor Examples that show how PlatformColors may be used in an app.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 123, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 123, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "PlatformColor", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Pointer Events 1`] = ` { - "AutomationId": "Pointer Events", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Pointer Events", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demonstrates the use of the pointerEvents prop of a View to control how touches should be handled.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Pointer Events Demonstrates the use of the pointerEvents prop of a View to control how touches should be handled.", + "Automation Tree": { + "AutomationId": "Pointer Events", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Pointer Events", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demonstrates the use of the pointerEvents prop of a View to control how touches should be handled.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Pointer Events Demonstrates the use of the pointerEvents prop of a View to control how touches should be handled.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 125, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 125, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Pointer Events", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Popup 1`] = ` { - "AutomationId": "Popup", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Popup", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Displays content on top of existing content, within the bounds of the application window.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Popup Displays content on top of existing content, within the bounds of the application window.", + "Automation Tree": { + "AutomationId": "Popup", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Popup", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Displays content on top of existing content, within the bounds of the application window.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Popup Displays content on top of existing content, within the bounds of the application window.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 58, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 58, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Popup", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Pressable 1`] = ` { - "AutomationId": "Pressable", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Pressable", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Component for making views pressable.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Pressable Component for making views pressable.", + "Automation Tree": { + "AutomationId": "Pressable", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Pressable", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Component for making views pressable.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Pressable Component for making views pressable.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 83, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 83, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Pressable", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump RTLExample 1`] = ` { - "AutomationId": "RTLExample", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "RTLExample", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Examples to show how to apply components to RTL layout.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "RTLExample Examples to show how to apply components to RTL layout.", + "Automation Tree": { + "AutomationId": "RTLExample", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "RTLExample", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Examples to show how to apply components to RTL layout.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "RTLExample Examples to show how to apply components to RTL layout.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 105, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 105, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "RTLExample", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump ScrollView 1`] = ` { - "AutomationId": "ScrollView", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ScrollView", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Component that enables scrolling through child components", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "ScrollView Component that enables scrolling through child components", + "Automation Tree": { + "AutomationId": "ScrollView", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ScrollView", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Component that enables scrolling through child components", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "ScrollView Component that enables scrolling through child components", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 91, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 91, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "ScrollView", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump ScrollViewAnimated 1`] = ` { - "AutomationId": "ScrollViewAnimated", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ScrollViewAnimated", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Component that is animated when ScrollView is offset.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "ScrollViewAnimated Component that is animated when ScrollView is offset.", + "Automation Tree": { + "AutomationId": "ScrollViewAnimated", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ScrollViewAnimated", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Component that is animated when ScrollView is offset.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "ScrollViewAnimated Component that is animated when ScrollView is offset.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 176, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 176, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "ScrollViewAnimated", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump ScrollViewSimpleExample 1`] = ` { - "AutomationId": "ScrollViewSimpleExample", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ScrollViewSimpleExample", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Component that enables scrolling through child components.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "ScrollViewSimpleExample Component that enables scrolling through child components.", + "Automation Tree": { + "AutomationId": "ScrollViewSimpleExample", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ScrollViewSimpleExample", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Component that enables scrolling through child components.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "ScrollViewSimpleExample Component that enables scrolling through child components.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 224, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 224, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "ScrollViewSimpleExample", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Search Bar 1`] = ` { - "AutomationId": "explorer_search", - "ControlType": 50004, - "HelpText": "Search...", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "Search...", + "Automation Tree": { + "AutomationId": "explorer_search", + "ControlType": 50004, + "HelpText": "Search...", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "Search...", + }, + "Visual Tree": { + "Children": [ + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 7, + 7, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + 7, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 924, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + -7, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 7, + 7, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + -1, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 21, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + -7, + -7, + 0, + ], + "Opacity": 1, + "Size": [ + 7, + 7, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + 7, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 924, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + 0, + -7, + 0, + ], + "Opacity": 1, + "Size": [ + 7, + 7, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(60, 60, 67, 45)", + }, + "Offset": [ + 0, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 21, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "explorer_search", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 35, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump SectionList 1`] = ` { - "AutomationId": "SectionList", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "SectionList", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Performant, scrollable list of data.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "ListView", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "SectionList Performant, scrollable list of data.", + "Automation Tree": { + "AutomationId": "SectionList", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "SectionList", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Performant, scrollable list of data.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "ListView", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "SectionList Performant, scrollable list of data.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 95, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 95, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "SectionList", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Share 1`] = ` { - "AutomationId": "Share", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Share", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Share data with other Apps.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Share Share data with other Apps.", + "Automation Tree": { + "AutomationId": "Share", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Share", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Share data with other Apps.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Share Share data with other Apps.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Share", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump SwipeableCard 1`] = ` { - "AutomationId": "SwipeableCard", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "SwipeableCard", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Example of a swipeable card with scrollable content to test PanResponder and JSResponderHandler interaction.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "SwipeableCard Example of a swipeable card with scrollable content to test PanResponder and JSResponderHandler interaction.", + "Automation Tree": { + "AutomationId": "SwipeableCard", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "SwipeableCard", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Example of a swipeable card with scrollable content to test PanResponder and JSResponderHandler interaction.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "SwipeableCard Example of a swipeable card with scrollable content to test PanResponder and JSResponderHandler interaction.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 131, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 131, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "SwipeableCard", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Switch 1`] = ` { - "AutomationId": "Switch", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Switch", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Native boolean input", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Switch Native boolean input", + "Automation Tree": { + "AutomationId": "Switch", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Switch", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Native boolean input", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Switch Native boolean input", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 57, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 57, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Switch", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Text 1`] = ` { - "AutomationId": "Text", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Text", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Base component for rendering styled text.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Text Base component for rendering styled text.", + "Automation Tree": { + "AutomationId": "Text", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Text", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Base component for rendering styled text.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Text Base component for rendering styled text.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 35, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 35, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Text", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump TextInput 1`] = ` { - "AutomationId": "TextInput", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "TextInput", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Single and multi-line text inputs.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "TextInput Single and multi-line text inputs.", + "Automation Tree": { + "AutomationId": "TextInput", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "TextInput", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Single and multi-line text inputs.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "TextInput Single and multi-line text inputs.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 82, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 82, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "TextInput", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump TextInputs with key prop 1`] = ` { - "AutomationId": "TextInputs with key prop", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "TextInputs with key prop", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Periodically render large number of TextInputs with key prop without a Runtime Error", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Other", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "TextInputs with key prop Periodically render large number of TextInputs with key prop without a Runtime Error", + "Automation Tree": { + "AutomationId": "TextInputs with key prop", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "TextInputs with key prop", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Periodically render large number of TextInputs with key prop without a Runtime Error", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Other", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "TextInputs with key prop Periodically render large number of TextInputs with key prop without a Runtime Error", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 217, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 217, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "TextInputs with key prop", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Timers 1`] = ` { - "AutomationId": "Timers", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Timers", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "A demonstration of Timers in React Native.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Timers A demonstration of Timers in React Native.", + "Automation Tree": { + "AutomationId": "Timers", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Timers", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "A demonstration of Timers in React Native.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Timers A demonstration of Timers in React Native.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 59, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 59, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Timers", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Touchable* and onPress 1`] = ` { - "AutomationId": "Touchable* and onPress", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Touchable* and onPress", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Touchable and onPress examples.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Touchable* and onPress Touchable and onPress examples.", + "Automation Tree": { + "AutomationId": "Touchable* and onPress", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Touchable* and onPress", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Touchable and onPress examples.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Touchable* and onPress Touchable and onPress examples.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 211, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 211, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Touchable* and onPress", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump TransferProperties 1`] = ` { - "AutomationId": "TransferProperties", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "TransferProperties", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Some tests that change the backing XAML element to see if transfer properties is working.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "TransferProperties Some tests that change the backing XAML element to see if transfer properties is working.", + "Automation Tree": { + "AutomationId": "TransferProperties", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "TransferProperties", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Some tests that change the backing XAML element to see if transfer properties is working.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "TransferProperties Some tests that change the backing XAML element to see if transfer properties is working.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 159, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 159, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "TransferProperties", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump Transforms 1`] = ` { - "AutomationId": "Transforms", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Transforms", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "View transforms", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "Transforms View transforms", + "Automation Tree": { + "AutomationId": "Transforms", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Transforms", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "View transforms", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "Transforms View transforms", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 97, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 97, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "Transforms", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump TransparentHitTestExample 1`] = ` { - "AutomationId": "TransparentHitTestExample", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "TransparentHitTestExample", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Transparent view receiving touch events", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "TransparentHitTestExample Transparent view receiving touch events", + "Automation Tree": { + "AutomationId": "TransparentHitTestExample", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "TransparentHitTestExample", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Transparent view receiving touch events", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "TransparentHitTestExample Transparent view receiving touch events", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 237, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 237, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "TransparentHitTestExample", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump TurboModule 1`] = ` { - "AutomationId": "TurboModule", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "TurboModule", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of TurboModule", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "TurboModule Usage of TurboModule", + "Automation Tree": { + "AutomationId": "TurboModule", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "TurboModule", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of TurboModule", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "TurboModule Usage of TurboModule", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 121, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 121, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "TurboModule", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump View 1`] = ` { - "AutomationId": "View", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "View", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic building block of all UI, examples that demonstrate some of the many styles available.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "View Basic building block of all UI, examples that demonstrate some of the many styles available.", + "Automation Tree": { + "AutomationId": "View", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "View", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic building block of all UI, examples that demonstrate some of the many styles available.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "View Basic building block of all UI, examples that demonstrate some of the many styles available.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 43, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 43, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "View", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump WebSocket 1`] = ` { - "AutomationId": "WebSocket", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "WebSocket", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "WebSocket API", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "WebSocket WebSocket API", + "Automation Tree": { + "AutomationId": "WebSocket", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "WebSocket", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "WebSocket API", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "WebSocket WebSocket API", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 99, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 99, + 27, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "WebSocket", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump XAML 1`] = ` { - "AutomationId": "XAML", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "XAML", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Usage of react-native-xaml controls", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "UI", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "XAML Usage of react-native-xaml controls", + "Automation Tree": { + "AutomationId": "XAML", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "XAML", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Usage of react-native-xaml controls", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "UI", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "XAML Usage of react-native-xaml controls", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 53, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 53, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "XAML", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 100, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Home UIA Tree Dump XMLHttpRequest 1`] = ` { - "AutomationId": "XMLHttpRequest", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "XMLHttpRequest", - }, - { - "AutomationId": "", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Example that demonstrates upload and download requests using XMLHttpRequest.", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Basic", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "iOS", - }, - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Android", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "XMLHttpRequest Example that demonstrates upload and download requests using XMLHttpRequest.", + "Automation Tree": { + "AutomationId": "XMLHttpRequest", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "XMLHttpRequest", + }, + { + "AutomationId": "", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Example that demonstrates upload and download requests using XMLHttpRequest.", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Basic", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "iOS", + }, + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Android", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "XMLHttpRequest Example that demonstrates upload and download requests using XMLHttpRequest.", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 255, 255, 255)", + }, + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 150, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 12, + 0, + ], + "Opacity": 1, + "Size": [ + 150, + 28, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 3, + 3, + 0, + ], + "Opacity": 1, + "Size": [ + 25, + 25, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 923, + 7, + 0, + ], + "Opacity": 1, + "Size": [ + 30, + 30, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 43, + 0, + ], + "Opacity": 1, + "Size": [ + 938, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 15, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 65, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 853, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 22, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 901, + 69, + 0, + ], + "Opacity": 1, + "Size": [ + 52, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "XMLHttpRequest", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 968, + 99, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/PressableComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/PressableComponentTest.test.ts.snap index 38718da82fd..068e7dc977d 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/PressableComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/PressableComponentTest.test.ts.snap @@ -2,81 +2,278 @@ exports[`Pressable Tests Pressables can change text on press/rest, state rest 1`] = ` { - "AutomationId": "pressable_press_console", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "", + "Automation Tree": { + "AutomationId": "pressable_press_console", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "", + }, + "Visual Tree": { + "Comment": "pressable_press_console", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 854, + 20, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Pressable Tests Pressables can have delayed event handlers 1`] = ` { - "AutomationId": "pressable_delay_events_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Me", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "pressable_delay_events_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Me", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "pressable_delay_events_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Pressable Tests Pressables can have event handlers 1`] = ` { - "AutomationId": "pressable_feedback_events_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Me", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "pressable feedback events", + "Automation Tree": { + "AutomationId": "pressable_feedback_events_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Me", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "pressable feedback events", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "pressable_feedback_events_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 18, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Pressable Tests Pressables can have hit slop functionality 1`] = ` { - "AutomationId": "pressable_hit_slop_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Outside This View", + "Automation Tree": { + "AutomationId": "pressable_hit_slop_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Outside This View", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 0, 0, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "pressable_hit_slop_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 18, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/ScrollViewComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/ScrollViewComponentTest.test.ts.snap index 03c97c911d9..9a5abe030f3 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/ScrollViewComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/ScrollViewComponentTest.test.ts.snap @@ -2,115 +2,430 @@ exports[`ScrollView Tests ScrollView has scrollTo method, scroll to bottom button 1`] = ` { - "AutomationId": "scroll_to_bottom_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Scroll to bottom", + "Automation Tree": { + "AutomationId": "scroll_to_bottom_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Scroll to bottom", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(204, 204, 204, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 102, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 402, + 5, + 0, + ], + "Opacity": 1, + "Size": [ + 102, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "scroll_to_bottom_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 906, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`ScrollView Tests ScrollView has scrollTo method, scroll to end button 1`] = ` { - "AutomationId": "scroll_to_end_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Scroll to end", + "Automation Tree": { + "AutomationId": "scroll_to_end_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Scroll to end", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(204, 204, 204, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 78, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 414, + 5, + 0, + ], + "Opacity": 1, + "Size": [ + 78, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "scroll_to_end_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 906, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`ScrollView Tests ScrollView has scrollTo method, scroll to start button 1`] = ` { - "AutomationId": "scroll_to_start_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Scroll to start", + "Automation Tree": { + "AutomationId": "scroll_to_start_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Scroll to start", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(204, 204, 204, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 82, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 412, + 5, + 0, + ], + "Opacity": 1, + "Size": [ + 82, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "scroll_to_start_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 906, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`ScrollView Tests ScrollView has scrollTo method, scroll to top button 1`] = ` { - "AutomationId": "scroll_to_top_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Scroll to top", + "Automation Tree": { + "AutomationId": "scroll_to_top_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Scroll to top", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(204, 204, 204, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 76, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 415, + 5, + 0, + ], + "Opacity": 1, + "Size": [ + 76, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "scroll_to_top_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 906, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`ScrollView Tests ScrollViews has flash scroll indicators 1`] = ` { - "AutomationId": "flash_scroll_indicators_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Flash scroll indicators", + "Automation Tree": { + "AutomationId": "flash_scroll_indicators_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Flash scroll indicators", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(204, 204, 204, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 132, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 387, + 5, + 0, + ], + "Opacity": 1, + "Size": [ + 132, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "flash_scroll_indicators_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 906, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/TextComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/TextComponentTest.test.ts.snap index 0cd13fcf200..d2d1750af5f 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/TextComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/TextComponentTest.test.ts.snap @@ -2,132 +2,308 @@ exports[`Text Tests Padding can be added to Text 1`] = ` { - "AutomationId": "text-padding", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "This text is indented by 10px padding on all sides.", + "Automation Tree": { + "AutomationId": "text-padding", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "This text is indented by 10px padding on all sides.", + }, + "Visual Tree": { + "Comment": "text-padding", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 39, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can be restricted to one line 1`] = ` { - "AutomationId": "text-one-line", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Maximum of one line no matter now much I write here. If I keep writing it'll just truncate after one line. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dapibus felis eget augue condimentum suscipit. Suspendisse hendrerit, libero aliquet malesuada tempor, urna nibh consectetur tellus, vitae efficitur quam erat non mi. Maecenas vitae eros sit amet quam vestibulum porta sed sit amet tellus. Fusce quis lectus congue, fringilla arcu id, luctus urna. Cras sagittis ornare mauris sit amet dictum. Vestibulum feugiat laoreet fringilla. Vivamus ac diam vehicula felis venenatis sagittis vitae ultrices elit. Curabitur libero augue, laoreet quis orci vitae, congue euismod massa. Aenean nec odio sed urna vehicula fermentum non a magna. Quisque ut commodo neque, eget eleifend odio. Sed sit amet lacinia sem. Suspendisse in metus in purus scelerisque vestibulum. Nam metus dui, efficitur nec metus non, tincidunt pharetra sapien. Praesent id convallis metus, ut malesuada arcu. Quisque quam libero, pharetra eu tellus ac, aliquam fringilla erat. Quisque tempus in lorem ac suscipit.", + "Automation Tree": { + "AutomationId": "text-one-line", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Maximum of one line no matter now much I write here. If I keep writing it'll just truncate after one line. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dapibus felis eget augue condimentum suscipit. Suspendisse hendrerit, libero aliquet malesuada tempor, urna nibh consectetur tellus, vitae efficitur quam erat non mi. Maecenas vitae eros sit amet quam vestibulum porta sed sit amet tellus. Fusce quis lectus congue, fringilla arcu id, luctus urna. Cras sagittis ornare mauris sit amet dictum. Vestibulum feugiat laoreet fringilla. Vivamus ac diam vehicula felis venenatis sagittis vitae ultrices elit. Curabitur libero augue, laoreet quis orci vitae, congue euismod massa. Aenean nec odio sed urna vehicula fermentum non a magna. Quisque ut commodo neque, eget eleifend odio. Sed sit amet lacinia sem. Suspendisse in metus in purus scelerisque vestibulum. Nam metus dui, efficitur nec metus non, tincidunt pharetra sapien. Praesent id convallis metus, ut malesuada arcu. Quisque quam libero, pharetra eu tellus ac, aliquam fringilla erat. Quisque tempus in lorem ac suscipit.", + }, + "Visual Tree": { + "Comment": "text-one-line", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can be selectable 1`] = ` { - "AutomationId": "text-selectable", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "This text is selectable if you click-and-hold, and will offer the native Android selection menus.", + "Automation Tree": { + "AutomationId": "text-selectable", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "This text is selectable if you click-and-hold, and will offer the native Android selection menus.", + }, + "Visual Tree": { + "Comment": "text-selectable", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have a color 1`] = ` { - "AutomationId": "text-color", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Red color", + "Automation Tree": { + "AutomationId": "text-color", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Red color", + }, + "Visual Tree": { + "Comment": "text-color", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have a customized selection color 1`] = ` { - "AutomationId": "text-selection-color", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "This text will have a orange highlight on selection.", + "Automation Tree": { + "AutomationId": "text-selection-color", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "This text will have a orange highlight on selection.", + }, + "Visual Tree": { + "Comment": "text-selection-color", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 20, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have a size 1`] = ` { - "AutomationId": "text-size", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Size 23", + "Automation Tree": { + "AutomationId": "text-size", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Size 23", + }, + "Visual Tree": { + "Comment": "text-size", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 32, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have an outer color 1`] = ` { - "AutomationId": "text-outer-color", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "(Normal text,(R)red(G)green(B)blue(C)cyan(M)magenta(Y)yellow(K)black(and bold(and tiny bold italic blue(and tiny normal blue))))", + "Automation Tree": { + "AutomationId": "text-outer-color", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "(Normal text,(R)red(G)green(B)blue(C)cyan(M)magenta(Y)yellow(K)black(and bold(and tiny bold italic blue(and tiny normal blue))))", + }, + "Visual Tree": { + "Comment": "text-outer-color", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have decoration lines: Solid Line Through 1`] = ` { - "AutomationId": "text-decoration-solid-linethru", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Solid line-through", + "Automation Tree": { + "AutomationId": "text-decoration-solid-linethru", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Solid line-through", + }, + "Visual Tree": { + "Comment": "text-decoration-solid-linethru", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 20, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have decoration lines: Underline 1`] = ` { - "AutomationId": "text-decoration-underline", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Solid underline", + "Automation Tree": { + "AutomationId": "text-decoration-underline", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Solid underline", + }, + "Visual Tree": { + "Comment": "text-decoration-underline", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can have shadows 1`] = ` { - "AutomationId": "text-shadow", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Demo text shadow", + "Automation Tree": { + "AutomationId": "text-shadow", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Demo text shadow", + }, + "Visual Tree": { + "Comment": "text-shadow", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Text Tests Text can wrap 1`] = ` { - "AutomationId": "text-wrap", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "The text should wrap if it goes on multiple lines. See, this is going to the next line. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dapibus felis eget augue condimentum suscipit. Suspendisse hendrerit, libero aliquet malesuada tempor, urna nibh consectetur tellus, vitae efficitur quam erat non mi. Maecenas vitae eros sit amet quam vestibulum porta sed sit amet tellus. Fusce quis lectus congue, fringilla arcu id, luctus urna. Cras sagittis ornare mauris sit amet dictum. Vestibulum feugiat laoreet fringilla. Vivamus ac diam vehicula felis venenatis sagittis vitae ultrices elit. Curabitur libero augue, laoreet quis orci vitae, congue euismod massa. Aenean nec odio sed urna vehicula fermentum non a magna. Quisque ut commodo neque, eget eleifend odio. Sed sit amet lacinia sem. Suspendisse in metus in purus scelerisque vestibulum. Nam metus dui, efficitur nec metus non, tincidunt pharetra sapien. Praesent id convallis metus, ut malesuada arcu. Quisque quam libero, pharetra eu tellus ac, aliquam fringilla erat. Quisque tempus in lorem ac suscipit.", + "Automation Tree": { + "AutomationId": "text-wrap", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "The text should wrap if it goes on multiple lines. See, this is going to the next line. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed dapibus felis eget augue condimentum suscipit. Suspendisse hendrerit, libero aliquet malesuada tempor, urna nibh consectetur tellus, vitae efficitur quam erat non mi. Maecenas vitae eros sit amet quam vestibulum porta sed sit amet tellus. Fusce quis lectus congue, fringilla arcu id, luctus urna. Cras sagittis ornare mauris sit amet dictum. Vestibulum feugiat laoreet fringilla. Vivamus ac diam vehicula felis venenatis sagittis vitae ultrices elit. Curabitur libero augue, laoreet quis orci vitae, congue euismod massa. Aenean nec odio sed urna vehicula fermentum non a magna. Quisque ut commodo neque, eget eleifend odio. Sed sit amet lacinia sem. Suspendisse in metus in purus scelerisque vestibulum. Nam metus dui, efficitur nec metus non, tincidunt pharetra sapien. Praesent id convallis metus, ut malesuada arcu. Quisque quam libero, pharetra eu tellus ac, aliquam fringilla erat. Quisque tempus in lorem ac suscipit.", + }, + "Visual Tree": { + "Comment": "text-wrap", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 150, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/TextInputComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/TextInputComponentTest.test.ts.snap index 662443b02e2..27fc30223d6 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/TextInputComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/TextInputComponentTest.test.ts.snap @@ -2,276 +2,3473 @@ exports[`TextInput Tests Multi-line TextInputs can enable text selection (Imperative) 1`] = ` { - "AutomationId": "multilineImperative-text-input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "multilineImperative-text-input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "multilineImperative-text-input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 50, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests Multi-line TextInputs can enable text selection 1`] = ` { - "AutomationId": "multiline-text-input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "multiline-text-input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "multiline-text-input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 50, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests Single-line TextInputs can enable text selection (Imperative) 1`] = ` { - "AutomationId": "singlelineImperative-text-input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "singlelineImperative-text-input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "singlelineImperative-text-input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests Single-line TextInputs can enable text selection 1`] = ` { - "AutomationId": "singleline-text-input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "singleline-text-input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "singleline-text-input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can autocapitalize: Autocapitalize Characters 1`] = ` { - "AutomationId": "capitalize-characters", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "capitalize-characters", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "capitalize-characters", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can autocapitalize: Autocapitalize Sentences 1`] = ` { - "AutomationId": "capitalize-sentences", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "capitalize-sentences", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "capitalize-sentences", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can autocapitalize: Autocapitalize Turned Off 1`] = ` { - "AutomationId": "capitalize-none", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "capitalize-none", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "capitalize-none", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can autocapitalize: Autocapitalize Words 1`] = ` { - "AutomationId": "capitalize-words", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "capitalize-words", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "capitalize-words", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a background color 1`] = ` { - "AutomationId": "style-backgroundColor", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-backgroundColor", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-backgroundColor", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a color 1`] = ` { - "AutomationId": "style-color", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-color", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-color", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a font family 1`] = ` { - "AutomationId": "style-fontFamily", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-fontFamily", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-fontFamily", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a font size 1`] = ` { - "AutomationId": "style-fontSize", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-fontSize", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-fontSize", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 35, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a font style 1`] = ` { - "AutomationId": "style-fontStyle", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-fontStyle", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-fontStyle", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have a font weight 1`] = ` { - "AutomationId": "style-fontWeight", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-fontWeight", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-fontWeight", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have attributed text 1`] = ` { - "AutomationId": "text-input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "text-input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "text-input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 50, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have customized letter spacing 1`] = ` { - "AutomationId": "style-letterSpacing", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-letterSpacing", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-letterSpacing", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have customized line height 1`] = ` { - "AutomationId": "style-lineHeight", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-lineHeight", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-lineHeight", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 26, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have text decoration lines 1`] = ` { - "AutomationId": "style-textDecorationLine", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-textDecorationLine", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-textDecorationLine", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can have text shadows 1`] = ` { - "AutomationId": "style-textShadow", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "style-textShadow", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "style-textShadow", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 791, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can rewrite characters: Replace Space with Clear 1`] = ` { - "AutomationId": "rewrite_clear_input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "rewrite_clear_input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "rewrite_clear_input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 867, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can rewrite characters: Replace Space with No Character 1`] = ` { - "AutomationId": "rewrite_no_sp_input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "rewrite_no_sp_input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "rewrite_no_sp_input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests TextInputs can rewrite characters: Replace Space with Underscore 1`] = ` { - "AutomationId": "rewrite_sp_underscore_input", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "rewrite_sp_underscore_input", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "rewrite_sp_underscore_input", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 892, + 29, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`TextInput Tests Uncontrolled TextInput 1`] = ` { - "AutomationId": "uncontrolled-textinput", - "ControlType": 50004, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "edit", - "Name": "", + "Automation Tree": { + "AutomationId": "uncontrolled-textinput", + "ControlType": 50004, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "edit", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + -1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 1, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + -2, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + -1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + 1, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 1, + 0, + ], + "Opacity": 1, + "Size": [ + 1, + -2, + ], + "Visual Type": "SpriteVisual", + }, + { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(0, 0, 0, 255)", + }, + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 0, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "uncontrolled-textinput", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 28, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/__snapshots__/TouchableComponentTest.test.ts.snap b/packages/e2e-test-app-fabric/test/__snapshots__/TouchableComponentTest.test.ts.snap index bdc7cb9faf3..9be9ffb8363 100644 --- a/packages/e2e-test-app-fabric/test/__snapshots__/TouchableComponentTest.test.ts.snap +++ b/packages/e2e-test-app-fabric/test/__snapshots__/TouchableComponentTest.test.ts.snap @@ -2,139 +2,513 @@ exports[`Touchable Tests Text components can be tappable 1`] = ` { - "AutomationId": "tappable_text", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Text has built-in onPress handling", + "Automation Tree": { + "AutomationId": "tappable_text", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Text has built-in onPress handling", + }, + "Visual Tree": { + "Comment": "tappable_text", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 20, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests TouchableWithoutFeedback components should not give visual feedback 1`] = ` { - "AutomationId": "touchable_without_feedback_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Tap Here For No Feedback!", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "touchable_without_feedback_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Tap Here For No Feedback!", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 904, + 22, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 6, + 6, + 0, + ], + "Opacity": 1, + "Size": [ + 904, + 22, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_without_feedback_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 916, + 33, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests Touchables can contain a Text component 1`] = ` { - "AutomationId": "touchable_highlight_text_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Tap Here For Custom Highlight!", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "touchable_highlight_text_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Tap Here For Custom Highlight!", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 224, + 22, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 6, + 6, + 0, + ], + "Opacity": 1, + "Size": [ + 224, + 22, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_highlight_text_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 234, + 50, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests Touchables can contain an Image component 1`] = ` { - "AutomationId": "touchable_highlight_image_button", - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "touchable_highlight_image_button", + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 50, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 50, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_highlight_image_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 50, + 50, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests Touchables can delay events 1`] = ` { - "AutomationId": "touchable_delay_events_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Me", - }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Automation Tree": { + "AutomationId": "touchable_delay_events_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Me", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_delay_events_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 19, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests Touchables can enable a hit slop region 1`] = ` { - "AutomationId": "touchable_hit_slop_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Outside This View", + "Automation Tree": { + "AutomationId": "touchable_hit_slop_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Outside This View", + }, + ], + "ControlType": 50026, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "group", + "Name": "", + }, + "Visual Tree": { + "Brush": { + "Brush Type": "ColorBrush", + "Color": "rgba(255, 0, 0, 255)", }, - ], - "ControlType": 50026, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "group", - "Name": "", + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_hit_slop_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 146, + 18, + ], + "Visual Type": "SpriteVisual", + }, } `; exports[`Touchable Tests Touchables can register feedback events 1`] = ` { - "AutomationId": "touchable_feedback_events_button", - "Children": [ - { - "AutomationId": "", - "ControlType": 50020, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": false, - "LocalizedControlType": "text", - "Name": "Press Me", - }, - ], - "ControlType": 50000, - "HelpText": "", - "IsEnabled": true, - "IsKeyboardFocusable": true, - "LocalizedControlType": "button", - "Name": "touchable feedback events", + "Automation Tree": { + "AutomationId": "touchable_feedback_events_button", + "Children": [ + { + "AutomationId": "", + "ControlType": 50020, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": false, + "LocalizedControlType": "text", + "Name": "Press Me", + }, + ], + "ControlType": 50000, + "HelpText": "", + "IsEnabled": true, + "IsKeyboardFocusable": true, + "LocalizedControlType": "button", + "Name": "touchable feedback events", + }, + "Visual Tree": { + "Children": [ + { + "Children": [ + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 20, + ], + "Visual Type": "SpriteVisual", + }, + { + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 0, + 0, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 20, + ], + "Visual Type": "SpriteVisual", + }, + ], + "Comment": "touchable_feedback_events_button", + "Offset": [ + 0, + 0, + 0, + ], + "Opacity": 1, + "Size": [ + 56, + 18, + ], + "Visual Type": "SpriteVisual", + }, } `; diff --git a/packages/e2e-test-app-fabric/test/visitAllPages.test.ts b/packages/e2e-test-app-fabric/test/visitAllPages.test.ts index 8a2e31c1c1f..a53c4d6b121 100644 --- a/packages/e2e-test-app-fabric/test/visitAllPages.test.ts +++ b/packages/e2e-test-app-fabric/test/visitAllPages.test.ts @@ -11,6 +11,7 @@ import {app} from '@react-native-windows/automation'; beforeAll(async () => { // If window is partially offscreen, tests will fail to click on certain elements await app.setWindowPosition(0, 0); + await app.setWindowSize(1000, 1250); }); afterEach(async () => { diff --git a/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp b/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp index 9684de1560b..721d6dc60e8 100644 --- a/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp +++ b/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp @@ -60,6 +60,7 @@ constexpr PCWSTR appName = L"RNTesterApp"; std::vector g_Errors; std::vector g_Warnings; HWND global_hwnd; +winrt::Microsoft::ReactNative::CompositionRootView *global_rootView{nullptr}; // Forward declarations of functions included in this code module: winrt::Windows::Data::Json::JsonObject ListErrors(winrt::Windows::Data::Json::JsonValue payload); @@ -151,7 +152,6 @@ _Use_decl_annotations_ int CALLBACK WinMain(HINSTANCE instance, HINSTANCE, PSTR global_hwnd = hwnd; auto scaleFactor = ScaleFactor(hwnd); - global_hwnd = hwnd; auto host = CreateReactNativeHost(hwnd, compositor); // Start the react-native instance, which will create a JavaScript runtime and load the applications bundle @@ -204,6 +204,7 @@ _Use_decl_annotations_ int CALLBACK WinMain(HINSTANCE instance, HINSTANCE, PSTR winrt::AutomationChannel::CommandHandler handler; handler.BindOperation(L"DumpVisualTree", DumpVisualTree); handler.BindOperation(L"ListErrors", ListErrors); + global_rootView = &rootView; auto server = winrt::AutomationChannel::Server(handler); auto asyncAction = LoopServer(server); @@ -243,7 +244,9 @@ winrt::Windows::Data::Json::JsonObject ListErrors(winrt::Windows::Data::Json::Js return result; } -winrt::Windows::Data::Json::JsonObject DumpUIATree(IUIAutomationElement *pTarget, IUIAutomationTreeWalker *pWalker) { +winrt::Windows::Data::Json::JsonObject DumpUIATreeRecurse( + IUIAutomationElement *pTarget, + IUIAutomationTreeWalker *pWalker) { winrt::Windows::Data::Json::JsonObject result; BSTR automationId; CONTROLTYPEID controlType; @@ -274,7 +277,7 @@ winrt::Windows::Data::Json::JsonObject DumpUIATree(IUIAutomationElement *pTarget pWalker->GetFirstChildElement(pTarget, &pChild); winrt::Windows::Data::Json::JsonArray children; while (pChild != nullptr) { - children.Append(DumpUIATree(pChild, pWalker)); + children.Append(DumpUIATreeRecurse(pChild, pWalker)); pWalker->GetNextSiblingElement(pChild, &pSibling); pChild = pSibling; pSibling = nullptr; @@ -285,8 +288,7 @@ winrt::Windows::Data::Json::JsonObject DumpUIATree(IUIAutomationElement *pTarget return result; } -winrt::Windows::Data::Json::JsonObject DumpVisualTree(winrt::Windows::Data::Json::JsonValue payload) { - winrt::Windows::Data::Json::JsonObject payloadObj = payload.GetObject(); +winrt::Windows::Data::Json::JsonObject DumpUIATreeHelper(winrt::Windows::Data::Json::JsonObject payloadObj) { auto accessibilityId = payloadObj.GetNamedString(L"accessibilityId"); winrt::Windows::Data::Json::JsonObject result; @@ -308,17 +310,108 @@ winrt::Windows::Data::Json::JsonObject DumpVisualTree(winrt::Windows::Data::Json varAutomationId.bstrVal = SysAllocString(accessibilityId.c_str()); pAutomation->CreatePropertyCondition(UIA_AutomationIdPropertyId, varAutomationId, &pCondition); pRootElement->FindFirst(TreeScope_Descendants, pCondition, &pTarget); - if (pTarget == nullptr) { - return result; - } - result = DumpUIATree(pTarget, pWalker); + winrt::Windows::Data::Json::JsonObject uiaTree; + if (pTarget != nullptr) { + uiaTree = DumpUIATreeRecurse(pTarget, pWalker); + } pWalker->Release(); pRootElement->Release(); pAutomation->Release(); pCondition->Release(); + return uiaTree; +} + +winrt::Windows::Data::Json::JsonObject PrintVisualTree(winrt::Microsoft::UI::Composition::Visual node) { + winrt::Windows::Data::Json::JsonObject result; + if (!node.Comment().empty()) { + result.Insert(L"Comment", winrt::Windows::Data::Json::JsonValue::CreateStringValue(node.Comment())); + } + winrt::Windows::Data::Json::JsonArray visualSize; + visualSize.Append(winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Size().x)); + visualSize.Append(winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Size().y)); + result.Insert(L"Size", visualSize); + winrt::Windows::Data::Json::JsonArray visualOffset; + visualOffset.Append(winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Offset().x)); + visualOffset.Append(winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Offset().y)); + visualOffset.Append(winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Offset().z)); + result.Insert(L"Offset", visualOffset); + result.Insert(L"Opacity", winrt::Windows::Data::Json::JsonValue::CreateNumberValue(node.Opacity())); + auto spriteVisual = node.try_as(); + if (spriteVisual) { + result.Insert(L"Visual Type", winrt::Windows::Data::Json::JsonValue::CreateStringValue(L"SpriteVisual")); + auto spriteBrush = spriteVisual.Brush(); + if (spriteBrush) { + winrt::Windows::Data::Json::JsonObject brush; + auto colorBrush = spriteBrush.try_as(); + if (colorBrush) { + brush.Insert(L"Brush Type", winrt::Windows::Data::Json::JsonValue::CreateStringValue(L"ColorBrush")); + auto colorString = L"rgba(" + winrt::to_hstring(colorBrush.Color().R) + L", " + + winrt::to_hstring(colorBrush.Color().G) + L", " + winrt::to_hstring(colorBrush.Color().B) + L", " + + winrt::to_hstring(colorBrush.Color().A) + L")"; + brush.Insert(L"Color", winrt::Windows::Data::Json::JsonValue::CreateStringValue(colorString)); + result.Insert(L"Brush", brush); + } + } + } else { + result.Insert(L"Visual Type", winrt::Windows::Data::Json::JsonValue::CreateStringValue(L"Visual")); + } + return result; +} + +winrt::Windows::Data::Json::JsonObject DumpVisualTreeRecurse( + winrt::Microsoft::UI::Composition::Visual node, + winrt::hstring accessibilityId, + boolean targetNodeHit) { + winrt::Windows::Data::Json::JsonObject result; + boolean targetNodeFound = false; + if (targetNodeHit) { + result = PrintVisualTree(node); + } + + auto containerNode = node.try_as(); + if (containerNode == nullptr) { + return result; + } + auto nodeChildren = containerNode.Children(); + winrt::Windows::Data::Json::JsonArray children; + for (auto childVisual : nodeChildren) { + if (!targetNodeHit && childVisual.Comment() == accessibilityId) { + targetNodeFound = true; + result = DumpVisualTreeRecurse(childVisual, accessibilityId, true); + break; + } else if (targetNodeHit) { + children.Append(DumpVisualTreeRecurse(childVisual, accessibilityId, targetNodeHit)); + } else if (!targetNodeHit) { + auto subtree = DumpVisualTreeRecurse(childVisual, accessibilityId, targetNodeHit); + if (subtree.Size() > 0) { + result = subtree; + break; + } + } + } + if (targetNodeHit && children.Size() > 0) { + result.Insert(L"Children", children); + } + return result; +} + +winrt::Windows::Data::Json::JsonObject DumpVisualTreeHelper(winrt::Windows::Data::Json::JsonObject payloadObj) { + auto accessibilityId = payloadObj.GetNamedString(L"accessibilityId"); + winrt::Windows::Data::Json::JsonObject visualTree; + auto root = winrt::Microsoft::ReactNative::Composition::MicrosoftCompositionContextHelper::InnerVisual( + global_rootView->RootVisual()); + visualTree = DumpVisualTreeRecurse(root, accessibilityId, false); + return visualTree; +} + +winrt::Windows::Data::Json::JsonObject DumpVisualTree(winrt::Windows::Data::Json::JsonValue payload) { + winrt::Windows::Data::Json::JsonObject payloadObj = payload.GetObject(); + winrt::Windows::Data::Json::JsonObject result; + result.Insert(L"Automation Tree", DumpUIATreeHelper(payloadObj)); + result.Insert(L"Visual Tree", DumpVisualTreeHelper(payloadObj)); return result; } diff --git a/vnext/Microsoft.ReactNative/CompositionHwndHost.idl b/vnext/Microsoft.ReactNative/CompositionHwndHost.idl index 8080e483b15..e501ec893a8 100644 --- a/vnext/Microsoft.ReactNative/CompositionHwndHost.idl +++ b/vnext/Microsoft.ReactNative/CompositionHwndHost.idl @@ -34,6 +34,8 @@ namespace Microsoft.ReactNative Int64 TranslateMessage(UInt32 msg, UInt64 wParam, Int64 lParam); Object UiaProvider { get; }; + + Windows.UI.Composition.Visual RootVisual(); } } // namespace Microsoft.ReactNative diff --git a/vnext/Microsoft.ReactNative/CompositionSwitcher.idl b/vnext/Microsoft.ReactNative/CompositionSwitcher.idl index f54f79094be..815e125541e 100644 --- a/vnext/Microsoft.ReactNative/CompositionSwitcher.idl +++ b/vnext/Microsoft.ReactNative/CompositionSwitcher.idl @@ -63,6 +63,7 @@ namespace Microsoft.ReactNative.Composition void Offset(Windows.Foundation.Numerics.Vector3 offset, Windows.Foundation.Numerics.Vector3 relativeAdjustment); void RelativeSizeWithOffset(Windows.Foundation.Numerics.Vector2 size, Windows.Foundation.Numerics.Vector2 relativeSizeAdjustment); BackfaceVisibility BackfaceVisibility{ get; set; }; + String Comment { get; set; }; } [webhosthidden] diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp index 5dcf0ea28ee..65cd92e8700 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp @@ -58,6 +58,10 @@ void AbiCompositionViewComponentView::updateProps( const auto &oldViewProps = *std::static_pointer_cast(m_props); const auto &newViewProps = *std::static_pointer_cast(props); + if (oldViewProps.testId != newViewProps.testId) { + m_visual.Comment(winrt::to_hstring(newViewProps.testId)); + } + updateAccessibilityProps(oldViewProps, newViewProps); // updateShadowProps(oldViewProps, newViewProps, m_visual); // updateTransformProps(oldViewProps, newViewProps, m_visual); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp index e959614d68b..77e86d65d99 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp @@ -388,6 +388,14 @@ struct CompVisual : public winrt::implements< m_visual.BackfaceVisibility(static_cast(value)); } + winrt::hstring Comment() noexcept { + return m_visual.Comment(); + } + + void Comment(winrt::hstring value) { + m_visual.Comment(value); + } + private: typename TTypeRedirects::Visual m_visual; }; @@ -490,6 +498,14 @@ struct CompSpriteVisual : winrt::implements< m_visual.BackfaceVisibility(static_cast(value)); } + winrt::hstring Comment() noexcept { + return m_visual.Comment(); + } + + void Comment(winrt::hstring value) { + m_visual.Comment(value); + } + void SetClippingPath(ID2D1Geometry *clippingPath) noexcept { if (!clippingPath) { m_visual.Clip(nullptr); @@ -693,6 +709,14 @@ struct CompScrollerVisual : winrt::implements< m_visual.BackfaceVisibility(static_cast(value)); } + winrt::hstring Comment() noexcept { + return m_visual.Comment(); + } + + void Comment(winrt::hstring value) { + m_visual.Comment(value); + } + void SetClippingPath(ID2D1Geometry *clippingPath) noexcept { if (!clippingPath) { m_visual.Clip(nullptr); @@ -969,6 +993,14 @@ struct CompActivityVisual : winrt::implements< m_visual.BackfaceVisibility(static_cast(value)); } + winrt::hstring Comment() noexcept { + return m_visual.Comment(); + } + + void Comment(winrt::hstring value) { + m_visual.Comment(value); + } + void SetClippingPath(ID2D1Geometry *clippingPath) noexcept { if (!clippingPath) { m_visual.Clip(nullptr); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp index ae09c2c76e2..88c0a13e988 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp @@ -44,6 +44,7 @@ void CompositionHwndHost::CreateCompositionRoot() { auto root = Compositor().CreateContainerVisual(); root.RelativeSizeAdjustment({1.0f, 1.0f}); root.Offset({0, 0, 0}); + root.Comment(L"Root Visual"); m_target.Root(root); } diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp index b0974875b15..ba30c5687b4 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp @@ -1499,6 +1499,9 @@ void CompositionViewComponentView::updateProps( if (oldViewProps.opacity != newViewProps.opacity) { m_visual.Opacity(newViewProps.opacity); } + if (oldViewProps.testId != newViewProps.testId) { + m_visual.Comment(winrt::to_hstring(newViewProps.testId)); + } // update BaseComponentView props updateAccessibilityProps(oldViewProps, newViewProps); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp index a1fac0b502a..8081edbdfc4 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp @@ -123,6 +123,9 @@ void ImageComponentView::updateProps( if (oldImageProps.opacity != newImageProps.opacity) { m_visual.Opacity(newImageProps.opacity); } + if (oldImageProps.testId != newImageProps.testId) { + m_visual.Comment(winrt::to_hstring(newImageProps.testId)); + } m_props = std::static_pointer_cast(props); } diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp index da18f53f167..155d362b763 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp @@ -51,6 +51,9 @@ void ParagraphComponentView::updateProps( if (oldViewProps.textAttributes.opacity != newViewProps.textAttributes.opacity) { m_requireRedraw = true; } + if (oldViewProps.testId != newViewProps.testId) { + m_visual.Comment(winrt::to_hstring(newViewProps.testId)); + } if (oldViewProps.textAttributes.alignment != newViewProps.textAttributes.alignment) { updateTextAlignment(newViewProps.textAttributes.alignment); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp index b30509c0a61..ad87a479aa0 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp @@ -163,6 +163,9 @@ void ScrollViewComponentView::updateProps( if (!oldProps || oldViewProps.backgroundColor != newViewProps.backgroundColor) { updateBackgroundColor(newViewProps.backgroundColor); } + if (oldViewProps.testId != newViewProps.testId) { + m_visual.Comment(winrt::to_hstring(newViewProps.testId)); + } // update BaseComponentView props updateShadowProps(oldViewProps, newViewProps, m_visual); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp index 4f8ebfee34f..309091687c0 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp @@ -56,6 +56,9 @@ void SwitchComponentView::updateProps( oldViewProps.disabled != newViewProps.disabled) { m_drawingSurface = nullptr; } + if (oldViewProps.testId != newViewProps.testId) { + m_visual.Comment(winrt::to_hstring(newViewProps.testId)); + } // update BaseComponentView props updateShadowProps(oldViewProps, newViewProps, m_visual); diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp index 7f5c8fb9b3d..0b20a5e313b 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp @@ -899,6 +899,9 @@ void WindowsTextInputComponentView::updateProps( ensureVisual(); + if (oldTextInputProps.testId != newTextInputProps.testId) { + m_visual.Comment(winrt::to_hstring(newTextInputProps.testId)); + } // update BaseComponentView props updateShadowProps(oldTextInputProps, newTextInputProps, m_visual); updateTransformProps(oldTextInputProps, newTextInputProps, m_visual);