Skip to content

Update PlanCreate unit test at /projects/[projectId]/dmp/create to address intermittent failures #1106

Open

Description

@jupiter007

Summary

Update the unit test at /projects/[projectId]/dmp/create/__tests__/page.spec.tsx so that it doesn't intermittently get failed tests.

Context

After updating to Apollo Client v4, some of the unit tests at /projects/[projectId]/dmp/create/__tests__/page.spec.tsx were intermittently failing. It includes some very complicated tests and I believe that either MockedProvider was having some timing or memory issues causing those failures.

Links to impacted areas

It hasn't been merged yet, but it's from this PR where we updated @apollo/client to v4:#1105

Provide specific URLs to pages or other areas that would be affected

Relevant Technical Decisions

We might want to restructure the component it is testing, or move off of using MockedProvider to test this component.

Some additional comments were added in the PR for updating Apollo Client: #1105

Activity

  1. self-assigned this
    on Jan 12, 2026
  2. added theissue type on Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions