Skip to content

TEST: Website mentor list #2

@nora-weisser

Description

@nora-weisser
  • Returns all ACTIVE mentors. PENDING and REJECTED mentors never appear.
  • GET /mentors accepts these optional query params: keyword, mentorshipTypes, yearsExperience, areas, languages, focus.
  • Type filter cases:
    • ?mentorshipTypes=AD_HOC returns mentors with non-empty menteeSection.adHoc; excludes long-term-only.
    • ?mentorshipTypes=LONG_TERM returns mentors with non-null menteeSection.longTerm; excludes ad-hoc-only.
    • ?mentorshipTypes=AD_HOC,LONG_TERM returns the union — a mentor offering only one type still appears.
    • A mentor offering both appears in both single-type filters.
  • When the open cycle is CLOSED, the response still returns active mentors but skips the cycle-specific availability projection. Verify response shape.
  • Apply-button rule can be rendered client-side from the existing payload (for ad-hoc and both) — no extra call required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions