Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patient Documents needs end-to-end tests #581

Closed
jniles opened this issue Jul 15, 2016 · 1 comment
Closed

Patient Documents needs end-to-end tests #581

jniles opened this issue Jul 15, 2016 · 1 comment
Assignees

Comments

@jniles
Copy link
Collaborator

jniles commented Jul 15, 2016

The patient documents component just landed in the patient overview page (#575). However, it is untested, and requires end-to-end tests to assure the the page works.

An ideal suite of tests should:

  1. Upload a document for a patient and ensure that a success message appears.
  2. Refresh the page and ensure that at least one document is present for the patient. Ideally, it could make sure the element.getText() contains the label put in for the image in step 1.
  3. Attempt to upload an invalid document type, and ensure that an error message is presented to the user.
  4. Delete a document and ensure a success message appears.
  5. The page can toggle between list and thumbnail views.
@jniles jniles added this to the Medical/Hospital Impementation milestone Jul 18, 2016
@jniles
Copy link
Collaborator Author

jniles commented Jul 29, 2016

Closed by #590.

@jniles jniles closed this as completed Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants