Skip to content

Commit e60aefb

Browse files
committed
snapshots
1 parent d65b9e3 commit e60aefb

10 files changed

Lines changed: 670 additions & 479 deletions
98 Bytes
Loading

packages/e2e-test-app-fabric/test/__snapshots__/AccessibilityTest.test.ts.snap

Lines changed: 96 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,21 @@ exports[`Accessibility Tests Accessibility data for Label and Level 1`] = `
1818
},
1919
},
2020
"Visual Tree": {
21-
"Brush": {
22-
"Brush Type": "ColorBrush",
23-
"Color": "rgba(255, 0, 0, 255)",
24-
},
2521
"Comment": "accessibility-base-view-2",
2622
"Offset": "0, 0, 0",
2723
"Size": "50, 50",
2824
"Visual Type": "SpriteVisual",
25+
"__Children": [
26+
{
27+
"Brush": {
28+
"Brush Type": "ColorBrush",
29+
"Color": "rgba(255, 0, 0, 255)",
30+
},
31+
"Offset": "0, 0, 0",
32+
"Size": "0, 0",
33+
"Visual Type": "SpriteVisual",
34+
},
35+
],
2936
},
3037
}
3138
`;
@@ -56,14 +63,21 @@ exports[`Accessibility Tests Accessibility data for Label,Level and Hint 1`] = `
5663
},
5764
},
5865
"Visual Tree": {
59-
"Brush": {
60-
"Brush Type": "ColorBrush",
61-
"Color": "rgba(0, 0, 255, 255)",
62-
},
6366
"Comment": "accessibility-base-view-1",
6467
"Offset": "0, 0, 0",
6568
"Size": "50, 50",
6669
"Visual Type": "SpriteVisual",
70+
"__Children": [
71+
{
72+
"Brush": {
73+
"Brush Type": "ColorBrush",
74+
"Color": "rgba(0, 0, 255, 255)",
75+
},
76+
"Offset": "0, 0, 0",
77+
"Size": "0, 0",
78+
"Visual Type": "SpriteVisual",
79+
},
80+
],
6781
},
6882
}
6983
`;
@@ -87,14 +101,21 @@ exports[`Accessibility Tests Accessibility data for Role, Setsize etc. 1`] = `
87101
},
88102
},
89103
"Visual Tree": {
90-
"Brush": {
91-
"Brush Type": "ColorBrush",
92-
"Color": "rgba(255, 0, 0, 255)",
93-
},
94104
"Comment": "accessibility-base-view-3",
95105
"Offset": "0, 0, 0",
96106
"Size": "50, 50",
97107
"Visual Type": "SpriteVisual",
108+
"__Children": [
109+
{
110+
"Brush": {
111+
"Brush Type": "ColorBrush",
112+
"Color": "rgba(255, 0, 0, 255)",
113+
},
114+
"Offset": "0, 0, 0",
115+
"Size": "0, 0",
116+
"Visual Type": "SpriteVisual",
117+
},
118+
],
98119
},
99120
}
100121
`;
@@ -133,15 +154,20 @@ exports[`Accessibility Tests Components can store range data by setting the min,
133154
],
134155
},
135156
"Visual Tree": {
136-
"Brush": {
137-
"Brush Type": "ColorBrush",
138-
"Color": "rgba(128, 128, 128, 255)",
139-
},
140157
"Comment": "accessibilityValue-number",
141158
"Offset": "0, 0, 0",
142159
"Size": "916, 50",
143160
"Visual Type": "SpriteVisual",
144161
"__Children": [
162+
{
163+
"Brush": {
164+
"Brush Type": "ColorBrush",
165+
"Color": "rgba(128, 128, 128, 255)",
166+
},
167+
"Offset": "0, 0, 0",
168+
"Size": "0, 0",
169+
"Visual Type": "SpriteVisual",
170+
},
145171
{
146172
"Offset": "0, 0, 0",
147173
"Size": "916, 19",
@@ -190,15 +216,20 @@ exports[`Accessibility Tests Components can store value data by setting the text
190216
],
191217
},
192218
"Visual Tree": {
193-
"Brush": {
194-
"Brush Type": "ColorBrush",
195-
"Color": "rgba(128, 128, 128, 255)",
196-
},
197219
"Comment": "accessibilityValue-text",
198220
"Offset": "0, 0, 0",
199221
"Size": "916, 50",
200222
"Visual Type": "SpriteVisual",
201223
"__Children": [
224+
{
225+
"Brush": {
226+
"Brush Type": "ColorBrush",
227+
"Color": "rgba(128, 128, 128, 255)",
228+
},
229+
"Offset": "0, 0, 0",
230+
"Size": "0, 0",
231+
"Visual Type": "SpriteVisual",
232+
},
202233
{
203234
"Offset": "0, 0, 0",
204235
"Size": "916, 20",
@@ -248,15 +279,20 @@ exports[`Accessibility Tests Elements can set accessibilityState:selected to fal
248279
],
249280
},
250281
"Visual Tree": {
251-
"Brush": {
252-
"Brush Type": "ColorBrush",
253-
"Color": "rgba(135, 206, 250, 255)",
254-
},
255282
"Comment": "Selectable item 1",
256283
"Offset": "0, 0, 0",
257284
"Size": "100, 50",
258285
"Visual Type": "SpriteVisual",
259286
"__Children": [
287+
{
288+
"Brush": {
289+
"Brush Type": "ColorBrush",
290+
"Color": "rgba(135, 206, 250, 255)",
291+
},
292+
"Offset": "0, 0, 0",
293+
"Size": "0, 0",
294+
"Visual Type": "SpriteVisual",
295+
},
260296
{
261297
"Offset": "0, 0, 0",
262298
"Size": "100, 20",
@@ -307,15 +343,20 @@ exports[`Accessibility Tests Elements can set accessibilityState:selected to tru
307343
],
308344
},
309345
"Visual Tree": {
310-
"Brush": {
311-
"Brush Type": "ColorBrush",
312-
"Color": "rgba(128, 128, 128, 255)",
313-
},
314346
"Comment": "Selectable item 1",
315347
"Offset": "0, 0, 0",
316348
"Size": "100, 50",
317349
"Visual Type": "SpriteVisual",
318350
"__Children": [
351+
{
352+
"Brush": {
353+
"Brush Type": "ColorBrush",
354+
"Color": "rgba(128, 128, 128, 255)",
355+
},
356+
"Offset": "0, 0, 0",
357+
"Size": "0, 0",
358+
"Visual Type": "SpriteVisual",
359+
},
319360
{
320361
"Offset": "0, 0, 0",
321362
"Size": "100, 20",
@@ -513,15 +554,20 @@ exports[`Accessibility Tests Selectable items must have a Selection Container. E
513554
"Visual Type": "SpriteVisual",
514555
"__Children": [
515556
{
516-
"Brush": {
517-
"Brush Type": "ColorBrush",
518-
"Color": "rgba(135, 206, 250, 255)",
519-
},
520557
"Comment": "Selectable item 1",
521558
"Offset": "0, 0, 0",
522559
"Size": "100, 50",
523560
"Visual Type": "SpriteVisual",
524561
"__Children": [
562+
{
563+
"Brush": {
564+
"Brush Type": "ColorBrush",
565+
"Color": "rgba(135, 206, 250, 255)",
566+
},
567+
"Offset": "0, 0, 0",
568+
"Size": "0, 0",
569+
"Visual Type": "SpriteVisual",
570+
},
525571
{
526572
"Offset": "0, 0, 0",
527573
"Size": "100, 20",
@@ -544,15 +590,20 @@ exports[`Accessibility Tests Selectable items must have a Selection Container. E
544590
"Visual Type": "SpriteVisual",
545591
"__Children": [
546592
{
547-
"Brush": {
548-
"Brush Type": "ColorBrush",
549-
"Color": "rgba(135, 206, 250, 255)",
550-
},
551593
"Comment": "Selectable item 2",
552594
"Offset": "0, 0, 0",
553595
"Size": "100, 50",
554596
"Visual Type": "SpriteVisual",
555597
"__Children": [
598+
{
599+
"Brush": {
600+
"Brush Type": "ColorBrush",
601+
"Color": "rgba(135, 206, 250, 255)",
602+
},
603+
"Offset": "0, 0, 0",
604+
"Size": "0, 0",
605+
"Visual Type": "SpriteVisual",
606+
},
556607
{
557608
"Offset": "0, 0, 0",
558609
"Size": "100, 20",
@@ -575,15 +626,20 @@ exports[`Accessibility Tests Selectable items must have a Selection Container. E
575626
"Visual Type": "SpriteVisual",
576627
"__Children": [
577628
{
578-
"Brush": {
579-
"Brush Type": "ColorBrush",
580-
"Color": "rgba(135, 206, 250, 255)",
581-
},
582629
"Comment": "Selectable item 3",
583630
"Offset": "0, 0, 0",
584631
"Size": "100, 50",
585632
"Visual Type": "SpriteVisual",
586633
"__Children": [
634+
{
635+
"Brush": {
636+
"Brush Type": "ColorBrush",
637+
"Color": "rgba(135, 206, 250, 255)",
638+
},
639+
"Offset": "0, 0, 0",
640+
"Size": "0, 0",
641+
"Visual Type": "SpriteVisual",
642+
},
587643
{
588644
"Offset": "0, 0, 0",
589645
"Size": "100, 20",

0 commit comments

Comments
 (0)