Phantomjs and foundation 5 acceptance testing


#1

Hi!

I’m having trouble getting an action to trigger that’s activated from a dropdown menu item in a foundation 5 top bar. When I move the link to the top level of the top bar I can trigger it using the click helper, but if it’s in the dropdown it won’t trigger in PhantomJS - although it works fine in the other browsers.

Has anyone else come across this issue and come up with a solution?


#2

An update on this - I have tried a whole bunch of different options and none have worked, but when I put an onclick handler in my component’s .hbs file with “console.log(‘it was clicked’)” phantomjs is logging the click - but the action isn’t being triggered.

I am using the {{action}} handler on the element, which seems to be ignored by ember.