Skip to content

[Task] Integration Test — View Immunopeptidomics Measurements #1440

Description

@sven1103-agent

Parent Story

#1431

Requirement IDs

MEASUREMENT-R-04

Description

Write and verify the Story-level integration test for the immunopeptidomics measurement view. The test validates that the implementation Task (#1417) satisfies all acceptance criteria defined in Story #1431. Any failing ACs discovered during this Task are reported as new follow-up Tasks.

The IT belongs in datamanager-app/src/test/.../views/projects/.../measurement/ or the project-management module as appropriate, and runs under the Maven it profile (Spring Boot test slice or @SpringBootTest). It targets the application / view-model layer to avoid mocking internals.

Acceptance Criteria (from parent Story)

  • Given a user navigates to the measurement view, When the page loads, Then a dedicated immunopeptidomics tab is visible alongside NGS and proteomics tabs.
  • Given the immunopeptidomics tab is active, When measurements exist, Then they are displayed with domain-specific columns: QBiC Sample Id, Sample Name, Measurement Name, Organisation URL, Facility, Sample Mass (mg), Sample Volume, Cycle/Fraction Name, MHC Antibody, MHC Typing Method, Enrichment Method, Instrument, Prep Date, MS Run Date, LCMS Method, LC Column, Data Acquisition, Mass range (m/z), Retention time range (min), Charge range, Ion mobility range (1/k0), Registration Date, Comment.
  • Given the immunopeptidomics tab is active, When the page loads, Then the current count of immunopeptidomics measurements is shown.
  • Given a user enters a search term in the filter box, When they type, Then the displayed measurements are filtered to show rows where any visible property contains the search term.
  • Given no immunopeptidomics measurements exist for the experiment, When the page loads, Then the tab shows an empty state or zero count.

Technical Notes

  • Test data: seed immunopeptidomics measurements with full domain metadata.
  • Assertions must cover: tab visibility, domain-specific column presence and values, count accuracy, filtering behaviour, and empty-state handling.
  • The test must pass with ./mvnw clean verify -Pit before this Task is considered complete.
  • If any AC fails, create new Task(s) referencing this one and the parent Story; do not workaround in this branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageAn issue that is in discussion to be either scheduled for implepmentation or denied

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions