Removes the hover effect from the price cards

The lift, accent border and shadow on hovering a whole card are gone;
only the booking button keeps its hover and focus effect. Also gives the
test that waits for the lazily loaded review carousel a longer timeout,
since its first import can take over a second under the full suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 22:53:16 +02:00
co-authored by Claude Opus 5.5
parent cb6a9b07f9
commit 02a7b8436d
7 changed files with 27 additions and 27 deletions
@@ -55,6 +55,11 @@ afterEach(() => {
const content = homeContent.testimonials;
// The carousel is a lazy chunk. The first test that loads it pays for
// transforming and instrumenting it, which under the full suite with
// coverage can take well over the default 1s of findBy*
const LAZY_LOAD = { timeout: 10_000 };
// Renders the section and brings it into view, so the lazily loaded
// carousel appears
async function renderTestimonials(items = testimonials) {
@@ -67,7 +72,7 @@ async function renderTestimonials(items = testimonials) {
);
});
if (visibleTestimonials(items).length > 1) {
await screen.findByRole('region', { name: 'Reviews' });
await screen.findByRole('region', { name: 'Reviews' }, LAZY_LOAD);
}
return result;
}
@@ -106,7 +111,7 @@ describe('Testimonials', () => {
);
});
expect(
await screen.findByRole('region', { name: 'Reviews' }),
await screen.findByRole('region', { name: 'Reviews' }, LAZY_LOAD),
).toBeInTheDocument();
});