Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Duplicate Patient Modal cannot be triggered #2546

@nobrayner

Description

@nobrayner

🐛 Bug Report

While converting NewPatient.test.tsx to RTL, we found that the "Duplicate Patient Modal" is impossible to trigger by a user. It looks like it performs a de-dupe against the redux store, but there is nothing that ever populates that store with patients? Thus de-dupe never finds a duplicate.

Creating based on comment in #2516 (comment)

To Reproduce

Uncomment the "Duplicate Patient Modal" test and run it.

Expected behavior

The test would pass.

Metadata

Metadata

Labels

help wantedindicates that an issue is open for contributionsin progressindicates that issue/pull request is currently being worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions