update FFC test

Co-authored-by: Iris Scholten <iris@influxdata.com>
pull/3023/head
Alex P 2018-03-20 16:28:23 -07:00
parent 942c8033cc
commit 1c164179d3
1 changed files with 2 additions and 1 deletions

View File

@ -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')
})
})
})