From f79b39f1d82a99fd74104a1e1be387ced4776a2b Mon Sep 17 00:00:00 2001 From: Aaron Briggs <abriggs@contractor.usgs.gov> Date: Wed, 24 Mar 2021 15:44:30 -0500 Subject: [PATCH] fixed tests for hydrograph index --- .../monitoring-location/components/hydrograph/index.test.js | 5 ----- .../monitoring-location/components/hydrograph/parameters.js | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/index.test.js b/assets/src/scripts/monitoring-location/components/hydrograph/index.test.js index d353faef7..244708a47 100644 --- a/assets/src/scripts/monitoring-location/components/hydrograph/index.test.js +++ b/assets/src/scripts/monitoring-location/components/hydrograph/index.test.js @@ -326,11 +326,6 @@ describe('monitoring-location/components/hydrograph module', () => { expect(selectAll('#select-time-series').size()).toBe(1); }); - it('should have tooltips for the select series table', () => { - // one for each of the two parameters and the WaterAlert links - expect(selectAll('table .usa-tooltip').size()).toBe(10); - }); - it('should have data tables for hydrograph data', () => { expect(select('#iv-hydrograph-data-table-container').size()).toBe(1); expect(select('#gw-hydrograph-data-table-container').size()).toBe(1); diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/parameters.js b/assets/src/scripts/monitoring-location/components/hydrograph/parameters.js index 347a283c8..520134330 100644 --- a/assets/src/scripts/monitoring-location/components/hydrograph/parameters.js +++ b/assets/src/scripts/monitoring-location/components/hydrograph/parameters.js @@ -209,6 +209,7 @@ export const drawSelectionList = function(container, store, siteno) { .attr('id', 'parameter-selection-title') .text('Select Data to Graph'); const selectionList = container.append('div') + .attr('id', 'select-time-series') .attr('class', 'grid-container'); parameters.forEach(parameter => { -- GitLab