Skip to content

Commit 6976f91

Browse files
committed
Update tests
1 parent 3cbb53a commit 6976f91

File tree

1 file changed

+76
-38
lines changed

1 file changed

+76
-38
lines changed

packages/module/src/DataViewToolbar/__snapshots__/DataViewToolbar.test.tsx.snap

Lines changed: 76 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,16 @@ exports[`DataViewToolbar component should render correctly 1`] = `
4646
</b>
4747
4848
</div>
49-
<div
50-
class="pf-v6-c-pagination__page-menu"
51-
>
49+
<div>
5250
<button
5351
aria-expanded="false"
5452
aria-haspopup="listbox"
55-
class="pf-v6-c-menu-toggle pf-m-plain pf-m-text"
56-
data-ouia-component-id="OUIA-Generated-MenuToggle-plainText-1"
57-
data-ouia-component-type="PF6/MenuToggle"
58-
data-ouia-safe="true"
53+
class="pf-v5-c-menu-toggle pf-m-plain pf-m-text"
5954
id="options-menu-top-toggle"
6055
type="button"
6156
>
6257
<span
63-
class="pf-v6-c-menu-toggle__text"
58+
class="pf-v5-c-menu-toggle__text"
6459
>
6560
<b>
6661
1
@@ -76,14 +71,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
7671
7772
</span>
7873
<span
79-
class="pf-v6-c-menu-toggle__controls"
74+
class="pf-v5-c-menu-toggle__controls"
8075
>
8176
<span
82-
class="pf-v6-c-menu-toggle__toggle-icon"
77+
class="pf-v5-c-menu-toggle__toggle-icon"
8378
>
8479
<svg
8580
aria-hidden="true"
86-
class="pf-v6-svg"
81+
class="pf-v5-svg"
8782
fill="currentColor"
8883
height="1em"
8984
role="img"
@@ -137,8 +132,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
137132
disabled=""
138133
type="button"
139134
>
140-
<span
141-
class="pf-v6-c-button__icon pf-m-start"
135+
<svg
136+
aria-hidden="true"
137+
class="pf-v5-svg"
138+
fill="currentColor"
139+
height="1em"
140+
role="img"
141+
viewBox="0 0 448 512"
142+
width="1em"
142143
>
143144
<svg
144145
aria-hidden="true"
@@ -170,8 +171,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
170171
disabled=""
171172
type="button"
172173
>
173-
<span
174-
class="pf-v6-c-button__icon pf-m-start"
174+
<svg
175+
aria-hidden="true"
176+
class="pf-v5-svg"
177+
fill="currentColor"
178+
height="1em"
179+
role="img"
180+
viewBox="0 0 256 512"
181+
width="1em"
175182
>
176183
<svg
177184
aria-hidden="true"
@@ -221,8 +228,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
221228
data-ouia-safe="true"
222229
type="button"
223230
>
224-
<span
225-
class="pf-v6-c-button__icon pf-m-start"
231+
<svg
232+
aria-hidden="true"
233+
class="pf-v5-svg"
234+
fill="currentColor"
235+
height="1em"
236+
role="img"
237+
viewBox="0 0 256 512"
238+
width="1em"
226239
>
227240
<svg
228241
aria-hidden="true"
@@ -253,8 +266,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
253266
data-ouia-safe="true"
254267
type="button"
255268
>
256-
<span
257-
class="pf-v6-c-button__icon pf-m-start"
269+
<svg
270+
aria-hidden="true"
271+
class="pf-v5-svg"
272+
fill="currentColor"
273+
height="1em"
274+
role="img"
275+
viewBox="0 0 448 512"
276+
width="1em"
258277
>
259278
<svg
260279
aria-hidden="true"
@@ -330,21 +349,16 @@ exports[`DataViewToolbar component should render correctly 1`] = `
330349
</b>
331350
332351
</div>
333-
<div
334-
class="pf-v6-c-pagination__page-menu"
335-
>
352+
<div>
336353
<button
337354
aria-expanded="false"
338355
aria-haspopup="listbox"
339-
class="pf-v6-c-menu-toggle pf-m-plain pf-m-text"
340-
data-ouia-component-id="OUIA-Generated-MenuToggle-plainText-1"
341-
data-ouia-component-type="PF6/MenuToggle"
342-
data-ouia-safe="true"
356+
class="pf-v5-c-menu-toggle pf-m-plain pf-m-text"
343357
id="options-menu-top-toggle"
344358
type="button"
345359
>
346360
<span
347-
class="pf-v6-c-menu-toggle__text"
361+
class="pf-v5-c-menu-toggle__text"
348362
>
349363
<b>
350364
1
@@ -360,14 +374,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
360374
361375
</span>
362376
<span
363-
class="pf-v6-c-menu-toggle__controls"
377+
class="pf-v5-c-menu-toggle__controls"
364378
>
365379
<span
366-
class="pf-v6-c-menu-toggle__toggle-icon"
380+
class="pf-v5-c-menu-toggle__toggle-icon"
367381
>
368382
<svg
369383
aria-hidden="true"
370-
class="pf-v6-svg"
384+
class="pf-v5-svg"
371385
fill="currentColor"
372386
height="1em"
373387
role="img"
@@ -421,8 +435,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
421435
disabled=""
422436
type="button"
423437
>
424-
<span
425-
class="pf-v6-c-button__icon pf-m-start"
438+
<svg
439+
aria-hidden="true"
440+
class="pf-v5-svg"
441+
fill="currentColor"
442+
height="1em"
443+
role="img"
444+
viewBox="0 0 448 512"
445+
width="1em"
426446
>
427447
<svg
428448
aria-hidden="true"
@@ -454,8 +474,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
454474
disabled=""
455475
type="button"
456476
>
457-
<span
458-
class="pf-v6-c-button__icon pf-m-start"
477+
<svg
478+
aria-hidden="true"
479+
class="pf-v5-svg"
480+
fill="currentColor"
481+
height="1em"
482+
role="img"
483+
viewBox="0 0 256 512"
484+
width="1em"
459485
>
460486
<svg
461487
aria-hidden="true"
@@ -505,8 +531,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
505531
data-ouia-safe="true"
506532
type="button"
507533
>
508-
<span
509-
class="pf-v6-c-button__icon pf-m-start"
534+
<svg
535+
aria-hidden="true"
536+
class="pf-v5-svg"
537+
fill="currentColor"
538+
height="1em"
539+
role="img"
540+
viewBox="0 0 256 512"
541+
width="1em"
510542
>
511543
<svg
512544
aria-hidden="true"
@@ -537,8 +569,14 @@ exports[`DataViewToolbar component should render correctly 1`] = `
537569
data-ouia-safe="true"
538570
type="button"
539571
>
540-
<span
541-
class="pf-v6-c-button__icon pf-m-start"
572+
<svg
573+
aria-hidden="true"
574+
class="pf-v5-svg"
575+
fill="currentColor"
576+
height="1em"
577+
role="img"
578+
viewBox="0 0 448 512"
579+
width="1em"
542580
>
543581
<svg
544582
aria-hidden="true"

0 commit comments

Comments
 (0)