Get list of items in the dropdown
So I am writing an acceptance test that I need to get a value of one of the items in the drop down. I tried importing the helper clickTrigger but that seems to not work as I thought. So how can I get those items
I don't know what you mean by "get a value of one of the items". Could you explain further?
@cibernox I believe I have a similar case...
We have a component that has contextually cascading select elements and implements a diminishing pool on them. This was previously implemented with select elements and we had Acceptance tests that would add sets of these and then check the select options to ensure that the diminishing pool was working correctly. Because of the interrelationships this is difficult to test at the component integration layer and the clickTrigger helper is only for integration tests.
My plan is to restructure those acceptance tests to use the native DOM helpers, but It would be handy I think to have a clickTrigger helper for the acceptance level so that the current options could be checked.
I'd be willing to take a shot at adding that helper if that makes sense to you.