Skip to content

Pre Release Testing Script

sgober edited this page Feb 19, 2019 · 47 revisions

The following items should be manually tested in the application before a release to fluxnotes.org is made. Verify each endpoint works and do the remainder of the testing on /pilot1.

After testing, any issues found should be make into Jira items. Review with team to determine priority and if any items will impact a release.

This document can evolve over time as features are changed and added.

Before testing

  • Check that new features added in the current sprint are included as items in this script.

Local storage

  • At the start of testing, clear local storage and reload the application. Later steps will test that preferences are saved and reloaded correctly.

Scripts

  • Ensure the script to update all dates on the hardcoded JSON files runs correctly (NOTE: Recent Encounter will only appear in app before 4:00pm)
    • yarn patient-date-update src/dataaccess/HardCodedPatientMidYearDemo18.json 100
    • yarn patient-date-update src/dataaccess/HardCodedSarcomaPatient.json 100
    • yarn patient-date-update src/dataaccess/HardCodedPatient.json 32
    • yarn patient-date-update src/dataaccess/BreastMainTreatmentDebra.json 32
    • yarn patient-date-update src/dataaccess/BreastMainTreatmentDiabetesHypertensionJane.json 32
    • yarn patient-date-update src/dataaccess/BreastMainTreatmentTry3Ella.json 100
    • yarn patient-date-update src/dataaccess/GistAdjuvantIhanos.json 100

Application loads

  • /demo1 loads and has a visit reason
  • /demo2 loads and has a visit reason
  • /pilot1 loads and has a visit reason
  • /ccp loads
  • /ccp2 loads
  • /pilot1np loads

Targeted Data Panel

  • Each section can be loaded
  • Each section can toggle between their different visualizations (to ensure type of each visualization works)
    • Reload application and ensure all sections kept their preferred visualizer
    • Ensure numbers are in red in tabular views of vitals and labs based on points that are in red on graphs
  • Timeline loads correctly and can pan/zoom in time.
  • Filters can be applied to sections (Timeline - filter Over the Counter Meds)
    • Reload application and ensure filter preferences are used
  • Clicking the minimap scrolls to the correct location in TDP
  • Minimap can be edited and sections can be added and removed.
    • The TDP reloads all sections correctly when done editing.
    • Searching for results in sections that are removed are not found.
  • Open Source Note for disease status value in Summary section
  • View source for the condition in Summary section
  • View source attachment for Pathology Report

Note Editing

Create a new note and do the following:

  • Insert follow up template
    • Hovering over the pick list choices bolds the corresponding shortcut in the editor
    • Hovering over the pick list choices scrolls the corresponding shortcut into view on smaller screens
    • Choose GIST for condition. Hit Okay and confirm all shortcuts are properly added.
    • Focus the cursor in the middle of a line in the ONCOHIST section. Type some text and confirm that the text shows up as regular black text
    • Focus the cursor at the end of a line in the ONCOHIST section. Hit enter and type some text and confirm that the newline and text are inserted properly.
    • Close and re-open the note. Confirm that the typed content remains in the note.
  • Insert @recent labs
    • Click in the context tray to insert
  • Insert @vitals
    • Autocomplete typing to insert
  • Insert #disease status
    • Autocomplete typing to insert
  • Insert #progressing
    • Choose from the context portal by clicking
  • Insert #imaging
    • Choose from the context portal by using the arrow keys and enter key
  • Insert #as of #date and choose the date from the calendar
  • Confirm TDP updates with new disease status value in summary with dashed line, line chart has new point plotted, and timeline has new event.
  • Insert "experiencing #toxicity fatigue" (NOTE: test without using the hashtag)
  • Insert #stop medication @active medication and choose a medication from the dropdown. Confirm updates in TDP.
  • Insert a placeholder. Switch to Point of Care and fill in placeholders. Confirm selections are added to note and reflected in TDP.
  • Confirm breadcrumbs updated to reflect all shortcuts used.
  • Hit enter to create a new paragraph. Ensure breadcrumbs are updated.
  • Insert the condition from the Summary section in TDP.
  • Copy "experiencing #toxicity fatigue" from the note and paste it back into the note.
  • Insert #nlptoxicity nausea grade 1. Confirm NLP engine updates phrases. *
  • Change the note name *
  • Check that bold and unordered lists work in the editor
    • Check that underline, italics, and ordered lists work *
  • Sign the note. Confirm new data has solid underline.
  • Open the source note from the new disease status value.
  • Open the source note from the new stopped medication value.
  • Open a signed note and ensure it cannot be edited.

Create a second note and do the following:

  • Insert cancer condition, insert #disease status #stable. Also insert #staging M1.
  • Delete all staging information. Ensure TDP updates to remove new staging data.
  • Use the Close button to close the note. Then reopen the note to ensure data reloads correctly.
  • Delete the note. Ensure TDP updates to remove new disease status data.

Search

  • Search for the following phrases and ensure that TDP and clinical notes scroll and highlight
    • Search for 'complete'
    • Search for 'section'
    • Search for 'ibuprofen'
    • Search for 'remission'
    • Search for 'status'
  • Search for plain text in an open note
  • Search for structured data in an open note

Condition selection

  • Changing condition selection to Fracture updates TDP. Can change back to cancer condition.

Commands

  • Run the following commands and confirm updates to note, TDP, and scrolling:
    • Insert GIST Condition
    • Insert toxicity placeholder by typing
    • Insert disease status placeholder by choosing from note assistant.
    • Switch to Point of Care mode.
    • flux_command('insert-structured-phrase', {phrase:'toxicity', fields: [{name:'adverseEvent', value: 'nausea'}, {name:'grade', value: 'grade 2'}]})
    • flux_command('insert-structured-phrase', {phrase:'toxicity', fields: [{name:'adverseEvent', value: 'fatigue'}, {name:'grade', value: 'grade 2'}]})
    • flux_command('insert-structured-phrase', {phrase:'disease status', fields: [{name:'status', value: 'Stable'}, {name:'reasons', value: ['Physical exam', 'Symptoms']}]})
    • flux_command('navigate_targeted_data_panel', {section:'Summary', subsection:'Most Recent Visit'})

View

  • Ensure iPad Pro view looks good

* Items that are not strictly required, but are features in the app and should be working.

Clone this wiki locally