Skip to main content

Modules Documentation

QC test cases

Functional, UI, responsive, RTL, SEO test cases.

Complete

Radar QC verifies the status logic (status matches the deadline correctly), the Apply CTA behaviour (external link, target=_blank, correct attribution), the JSON-LD emission, and the Weekly Signals digest signup gating.

Functional checks (per opportunity)

  1. Detail route returns 200 in EN and AR.
  2. Status strip + status chip + deadline pill all show the same status. No drift between visual elements.
  3. Status switches correctly across the day boundary (Open → ClosingSoon when ≤7 days, ClosingSoon → Closed when past deadline).
  4. Apply CTA opens applicationUrl in a new tab with rel="noopener external".
  5. When status=Closed, the Apply CTA is hidden (the View CTA remains).
  6. Eligibility / Benefits / Timeline blocks render correctly with all typed sub-entities.

Apply funnel checks

  • opportunity_details_view fires on detail page load.
  • opportunity_external_apply_click fires before navigation. Properties include all required fields.
  • When isSponsored=true, sponsor_lead_generated event also fires with the sponsor_id.

SEO / AEO checks

  • <title>, meta description, canonical, hreflang all present.
  • JSON-LD @type renders correctly. mentions[] array length matches the Related Ecosystem Signals card count.
  • OG image is editorial-quality (organizer logo composited onto 1200x630).

AR / RTL checks

  • Switching to /ar/ flips layout; the deadline pill mirrors correctly (icon position).
  • Arabic content from `getOpportunityContent(o, "ar")` renders, not auto-translation.
  • Sponsored chip + Verified chip mirror correctly to top-end (corner-aware via logical positioning).