[x] Confirm that if the Measure filter is changed, the distribution of observations change
[x] Confirm that different measures reflect different precisions, appropriate to their values
[x] Confirm the ability to apply normal ranges by checking the Normal range box: a range rectangle should appear for each participant
[x] Confirm that typing in a number into either the lower limit or upper limit control updates the x-axis domain accordingly and the chart is redrawn to match the new limits.
[x] Confirm that the lower limit cannot be equal to or greater than the upper limit and the upper limit cannot be equal to or less than the lower limit. Entering this condition should cause the limits to flip automatically and always have the larger limit as the Upper Limit.
[x] Confirm that the Reset Limits button resets the x-axis to the minimum and maximum values in the data.
[x] Confirm that the y-axis changes when the x-axis controls are modified
[x] Confirm that other controls (filtering, changing measures, etc.) work logically when using a custom x-axis. Example of an added filter: {"filters":[{"value_col":"SITE","label":"Site"}]}
[x] Confirm that with a filter added, such as SITE, the x-axis does not change when changing the Site filter but leaving the same Measure selected. The x-axis domain should only change when the measure changes.
[x] View x of x participants note at the top of the page: check that it updates when filters are applied
[x] Confirm that if a filter is added for a variable that is not in the data, then a browser console warning is thrown. Add a made up filter such as {"filters":[{"value_col":"SOTE","label":"Sote"}]} and render the chart. Open the browser's developer tools to the Console view and look for the "The [ Sote ] filter has been removed because the variable does not exist." message.
[x] Confirm that missing or non-numeric values in the dataset are handled and removed. View the same Console in the developer tools and look for the "xxxx missing or non-numeric results have been removed." warning message. Download the dataset, remove some numeric values, save the datset, and then upload the new version, and render the chart. The number of missing or non-numeric values shown in the warning message should increment accordingly.
Chart
[x] Confirm a description of the range and # of records appears below the chart when the user mouses over a bar
[x] Confirm that you can view a detailed listing of measure records by clicking on a bar in the chart: the number of records for the measure and selected range should appear underneath the chart
[x] Confirm that the bars are not cut off on either end of the chart
Data Listing
[x] Confirm # of records is visible in data listing header
[x] Confirm the bottom of the data listing tab has pagination links
[x] Confirm each default page displays 10 records
[x] Confirm “>” pagination arrows link data records to the next page
[x] Confirm “<” pagination arrows link data records to the previous page
[x] Confirm pagination “>>” double arrows link data to the last pages of the data record
[x] Confirm pagination “<<” double arrows link data to the first pages of the data record
[x] Confirm that Search works to filter the data displayed in the listing
[x] Confirm that Sort works in the listing by clicking on column headers
[x] Confirm that you can export the displayed data to a csv via via the Export: CSV button
[x] Confirm data listing resets when a new filter is applied
Regression Tests
Controls
Chart
Data Listing