Debug an element: console.log(element.debug())
Test the html rendered: expect(element.html()).toEqual('<div>content</div>');
Find a component: element.find('ComponentName')
or element.find(ComponentName)
eg: expect(element.find('Component').length).toBe(1)
expect(element.find('Component')).toBePresent()
Test the component prop: expect(element.find('Component')).toHaveProp('message', 'there is an error')