From 1c164179d3077ba806ec653f2569b2ca347e341e Mon Sep 17 00:00:00 2001 From: Alex P Date: Tue, 20 Mar 2018 16:28:23 -0700 Subject: [PATCH] update FFC test Co-authored-by: Iris Scholten --- .../dashboards/components/GraphOptionsFixFirstColumn.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') }) }) })