diff --git a/ui/test/dashboards/components/GraphOptionsFixFirstColumn.test.tsx b/ui/test/dashboards/components/GraphOptionsFixFirstColumn.test.tsx index e866fff2c..17979db74 100644 --- a/ui/test/dashboards/components/GraphOptionsFixFirstColumn.test.tsx +++ b/ui/test/dashboards/components/GraphOptionsFixFirstColumn.test.tsx @@ -19,10 +19,11 @@ describe('Dashboards.Components.GraphOptionsFixFirstColumn', () => { it('shows checkbox and label', () => { const {wrapper} = setup() const label = wrapper.find('label') - const checkbox = wrapper.find({'data-test': 'checkbox'}) + const checkbox = wrapper.find('input') expect(label.exists()).toBe(true) expect(checkbox.exists()).toBe(true) + expect(checkbox.prop('type')).toBe('checkbox') }) }) })