mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 21:47:39 +02:00
test(printers): repair speed + AMS load/unload tests after #1661 refactor
PR #1661 swapped the visible speed badge ("100%") for an icon-only Gauge button and replaced the kebab "Slot options" button with hover-card actions inside FilamentHoverCard. The two existing test files weren't updated alongside the refactor and stayed broken on dev. - Add data-testid="speed-control" to the Gauge button and rewrite the Speed tests around it; assertions on the percentage text are gone because that text no longer renders. Parametrize the four-mode API call test. - Add data-testid="filament-slot" to FilamentHoverCard's trigger wrapper and rewrite the AMS load/unload tests around fireEvent.mouseEnter → portaled actions. Replace the "hides menu while RUNNING" assertion with "Load/Unload buttons exist but are disabled" — matches the new UX shape.
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -26,7 +26,7 @@
|
||||
|
||||
<!-- Splash screens for iOS -->
|
||||
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
||||
<script type="module" crossorigin src="/assets/index-BEllJfyV.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DzdK7n82.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-iyQgdQ5p.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user