Skip to content

Commit c4d334e

Browse files
committed
update snapshots
1 parent 2398740 commit c4d334e

File tree

5 files changed

+107
-59
lines changed

5 files changed

+107
-59
lines changed

packages/module/src/components/AccessConsoles/__snapshots__/AccessConsoles.test.tsx.snap

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exports[`AccessConsoles with SerialConsole and VncConsole as children 1`] = `
3535
aria-expanded="false"
3636
aria-label="Console type toggle"
3737
class="pf-v6-c-menu-toggle"
38-
data-ouia-component-id="OUIA-Generated-MenuToggle-1"
38+
data-ouia-component-id="OUIA-Generated-MenuToggle-:r2:"
3939
data-ouia-component-type="PF6/MenuToggle"
4040
data-ouia-safe="true"
4141
id="pf-v6-c-console__type-selector"
@@ -54,12 +54,24 @@ exports[`AccessConsoles with SerialConsole and VncConsole as children 1`] = `
5454
fill="currentColor"
5555
height="1em"
5656
role="img"
57-
viewBox="0 0 320 512"
5857
width="1em"
5958
>
60-
<path
61-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
62-
/>
59+
<svg
60+
class="pf-v6-icon-default"
61+
viewBox="0 0 320 512"
62+
>
63+
<path
64+
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
65+
/>
66+
</svg>
67+
<svg
68+
class="pf-v6-icon-rh-ui"
69+
viewBox="0 0 32 32"
70+
>
71+
<path
72+
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
73+
/>
74+
</svg>
6375
</svg>
6476
</span>
6577
</span>
@@ -102,7 +114,7 @@ exports[`AccessConsoles with preselected SerialConsole 1`] = `
102114
>
103115
<button
104116
class="pf-v6-c-button pf-m-secondary"
105-
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
117+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r3:"
106118
data-ouia-component-type="PF6/Button"
107119
data-ouia-safe="true"
108120
type="button"
@@ -115,7 +127,7 @@ exports[`AccessConsoles with preselected SerialConsole 1`] = `
115127
</button>
116128
<button
117129
class="pf-v6-c-button pf-m-secondary"
118-
data-ouia-component-id="OUIA-Generated-Button-secondary-2"
130+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r4:"
119131
data-ouia-component-type="PF6/Button"
120132
data-ouia-safe="true"
121133
type="button"

packages/module/src/components/DesktopViewer/__snapshots__/DesktopViewer.test.tsx.snap

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ exports[`DesktopViewer empty 1`] = `
154154
>
155155
<button
156156
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-vv"
157-
data-ouia-component-id="OUIA-Generated-Button-primary-1"
157+
data-ouia-component-id="OUIA-Generated-Button-primary-:r0:"
158158
data-ouia-component-type="PF6/Button"
159159
data-ouia-safe="true"
160160
disabled=""
@@ -173,7 +173,7 @@ exports[`DesktopViewer empty 1`] = `
173173
>
174174
<h2
175175
class="pf-v6-c-title pf-m-3xl"
176-
data-ouia-component-id="OUIA-Generated-Title-1"
176+
data-ouia-component-id="OUIA-Generated-Title-:r1:"
177177
data-ouia-component-type="PF6/Title"
178178
data-ouia-safe="true"
179179
>
@@ -204,7 +204,7 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
204204
>
205205
<button
206206
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-vv"
207-
data-ouia-component-id="OUIA-Generated-Button-primary-2"
207+
data-ouia-component-id="OUIA-Generated-Button-primary-:r2:"
208208
data-ouia-component-type="PF6/Button"
209209
data-ouia-safe="true"
210210
type="button"
@@ -226,7 +226,7 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
226226
aria-controls="remote-viewer-details-content"
227227
aria-expanded="false"
228228
class="pf-v6-c-button pf-m-link"
229-
data-ouia-component-id="OUIA-Generated-Button-link-1"
229+
data-ouia-component-id="OUIA-Generated-Button-link-:r5:"
230230
data-ouia-component-type="PF6/Button"
231231
data-ouia-safe="true"
232232
id="remote-viewer-details-toggle"
@@ -244,11 +244,11 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
244244
fill="currentColor"
245245
height="1em"
246246
role="img"
247-
viewBox="0 0 256 512"
247+
viewBox="0 0 20 20"
248248
width="1em"
249249
>
250250
<path
251-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
251+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
252252
/>
253253
</svg>
254254
</span>
@@ -398,7 +398,7 @@ exports[`DesktopViewer with Spice and VNC 1`] = `
398398
>
399399
<h2
400400
class="pf-v6-c-title pf-m-3xl"
401-
data-ouia-component-id="OUIA-Generated-Title-2"
401+
data-ouia-component-id="OUIA-Generated-Title-:r6:"
402402
data-ouia-component-type="PF6/Title"
403403
data-ouia-safe="true"
404404
>
@@ -540,7 +540,7 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
540540
>
541541
<button
542542
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-vv"
543-
data-ouia-component-id="OUIA-Generated-Button-primary-5"
543+
data-ouia-component-id="OUIA-Generated-Button-primary-:rg:"
544544
data-ouia-component-type="PF6/Button"
545545
data-ouia-safe="true"
546546
type="button"
@@ -553,7 +553,7 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
553553
</button>
554554
<button
555555
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-rdp"
556-
data-ouia-component-id="OUIA-Generated-Button-primary-6"
556+
data-ouia-component-id="OUIA-Generated-Button-primary-:rh:"
557557
data-ouia-component-type="PF6/Button"
558558
data-ouia-safe="true"
559559
type="button"
@@ -575,7 +575,7 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
575575
aria-controls="remote-viewer-details-content"
576576
aria-expanded="false"
577577
class="pf-v6-c-button pf-m-link"
578-
data-ouia-component-id="OUIA-Generated-Button-link-4"
578+
data-ouia-component-id="OUIA-Generated-Button-link-:rk:"
579579
data-ouia-component-type="PF6/Button"
580580
data-ouia-safe="true"
581581
id="remote-viewer-details-toggle"
@@ -593,11 +593,11 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
593593
fill="currentColor"
594594
height="1em"
595595
role="img"
596-
viewBox="0 0 256 512"
596+
viewBox="0 0 20 20"
597597
width="1em"
598598
>
599599
<path
600-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
600+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
601601
/>
602602
</svg>
603603
</span>
@@ -751,7 +751,7 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
751751
aria-controls="remote-desktop-details-content"
752752
aria-expanded="false"
753753
class="pf-v6-c-button pf-m-link"
754-
data-ouia-component-id="OUIA-Generated-Button-link-5"
754+
data-ouia-component-id="OUIA-Generated-Button-link-:rn:"
755755
data-ouia-component-type="PF6/Button"
756756
data-ouia-safe="true"
757757
id="remote-desktop-details-toggle"
@@ -769,11 +769,11 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
769769
fill="currentColor"
770770
height="1em"
771771
role="img"
772-
viewBox="0 0 256 512"
772+
viewBox="0 0 20 20"
773773
width="1em"
774774
>
775775
<path
776-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
776+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
777777
/>
778778
</svg>
779779
</span>
@@ -799,7 +799,7 @@ exports[`DesktopViewer with Spice, VNC and RDP (different hostname) 1`] = `
799799
>
800800
<h2
801801
class="pf-v6-c-title pf-m-3xl"
802-
data-ouia-component-id="OUIA-Generated-Title-4"
802+
data-ouia-component-id="OUIA-Generated-Title-:ro:"
803803
data-ouia-component-type="PF6/Title"
804804
data-ouia-safe="true"
805805
>
@@ -985,7 +985,7 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
985985
>
986986
<button
987987
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-vv"
988-
data-ouia-component-id="OUIA-Generated-Button-primary-3"
988+
data-ouia-component-id="OUIA-Generated-Button-primary-:r7:"
989989
data-ouia-component-type="PF6/Button"
990990
data-ouia-safe="true"
991991
type="button"
@@ -998,7 +998,7 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
998998
</button>
999999
<button
10001000
class="pf-v6-c-button pf-m-primary pf-v6-c-console__remote-viewer-launch-rdp"
1001-
data-ouia-component-id="OUIA-Generated-Button-primary-4"
1001+
data-ouia-component-id="OUIA-Generated-Button-primary-:r8:"
10021002
data-ouia-component-type="PF6/Button"
10031003
data-ouia-safe="true"
10041004
type="button"
@@ -1020,7 +1020,7 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
10201020
aria-controls="remote-viewer-details-content"
10211021
aria-expanded="false"
10221022
class="pf-v6-c-button pf-m-link"
1023-
data-ouia-component-id="OUIA-Generated-Button-link-2"
1023+
data-ouia-component-id="OUIA-Generated-Button-link-:rb:"
10241024
data-ouia-component-type="PF6/Button"
10251025
data-ouia-safe="true"
10261026
id="remote-viewer-details-toggle"
@@ -1038,11 +1038,11 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
10381038
fill="currentColor"
10391039
height="1em"
10401040
role="img"
1041-
viewBox="0 0 256 512"
1041+
viewBox="0 0 20 20"
10421042
width="1em"
10431043
>
10441044
<path
1045-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1045+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
10461046
/>
10471047
</svg>
10481048
</span>
@@ -1196,7 +1196,7 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
11961196
aria-controls="remote-desktop-details-content"
11971197
aria-expanded="false"
11981198
class="pf-v6-c-button pf-m-link"
1199-
data-ouia-component-id="OUIA-Generated-Button-link-3"
1199+
data-ouia-component-id="OUIA-Generated-Button-link-:re:"
12001200
data-ouia-component-type="PF6/Button"
12011201
data-ouia-safe="true"
12021202
id="remote-desktop-details-toggle"
@@ -1214,11 +1214,11 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
12141214
fill="currentColor"
12151215
height="1em"
12161216
role="img"
1217-
viewBox="0 0 256 512"
1217+
viewBox="0 0 20 20"
12181218
width="1em"
12191219
>
12201220
<path
1221-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
1221+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
12221222
/>
12231223
</svg>
12241224
</span>
@@ -1244,7 +1244,7 @@ exports[`DesktopViewer with Spice, VNC and RDP 1`] = `
12441244
>
12451245
<h2
12461246
class="pf-v6-c-title pf-m-3xl"
1247-
data-ouia-component-id="OUIA-Generated-Title-3"
1247+
data-ouia-component-id="OUIA-Generated-Title-:rf:"
12481248
data-ouia-component-type="PF6/Title"
12491249
data-ouia-safe="true"
12501250
>

packages/module/src/components/SerialConsole/__snapshots__/SerialConsole.test.tsx.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exports[`SerialConsole in the DISCONNECTED state 1`] = `
3030
>
3131
<button
3232
class="pf-v6-c-button pf-m-primary"
33-
data-ouia-component-id="OUIA-Generated-Button-primary-1"
33+
data-ouia-component-id="OUIA-Generated-Button-primary-:r2:"
3434
data-ouia-component-type="PF6/Button"
3535
data-ouia-safe="true"
3636
type="button"
@@ -56,7 +56,7 @@ exports[`SerialConsole in the LOADING state 1`] = `
5656
>
5757
<button
5858
class="pf-v6-c-button pf-m-secondary"
59-
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
59+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r0:"
6060
data-ouia-component-type="PF6/Button"
6161
data-ouia-safe="true"
6262
type="button"
@@ -69,7 +69,7 @@ exports[`SerialConsole in the LOADING state 1`] = `
6969
</button>
7070
<button
7171
class="pf-v6-c-button pf-m-secondary"
72-
data-ouia-component-id="OUIA-Generated-Button-secondary-2"
72+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r1:"
7373
data-ouia-component-type="PF6/Button"
7474
data-ouia-safe="true"
7575
type="button"
@@ -138,7 +138,7 @@ exports[`SerialConsole with CONNECTED state renders 1`] = `
138138
>
139139
<button
140140
class="pf-v6-c-button pf-m-secondary"
141-
data-ouia-component-id="OUIA-Generated-Button-secondary-3"
141+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r3:"
142142
data-ouia-component-type="PF6/Button"
143143
data-ouia-safe="true"
144144
type="button"
@@ -151,7 +151,7 @@ exports[`SerialConsole with CONNECTED state renders 1`] = `
151151
</button>
152152
<button
153153
class="pf-v6-c-button pf-m-secondary"
154-
data-ouia-component-id="OUIA-Generated-Button-secondary-4"
154+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r4:"
155155
data-ouia-component-type="PF6/Button"
156156
data-ouia-safe="true"
157157
type="button"

packages/module/src/components/SerialConsole/__snapshots__/SerialConsoleActions.test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports[`Render SerialConsoleActions 1`] = `
88
>
99
<button
1010
class="pf-v6-c-button pf-m-secondary"
11-
data-ouia-component-id="OUIA-Generated-Button-secondary-1"
11+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r0:"
1212
data-ouia-component-type="PF6/Button"
1313
data-ouia-safe="true"
1414
type="button"
@@ -21,7 +21,7 @@ exports[`Render SerialConsoleActions 1`] = `
2121
</button>
2222
<button
2323
class="pf-v6-c-button pf-m-secondary"
24-
data-ouia-component-id="OUIA-Generated-Button-secondary-2"
24+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r1:"
2525
data-ouia-component-type="PF6/Button"
2626
data-ouia-safe="true"
2727
type="button"
@@ -44,7 +44,7 @@ exports[`Render SerialConsoleActions with custom texts 1`] = `
4444
>
4545
<button
4646
class="pf-v6-c-button pf-m-secondary"
47-
data-ouia-component-id="OUIA-Generated-Button-secondary-3"
47+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r2:"
4848
data-ouia-component-type="PF6/Button"
4949
data-ouia-safe="true"
5050
type="button"
@@ -57,7 +57,7 @@ exports[`Render SerialConsoleActions with custom texts 1`] = `
5757
</button>
5858
<button
5959
class="pf-v6-c-button pf-m-secondary"
60-
data-ouia-component-id="OUIA-Generated-Button-secondary-4"
60+
data-ouia-component-id="OUIA-Generated-Button-secondary-:r3:"
6161
data-ouia-component-type="PF6/Button"
6262
data-ouia-safe="true"
6363
type="button"

0 commit comments

Comments
 (0)