ember-paper
ember-paper copied to clipboard
Can't open paper-menu in acceptance test
I've been upgrading to the latest version of ember-paper (alpha 16) over the last week. It's gone fairly well. However all my tests that were running previously using paper-menus are now broken.
I've paused the acceptance test right before it is supposed to click on a trigger to open a paper-menu and I have tried to click on it directly. I don't get any error message, but they just won't open.
I've looked in to the ember-basic-dropdown which it's based on and tried his helpers, but still no luck.
Wondering if anyone else has seen this, or knows how I could resolve it?
@dgavey I was able to get the ember-basic-dropdown
helpers working. I will put together a PR for ember-paper
testing helpers.
Thanks for the reply, I'll take a closer look at them then.
Ok, I was able to get it working with and without the ember-basic-dropdown helpers. The big issue was that the paper-menu items were displaying but were hidden. I'm still not sure why they are hidden when in testing mode, but the scripts can fire them so I'm past the issue.
Also experiencing a similar issue. Seems like <div id="ember-basic-dropdown-wormhole">
isn't added in tests.
I'm also having the same issue, were you able to solve it?
Not yet, they are still hidden, but in the DOM.
Hello, currently working with paper-menu and unable to test. Could someone tell me how they got it working in acceptance tests. I tried using ember-basic-dropdown test helpers. My tests pass when I check if the menu items are rendered but when I pause my test, the menu is not visible in the view.. Thank you