Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 66932ae

Browse files
committed
Update snapshots
1 parent 058dcf6 commit 66932ae

18 files changed

+57
-1
lines changed

test/components/structures/__snapshots__/RoomView-test.tsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -467,13 +467,15 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
467467
data-state="closed"
468468
role="button"
469469
tabindex="0"
470+
title="Emoji"
470471
/>
471472
<div
472473
aria-label="Attachment"
473474
class="mx_AccessibleButton mx_MessageComposer_button mx_MessageComposer_upload"
474475
data-state="closed"
475476
role="button"
476477
tabindex="0"
478+
title="Attachment"
477479
/>
478480
<div
479481
aria-label="More options"
@@ -716,13 +718,15 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
716718
data-state="closed"
717719
role="button"
718720
tabindex="0"
721+
title="Emoji"
719722
/>
720723
<div
721724
aria-label="Attachment"
722725
class="mx_AccessibleButton mx_MessageComposer_button mx_MessageComposer_upload"
723726
data-state="closed"
724727
role="button"
725728
tabindex="0"
729+
title="Attachment"
726730
/>
727731
<div
728732
aria-label="More options"

test/components/structures/__snapshots__/UserMenu-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ exports[`<UserMenu> <UserMenu> when video broadcast when rendered should render
1313
data-state="closed"
1414
role="button"
1515
tabindex="0"
16+
title="User menu"
1617
>
1718
<div
1819
class="mx_UserMenu_userAvatar"

test/components/views/beacon/__snapshots__/DialogSidebar-test.tsx.snap

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ exports[`<DialogSidebar /> renders sidebar correctly with beacons 1`] = `
1919
data-testid="dialog-sidebar-close"
2020
role="button"
2121
tabindex="0"
22+
title="Close sidebar"
2223
>
2324
<div
2425
class="mx_DialogSidebar_closeButtonIcon"
@@ -118,6 +119,7 @@ exports[`<DialogSidebar /> renders sidebar correctly without beacons 1`] = `
118119
data-testid="dialog-sidebar-close"
119120
role="button"
120121
tabindex="0"
122+
title="Close sidebar"
121123
>
122124
<div
123125
class="mx_DialogSidebar_closeButtonIcon"

test/components/views/beacon/__snapshots__/LeftPanelLiveShareWarning-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`<LeftPanelLiveShareWarning /> when user has live location monitor rende
77
data-state="closed"
88
role="button"
99
tabindex="0"
10+
title="You are sharing your live location"
1011
>
1112
<div
1213
height="10"

test/components/views/beacon/__snapshots__/RoomLiveShareWarning-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ exports[`<RoomLiveShareWarning /> when user has live beacons and geolocation is
114114
data-testid="room-live-share-wire-error-close-button"
115115
role="button"
116116
tabindex="0"
117+
title="Stop and close"
117118
>
118119
<div
119120
class="mx_RoomLiveShareWarning_closeButtonIcon"

test/components/views/elements/__snapshots__/AppTile-test.tsx.snap

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ exports[`AppTile destroys non-persisted right panel widget on room change 1`] =
1818
data-testid="base-card-close-button"
1919
role="button"
2020
tabindex="0"
21+
title="Close"
2122
/>
2223
<div
2324
class="mx_BaseCard_headerProp"
@@ -38,6 +39,7 @@ exports[`AppTile destroys non-persisted right panel widget on room change 1`] =
3839
data-state="closed"
3940
role="button"
4041
tabindex="0"
42+
title="Options"
4143
/>
4244
</div>
4345
</div>
@@ -163,6 +165,7 @@ exports[`AppTile for a pinned widget should render 1`] = `
163165
data-state="closed"
164166
role="button"
165167
tabindex="0"
168+
title="Options"
166169
>
167170
<div
168171
class="mx_Icon mx_Icon_12"
@@ -250,6 +253,7 @@ exports[`AppTile for a pinned widget should render permission request 1`] = `
250253
data-state="closed"
251254
role="button"
252255
tabindex="0"
256+
title="Options"
253257
>
254258
<div
255259
class="mx_Icon mx_Icon_12"
@@ -404,6 +408,7 @@ exports[`AppTile preserves non-persisted widget on container move 1`] = `
404408
data-state="closed"
405409
role="button"
406410
tabindex="0"
411+
title="Options"
407412
>
408413
<div
409414
class="mx_Icon mx_Icon_12"

test/components/views/location/__snapshots__/LocationViewDialog-test.tsx.snap

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ exports[`<LocationViewDialog /> renders map correctly 1`] = `
2828
data-testid="map-zoom-in-button"
2929
role="button"
3030
tabindex="0"
31+
title="Zoom in"
3132
>
3233
<div
3334
class="mx_ZoomButtons_icon"
@@ -39,6 +40,7 @@ exports[`<LocationViewDialog /> renders map correctly 1`] = `
3940
data-testid="map-zoom-out-button"
4041
role="button"
4142
tabindex="0"
43+
title="Zoom out"
4244
>
4345
<div
4446
class="mx_ZoomButtons_icon"

test/components/views/location/__snapshots__/ZoomButtons-test.tsx.snap

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ exports[`<ZoomButtons /> renders buttons 1`] = `
1111
data-testid="map-zoom-in-button"
1212
role="button"
1313
tabindex="0"
14+
title="Zoom in"
1415
>
1516
<div
1617
class="mx_ZoomButtons_icon"
@@ -22,6 +23,7 @@ exports[`<ZoomButtons /> renders buttons 1`] = `
2223
data-testid="map-zoom-out-button"
2324
role="button"
2425
tabindex="0"
26+
title="Zoom out"
2527
>
2628
<div
2729
class="mx_ZoomButtons_icon"

test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`<DeviceItem /> ambiguous display name 1`] = `
77
data-state="closed"
88
role="button"
99
tabindex="0"
10+
title="deviceId"
1011
>
1112
<div
1213
class="mx_E2EIcon mx_E2EIcon_normal"
@@ -30,6 +31,7 @@ exports[`<DeviceItem /> with display name 1`] = `
3031
data-state="closed"
3132
role="button"
3233
tabindex="0"
34+
title="deviceId"
3335
>
3436
<div
3537
class="mx_E2EIcon mx_E2EIcon_normal"
@@ -53,6 +55,7 @@ exports[`<DeviceItem /> without display name 1`] = `
5355
data-state="closed"
5456
role="button"
5557
tabindex="0"
58+
title="deviceId"
5659
>
5760
<div
5861
class="mx_E2EIcon mx_E2EIcon_normal"
@@ -83,6 +86,7 @@ exports[`<UserInfo /> with crypto enabled renders <BasicUserInfo /> 1`] = `
8386
data-testid="base-card-close-button"
8487
role="button"
8588
tabindex="0"
89+
title="Close"
8690
/>
8791
<div
8892
class="mx_BaseCard_headerProp"

test/components/views/rooms/__snapshots__/MemberTile-test.tsx.snap

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ exports[`MemberTile should display an verified E2EIcon when the e2E status = Ver
99
data-state="closed"
1010
role="button"
1111
tabindex="0"
12+
title="@userId:matrix.org (power 0)"
1213
>
1314
<div
1415
class="mx_EntityTile_avatar"
@@ -63,6 +64,7 @@ exports[`MemberTile should display an warning E2EIcon when the e2E status = Warn
6364
data-state="closed"
6465
role="button"
6566
tabindex="0"
67+
title="@userId:matrix.org (power 0)"
6668
>
6769
<div
6870
class="mx_EntityTile_avatar"
@@ -117,6 +119,7 @@ exports[`MemberTile should not display an E2EIcon when the e2E status = normal 1
117119
data-state="closed"
118120
role="button"
119121
tabindex="0"
122+
title="@userId:matrix.org (power 0)"
120123
>
121124
<div
122125
class="mx_EntityTile_avatar"

test/components/views/settings/devices/__snapshots__/LoginWithQRFlow-test.tsx.snap

+6
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ exports[`<LoginWithQRFlow /> renders QR code 1`] = `
522522
data-testid="back-button"
523523
role="button"
524524
tabindex="0"
525+
title="Back"
525526
>
526527
<div />
527528
</div>
@@ -654,6 +655,7 @@ exports[`<LoginWithQRFlow /> renders spinner while connecting 1`] = `
654655
data-testid="back-button"
655656
role="button"
656657
tabindex="0"
658+
title="Back"
657659
>
658660
<div />
659661
</div>
@@ -724,6 +726,7 @@ exports[`<LoginWithQRFlow /> renders spinner while loading 1`] = `
724726
data-testid="back-button"
725727
role="button"
726728
tabindex="0"
729+
title="Back"
727730
>
728731
<div />
729732
</div>
@@ -782,6 +785,7 @@ exports[`<LoginWithQRFlow /> renders spinner while signing in 1`] = `
782785
data-testid="back-button"
783786
role="button"
784787
tabindex="0"
788+
title="Back"
785789
>
786790
<div />
787791
</div>
@@ -852,6 +856,7 @@ exports[`<LoginWithQRFlow /> renders spinner while verifying 1`] = `
852856
data-testid="back-button"
853857
role="button"
854858
tabindex="0"
859+
title="Back"
855860
>
856861
<div />
857862
</div>
@@ -913,6 +918,7 @@ exports[`<LoginWithQRFlow /> renders spinner whilst QR generating 1`] = `
913918
data-testid="back-button"
914919
role="button"
915920
tabindex="0"
921+
title="Back"
916922
>
917923
<div />
918924
</div>

test/components/views/settings/tabs/room/__snapshots__/PeopleRoomSettingsTab-test.tsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ exports[`PeopleRoomSettingsTab with requests to join renders requests fully 1`]
7373
data-state="closed"
7474
role="button"
7575
tabindex="0"
76+
title="Deny"
7677
>
7778
<div
7879
height="18"
@@ -85,6 +86,7 @@ exports[`PeopleRoomSettingsTab with requests to join renders requests fully 1`]
8586
data-state="closed"
8687
role="button"
8788
tabindex="0"
89+
title="Approve"
8890
>
8991
<div
9092
height="18"
@@ -142,6 +144,7 @@ exports[`PeopleRoomSettingsTab with requests to join renders requests reduced 1`
142144
data-state="closed"
143145
role="button"
144146
tabindex="0"
147+
title="Deny"
145148
>
146149
<div
147150
height="18"
@@ -154,6 +157,7 @@ exports[`PeopleRoomSettingsTab with requests to join renders requests reduced 1`
154157
data-state="closed"
155158
role="button"
156159
tabindex="0"
160+
title="Approve"
157161
>
158162
<div
159163
height="18"

test/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ exports[`<SpacePanel /> should show all activated MetaSpaces in the correct orde
1414
aria-haspopup="true"
1515
aria-label="User menu"
1616
class="mx_AccessibleButton mx_UserMenu_contextMenuButton"
17+
data-state="closed"
1718
role="button"
1819
tabindex="0"
1920
title="User menu"
@@ -34,10 +35,11 @@ exports[`<SpacePanel /> should show all activated MetaSpaces in the correct orde
3435
</div>
3536
</div>
3637
<div
37-
aria-label="Expand"
3838
class="mx_AccessibleButton mx_SpacePanel_toggleCollapse"
39+
data-state="closed"
3940
role="button"
4041
tabindex="0"
42+
title="Expand"
4143
/>
4244
</div>
4345
<ul

test/voice-broadcast/components/atoms/__snapshots__/VoiceBroadcastHeader-test.tsx.snap

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ exports[`VoiceBroadcastHeader when rendering a buffering live broadcast header w
2828
data-state="closed"
2929
role="button"
3030
tabindex="0"
31+
title="Change input device"
3132
>
3233
<div
3334
class="mx_Icon mx_Icon_16"
@@ -85,6 +86,7 @@ exports[`VoiceBroadcastHeader when rendering a live (grey) broadcast header with
8586
data-state="closed"
8687
role="button"
8788
tabindex="0"
89+
title="Change input device"
8890
>
8991
<div
9092
class="mx_Icon mx_Icon_16"
@@ -142,6 +144,7 @@ exports[`VoiceBroadcastHeader when rendering a live broadcast header with broadc
142144
data-state="closed"
143145
role="button"
144146
tabindex="0"
147+
title="Change input device"
145148
>
146149
<div
147150
class="mx_Icon mx_Icon_16"
@@ -215,6 +218,7 @@ exports[`VoiceBroadcastHeader when rendering a non-live broadcast header should
215218
data-state="closed"
216219
role="button"
217220
tabindex="0"
221+
title="Change input device"
218222
>
219223
<div
220224
class="mx_Icon mx_Icon_16"

test/voice-broadcast/components/molecules/__snapshots__/VoiceBroadcastPlaybackBody-test.tsx.snap

+7
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a buffering voice broadcast s
3131
data-state="closed"
3232
role="button"
3333
tabindex="0"
34+
title="Change input device"
3435
>
3536
<div
3637
class="mx_Icon mx_Icon_16"
@@ -161,6 +162,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a pause/not-live broadcast sh
161162
data-state="closed"
162163
role="button"
163164
tabindex="0"
165+
title="Change input device"
164166
>
165167
<div
166168
class="mx_Icon mx_Icon_16"
@@ -287,6 +289,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a playing broadcast in pip mo
287289
data-state="closed"
288290
role="button"
289291
tabindex="0"
292+
title="Change input device"
290293
>
291294
<div
292295
class="mx_Icon mx_Icon_16"
@@ -401,6 +404,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a playing broadcast should re
401404
data-state="closed"
402405
role="button"
403406
tabindex="0"
407+
title="Change input device"
404408
>
405409
<div
406410
class="mx_Icon mx_Icon_16"
@@ -515,6 +519,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a playing/live broadcast shou
515519
data-state="closed"
516520
role="button"
517521
tabindex="0"
522+
title="Change input device"
518523
>
519524
<div
520525
class="mx_Icon mx_Icon_16"
@@ -637,6 +642,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering a stopped broadcast should re
637642
data-state="closed"
638643
role="button"
639644
tabindex="0"
645+
title="Change input device"
640646
>
641647
<div
642648
class="mx_Icon mx_Icon_16"
@@ -731,6 +737,7 @@ exports[`VoiceBroadcastPlaybackBody when rendering an error broadcast should ren
731737
data-state="closed"
732738
role="button"
733739
tabindex="0"
740+
title="Change input device"
734741
>
735742
<div
736743
class="mx_Icon mx_Icon_16"

test/voice-broadcast/components/molecules/__snapshots__/VoiceBroadcastPreRecordingPip-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ exports[`VoiceBroadcastPreRecordingPip when rendered should match the snapshot 1
4343
data-state="closed"
4444
role="button"
4545
tabindex="0"
46+
title="Change input device"
4647
>
4748
<div
4849
class="mx_Icon mx_Icon_16"

0 commit comments

Comments
 (0)