Skip to content

[MINT-2506] Daily Digest Updates with Data Exchange Approach #4144

[MINT-2506] Daily Digest Updates with Data Exchange Approach

[MINT-2506] Daily Digest Updates with Data Exchange Approach #4144

Triggered via pull request October 21, 2024 16:22
Status Failure
Total duration 13m 40s
Artifacts 6

pr_checks.yml

on: pull_request
Matrix: run_tests / build_docker_images
run_tests  /  build_frontend_assets
2m 1s
run_tests / build_frontend_assets
Fit to window
Zoom out
Zoom in

Annotations

16 errors
run_tests / client_typecheck: src/features/ModelPlan/TaskList/index.test.tsx#L62
Conversion of type '{ __typename: "ModelPlan"; isFavorite: true; id: string; status: ModelStatus.PLAN_DRAFT; taskListStatus: TaskStatus.IN_PROGRESS; modelName: string; modifiedDts: string; opSolutionLastModifiedDts: string; ... 14 more ...; discussions: ({ ...; } | { ...; })[]; }' to type '{ __typename: "ModelPlan"; id: string; modelName: string; modifiedDts?: string | null | undefined; opSolutionLastModifiedDts: string; archived: boolean; status: ModelStatus; ... 17 more ...; prepareForClearance: { ...; }; }' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L74
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L75
Argument of type 'AddedAsCollaboratorMeta | DailyDigestCompleteActivityMeta | DatesChangedActivityMeta | ... 4 more ... | TaggedInDiscussionReplyActivityMeta' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L76
Argument of type 'AddedAsCollaboratorMeta | DailyDigestCompleteActivityMeta | DatesChangedActivityMeta | ModelPlanSharedActivityMeta | NewDiscussionRepliedActivityMeta | NewModelPlanActivityMeta | PlanDataExchangeApproachMarkedCompleteActivityMeta' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L84
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L87
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L92
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L97
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L97
Argument of type 'AddedAsCollaboratorMeta | DailyDigestCompleteActivityMeta | DatesChangedActivityMeta | ... 4 more ... | TaggedInPlanDiscussionActivityMeta' is not assignable to parameter of type 'MetaDataType'.
run_tests / client_typecheck: src/features/Notifications/Home/_components/IndividualNotification.tsx#L131
Argument of type 'ActivityMetaData' is not assignable to parameter of type 'MetaDataType'.
src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx > ModelPlanCard > returns null if no section of task list is started: src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx#L195
AssertionError: expected { …(5) } to be undefined - Expected: undefined + Received: Object { "__typename": "PlanDataExchangeApproach", "id": "123", "modifiedByUserAccount": Object { "__typename": "UserAccount", "commonName": "John Doe", "id": "123", }, "modifiedDts": "2022-05-12T15:01:39.190679Z", "status": "IN_PROGRESS", } ❯ src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx:195:20
src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx > ModelPlanCard > matches the snapshot: src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx#L232
Error: Snapshot `ModelPlanCard > matches the snapshot 20` mismatched Ignored nodes: comments, script, style <html> <head /> <body> <div> <li class="usa-card desktop:grid-col-6 collaboration-area__card collaboration-area__main-card" data-testid="Card" > <div class="usa-card__container" > <header class="usa-card__header" data-testid="CardHeader" > <h3 class="usa-card__heading" > Model Plan </h3> </header> <div class="collaboration-area__status flex-align-center" > <div class="model-plan-task-list__task-tag line-height-body-1 text-bold mint-no-print bg-warning width-fit-content" data-testid="tasklist-tag" > <span> In progress </span> </div> <span class="text-base" > 5/7 sections started </span> </div> <div class="usa-card__body" data-testid="CardBody" > <p> The Model Plan will help components across CMS evaluate your model’s operational requirements and IT needs. It contains questions about payments, providers, general characteristics, and more. The Model Plan is flexible, so you may leave questions blank, add new information, and change information as you iterate on your model or learn of new dependencies. </p> </div> <div class="display-inline tablet:display-flex margin-top-2 margin-bottom-3 flex-align-center padding-x-3" > <span class="text-base margin-right-1" > Most recent edit on 05/12/2022 by </span> <div class="display-flex text-base-darkest flex-align-center" > <div class="display-flex flex-align-center flex-justify-center minw-4 circle-4 bg-blue-10 margin-right-1" data-testid="avatar--basic" > JD </div> <div class="margin-y-0" > <span class="" > John Doe </span> </div> </div> </div> <div class="usa-card__footer" data-testid="CardFooter" > <a class="usa-button margin-right-1" data-testid="to-task-list" href="/models/f11eb129-2c80-4080-9440-439cbe1a286f/task-list" > Go to Model Plan </a> <button class="usa-button usa-button usa-button--outline" data-testid="button" type="button" > Share or export Model Plan </button> </div> </div> </li> </div> <div class="ReactModalPortal" /> </body> </html> ❯ src/features/ModelPlan/CollaborationArea/Cards/ModelPlanCard/index.test.tsx:232:28 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:127:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:121:16
run_tests / client_test
Process completed with exit code 1.
run_tests / server_test
Process completed with exit code 1.
run_tests / lint
Process completed with exit code 1.
run_tests / e2e_tests
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
CMS-Enterprise~mint-app~H854XU.dockerbuild
25.7 KB
CMS-Enterprise~mint-app~LRQP7Q.dockerbuild
35.5 KB
CMS-Enterprise~mint-app~M8R9IQ+1.dockerbuild
57.9 KB
cypress-screenshots
365 KB
cypress-videos
66.9 MB
e2e-frontend-assets
4.03 MB