Skip to content

Commit e6cd349

Browse files
authored
Merge pull request #838 from kinvolk/update-snapshots
frontend: Update the test snapshots
2 parents d3e9350 + fe0faaa commit e6cd349

File tree

4 files changed

+36
-60
lines changed

4 files changed

+36
-60
lines changed

frontend/src/components/horizontalPodAutoscaler/__snapshots__/HPADetails.stories.storyshot

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ exports[`Storyshots hpa/HpaDetailsView Default 1`] = `
1111
<div
1212
class="MuiBox-root MuiBox-root"
1313
>
14-
<a
15-
aria-disabled="false"
14+
<button
1615
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
17-
href="/"
18-
role="button"
1916
tabindex="0"
17+
type="button"
2018
>
2119
<span
2220
class="MuiButton-label"
@@ -36,7 +34,7 @@ exports[`Storyshots hpa/HpaDetailsView Default 1`] = `
3634
<span
3735
class="MuiTouchRipple-root"
3836
/>
39-
</a>
37+
</button>
4038
<div
4139
class="MuiBox-root MuiBox-root"
4240
>
@@ -413,12 +411,10 @@ exports[`Storyshots hpa/HpaDetailsView Error 1`] = `
413411
<div
414412
class="MuiBox-root MuiBox-root"
415413
>
416-
<a
417-
aria-disabled="false"
414+
<button
418415
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
419-
href="/"
420-
role="button"
421416
tabindex="0"
417+
type="button"
422418
>
423419
<span
424420
class="MuiButton-label"
@@ -438,7 +434,7 @@ exports[`Storyshots hpa/HpaDetailsView Error 1`] = `
438434
<span
439435
class="MuiTouchRipple-root"
440436
/>
441-
</a>
437+
</button>
442438
<div
443439
class="MuiBox-root MuiBox-root"
444440
>
@@ -498,12 +494,10 @@ exports[`Storyshots hpa/HpaDetailsView No Item Yet 1`] = `
498494
<div
499495
class="MuiBox-root MuiBox-root"
500496
>
501-
<a
502-
aria-disabled="false"
497+
<button
503498
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
504-
href="/"
505-
role="button"
506499
tabindex="0"
500+
type="button"
507501
>
508502
<span
509503
class="MuiButton-label"
@@ -523,7 +517,7 @@ exports[`Storyshots hpa/HpaDetailsView No Item Yet 1`] = `
523517
<span
524518
class="MuiTouchRipple-root"
525519
/>
526-
</a>
520+
</button>
527521
<div
528522
class="MuiBox-root MuiBox-root"
529523
>

frontend/src/components/podDisruptionBudget/__snapshots__/pdbDetails.stories.storyshot

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ exports[`Storyshots pdb/PDBDetailsView Default 1`] = `
1111
<div
1212
class="MuiBox-root MuiBox-root"
1313
>
14-
<a
15-
aria-disabled="false"
14+
<button
1615
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
17-
href="/"
18-
role="button"
1916
tabindex="0"
17+
type="button"
2018
>
2119
<span
2220
class="MuiButton-label"
@@ -36,7 +34,7 @@ exports[`Storyshots pdb/PDBDetailsView Default 1`] = `
3634
<span
3735
class="MuiTouchRipple-root"
3836
/>
39-
</a>
37+
</button>
4038
<div
4139
class="MuiBox-root MuiBox-root"
4240
>
@@ -372,12 +370,10 @@ exports[`Storyshots pdb/PDBDetailsView Error 1`] = `
372370
<div
373371
class="MuiBox-root MuiBox-root"
374372
>
375-
<a
376-
aria-disabled="false"
373+
<button
377374
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
378-
href="/"
379-
role="button"
380375
tabindex="0"
376+
type="button"
381377
>
382378
<span
383379
class="MuiButton-label"
@@ -397,7 +393,7 @@ exports[`Storyshots pdb/PDBDetailsView Error 1`] = `
397393
<span
398394
class="MuiTouchRipple-root"
399395
/>
400-
</a>
396+
</button>
401397
<div
402398
class="MuiBox-root MuiBox-root"
403399
>
@@ -457,12 +453,10 @@ exports[`Storyshots pdb/PDBDetailsView No Item Yet 1`] = `
457453
<div
458454
class="MuiBox-root MuiBox-root"
459455
>
460-
<a
461-
aria-disabled="false"
456+
<button
462457
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
463-
href="/"
464-
role="button"
465458
tabindex="0"
459+
type="button"
466460
>
467461
<span
468462
class="MuiButton-label"
@@ -482,7 +476,7 @@ exports[`Storyshots pdb/PDBDetailsView No Item Yet 1`] = `
482476
<span
483477
class="MuiTouchRipple-root"
484478
/>
485-
</a>
479+
</button>
486480
<div
487481
class="MuiBox-root MuiBox-root"
488482
>

frontend/src/components/priorityClass/__snapshots__/priorityClassDetails.stories.storyshot

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView Default 1`] = `
1111
<div
1212
class="MuiBox-root MuiBox-root"
1313
>
14-
<a
15-
aria-disabled="false"
14+
<button
1615
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
17-
href="/"
18-
role="button"
1916
tabindex="0"
17+
type="button"
2018
>
2119
<span
2220
class="MuiButton-label"
@@ -36,7 +34,7 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView Default 1`] = `
3634
<span
3735
class="MuiTouchRipple-root"
3836
/>
39-
</a>
37+
</button>
4038
<div
4139
class="MuiBox-root MuiBox-root"
4240
>
@@ -323,12 +321,10 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView Error 1`] = `
323321
<div
324322
class="MuiBox-root MuiBox-root"
325323
>
326-
<a
327-
aria-disabled="false"
324+
<button
328325
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
329-
href="/"
330-
role="button"
331326
tabindex="0"
327+
type="button"
332328
>
333329
<span
334330
class="MuiButton-label"
@@ -348,7 +344,7 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView Error 1`] = `
348344
<span
349345
class="MuiTouchRipple-root"
350346
/>
351-
</a>
347+
</button>
352348
<div
353349
class="MuiBox-root MuiBox-root"
354350
>
@@ -408,12 +404,10 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView No Item Yet 1`] =
408404
<div
409405
class="MuiBox-root MuiBox-root"
410406
>
411-
<a
412-
aria-disabled="false"
407+
<button
413408
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
414-
href="/"
415-
role="button"
416409
tabindex="0"
410+
type="button"
417411
>
418412
<span
419413
class="MuiButton-label"
@@ -433,7 +427,7 @@ exports[`Storyshots PriorityClasses/PriorityClassesDetailsView No Item Yet 1`] =
433427
<span
434428
class="MuiTouchRipple-root"
435429
/>
436-
</a>
430+
</button>
437431
<div
438432
class="MuiBox-root MuiBox-root"
439433
>

frontend/src/components/resourceQuota/__snapshots__/resourceQuotaDetails.stories.storyshot

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView Default 1`] = `
1111
<div
1212
class="MuiBox-root MuiBox-root"
1313
>
14-
<a
15-
aria-disabled="false"
14+
<button
1615
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
17-
href="/"
18-
role="button"
1916
tabindex="0"
17+
type="button"
2018
>
2119
<span
2220
class="MuiButton-label"
@@ -36,7 +34,7 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView Default 1`] = `
3634
<span
3735
class="MuiTouchRipple-root"
3836
/>
39-
</a>
37+
</button>
4038
<div
4139
class="MuiBox-root MuiBox-root"
4240
>
@@ -319,12 +317,10 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView Error 1`] = `
319317
<div
320318
class="MuiBox-root MuiBox-root"
321319
>
322-
<a
323-
aria-disabled="false"
320+
<button
324321
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
325-
href="/"
326-
role="button"
327322
tabindex="0"
323+
type="button"
328324
>
329325
<span
330326
class="MuiButton-label"
@@ -344,7 +340,7 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView Error 1`] = `
344340
<span
345341
class="MuiTouchRipple-root"
346342
/>
347-
</a>
343+
</button>
348344
<div
349345
class="MuiBox-root MuiBox-root"
350346
>
@@ -404,12 +400,10 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView No Item Yet 1`] = `
404400
<div
405401
class="MuiBox-root MuiBox-root"
406402
>
407-
<a
408-
aria-disabled="false"
403+
<button
409404
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textSizeSmall MuiButton-sizeSmall"
410-
href="/"
411-
role="button"
412405
tabindex="0"
406+
type="button"
413407
>
414408
<span
415409
class="MuiButton-label"
@@ -429,7 +423,7 @@ exports[`Storyshots ResourceQuota/ResourceQuotaDetailsView No Item Yet 1`] = `
429423
<span
430424
class="MuiTouchRipple-root"
431425
/>
432-
</a>
426+
</button>
433427
<div
434428
class="MuiBox-root MuiBox-root"
435429
>

0 commit comments

Comments
 (0)