Skip to content

Regression Tests

jwildfire edited this page Jun 4, 2019 · 4 revisions

Part 1 - Default Data

  1. Open the app and click on the data tab - Confirm that the example data loads and is assigned the ADaM data standard. Confirm that the data preview is shown.
  2. Check to the Settings Tab - Confirm that settings sections are shown and can be hidden/shown using toggles in upper right. Confirm that green checks are shown next to most settings in the Data Mappings page (and no Red Xs are shown)
  3. Check to the Chart Tab - Confirm that all charts render as expected and basic functionality is working
  4. Make Invalid Setting
    • Change to the settings tab
    • Clear the ID Column Setting and confirm that the green check turns to a red X.
    • Restore the default selection, and confirm the green check returns
    • Clear the Measure Column Setting - Confirm that red xs appear for measure column and the 4 'value' settings below it.
    • Restore the Measure Setting default - Confirm that green checks return
    • Select "VISIT" for the 'Visit Number column' setting - a red x should appear. Hover on the x, and confirm that an informative error message is shown
    • Select "VISITNUM" for the 'Visit Number column' setting - a green check should appear
  5. Add new settings
    • Select "VISIT" for 'Visit column' - On the edish Chart tab, click a point and then hover over one of the new points that appear. Confirm that Visit and Visit Column information is shown.
    • Add 1 filter - On the settings tab, add a single filter. Confirm that the filter is added to both charts and works as expected.
    • Add multiple filters - On the settings tab, add more filters. Confirm that the filters are added to all charts and works as expected.

Part 2 - Imported Data

  1. Load 4 .csv data files from here
  2. Confirm that the proper data standard is detected
  3. Fill in the required settings (with red x's) for each data set, and confirm that charts render as expected
Clone this wiki locally