diff --git a/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/legend.test.js b/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/legend.test.js index abbfa1068a8873334d41b9b2a823436453e4222d..028fe515e783dbffeb183e70bd6a3ad8e35b9e82 100644 --- a/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/legend.test.js +++ b/assets/src/scripts/monitoring-location/components/hydrograph/vue-components/legend.test.js @@ -90,7 +90,15 @@ describe('monitoring-location/components/hydrograph/legend module', () => { it('Expects that the legend has the expected text', () => { let text = wrapper.findAll('text'); - + expect(text[0].text()).toBe('Current:'); + expect(text[1].text()).toBe('Approved'); + expect(text[2].text()).toBe('Estimated'); + expect(text[3].text()).toBe('Provisional'); + expect(text[4].text()).toBe('Ice Affected'); + expect(text[5].text()).toBe('Field visit:'); + expect(text[6].text()).toBe('Provisional'); + expect(text[7].text()).toBe('Approved'); + expect(text[8].text()).toBe('Revised'); }); }); }); \ No newline at end of file