|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
| 3 | +exports[`Accessibility Tests Accessibility data for Label and Level 1`] = ` |
| 4 | +{ |
| 5 | + "Automation Tree": { |
| 6 | + "AutomationId": "accessibility-base-view-2", |
| 7 | + "ControlType": 50026, |
| 8 | + "Level": 2, |
| 9 | + "LocalizedControlType": "group", |
| 10 | + "Name": "A hint for the red box.", |
| 11 | + }, |
| 12 | + "Component Tree": { |
| 13 | + "Type": "Microsoft.ReactNative.Composition.ViewComponentView", |
| 14 | + "_Props": { |
| 15 | + "AccessibilityLabel": "A hint for the red box.", |
| 16 | + "TestId": "accessibility-base-view-2", |
| 17 | + }, |
| 18 | + }, |
| 19 | + "Visual Tree": { |
| 20 | + "Brush": { |
| 21 | + "Brush Type": "ColorBrush", |
| 22 | + "Color": "rgba(255, 0, 0, 255)", |
| 23 | + }, |
| 24 | + "Comment": "accessibility-base-view-2", |
| 25 | + "Offset": "0, 0, 0", |
| 26 | + "Size": "50, 50", |
| 27 | + "Visual Type": "SpriteVisual", |
| 28 | + }, |
| 29 | +} |
| 30 | +`; |
| 31 | + |
| 32 | +exports[`Accessibility Tests Accessibility data for Label,Level and Hint 1`] = ` |
| 33 | +{ |
| 34 | + "Automation Tree": { |
| 35 | + "AutomationId": "accessibility-base-view-1", |
| 36 | + "ControlType": 50026, |
| 37 | + "HelpText": "A hint for the blue box.", |
| 38 | + "Level": 1, |
| 39 | + "LocalizedControlType": "group", |
| 40 | + "Name": "A blue box", |
| 41 | + }, |
| 42 | + "Component Tree": { |
| 43 | + "Type": "Microsoft.ReactNative.Composition.ViewComponentView", |
| 44 | + "_Props": { |
| 45 | + "AccessibilityLabel": "A blue box", |
| 46 | + "TestId": "accessibility-base-view-1", |
| 47 | + }, |
| 48 | + }, |
| 49 | + "Visual Tree": { |
| 50 | + "Brush": { |
| 51 | + "Brush Type": "ColorBrush", |
| 52 | + "Color": "rgba(0, 0, 255, 255)", |
| 53 | + }, |
| 54 | + "Comment": "accessibility-base-view-1", |
| 55 | + "Offset": "0, 0, 0", |
| 56 | + "Size": "50, 50", |
| 57 | + "Visual Type": "SpriteVisual", |
| 58 | + }, |
| 59 | +} |
| 60 | +`; |
| 61 | + |
| 62 | +exports[`Accessibility Tests Accessibility data for Role, Setsize etc. 1`] = ` |
| 63 | +{ |
| 64 | + "Automation Tree": { |
| 65 | + "AutomationId": "accessibility-base-view-3", |
| 66 | + "ControlType": 50007, |
| 67 | + "Level": 9, |
| 68 | + "LocalizedControlType": "list item", |
| 69 | + "Name": "Aria label takes precedence", |
| 70 | + "PositionInSet": 2, |
| 71 | + "SizeofSet": 5, |
| 72 | + }, |
| 73 | + "Component Tree": { |
| 74 | + "Type": "Microsoft.ReactNative.Composition.ViewComponentView", |
| 75 | + "_Props": { |
| 76 | + "AccessibilityLabel": "Aria label takes precedence", |
| 77 | + "TestId": "accessibility-base-view-3", |
| 78 | + }, |
| 79 | + }, |
| 80 | + "Visual Tree": { |
| 81 | + "Brush": { |
| 82 | + "Brush Type": "ColorBrush", |
| 83 | + "Color": "rgba(255, 0, 0, 255)", |
| 84 | + }, |
| 85 | + "Comment": "accessibility-base-view-3", |
| 86 | + "Offset": "0, 0, 0", |
| 87 | + "Size": "50, 50", |
| 88 | + "Visual Type": "SpriteVisual", |
| 89 | + }, |
| 90 | +} |
| 91 | +`; |
| 92 | + |
3 | 93 | exports[`Accessibility Tests Components can store range data by setting the min, max, and now of accessibilityValue 1`] = `
|
4 | 94 | {
|
5 | 95 | "Automation Tree": {
|
|
0 commit comments