I can reference a collection of p tags in lwc-jest, but am not able to do so for a lightning-combobox's items.
This gives me values:
const cats = element.shadowRoot.querySelectorAll('p');
expect(cats.length).toBe(mockGetPicklistValues.values.length);
And this does not:
const comboboxEl = element.shadowRoot.querySelector('lightning-combobox');
console.log(JSON.stringify(comboboxEl));
How do I test the items in a lightning-combobox?