Purpose: Displays a carousel of similar/related trips — either manually entered entries or sourced live from Algolia. Supports an optional header (title + wysiwyg) and a footer CTA link.
Modes: manual_choice (hand-crafted entries with full metadata) · algolia_choice (live Algolia trips per language tab)
| Anchor | What is tested |
|---|---|
| similartrips | Happy path — manual, 4 entries all fields filled, center / light / no pattern, footer link |
| similartrips-1 | Dark bg, default pattern, left align, 6 entries, no header text, no footer link |
| similartrips-2 | Subtitle overlay on entries (image overlay + badge), dark / no pattern / center |
| similartrips-3 | Single entry edge case — light / center / no pattern |
| similartrips-4 | Very long text in tripname, location and duration fields |
| similartrips-5 | Empty entries (0 items) — header renders, carousel is suppressed |
| similartrips-6 | Algolia choice mode — algolia_select_trips for NL; renders gracefully empty in test env |
| similartrips-7 | Minimal / sparse entries — only image + tripname, no tag/icon/location/months/link |
Discover more trips that match your style of adventure. From mountain hikes to coastal roadtrips, there is always another journey waiting.
No entries are configured. This block should render the header section but suppress the carousel entirely.
Uses algolia_choice with algolia_select_trips for NL. No Algolia configured in test env so carousel renders empty.