-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration test failing #29
Comments
I made a helper to facilitate this which I call in /**
* Helper to initialize ember-modal-dialog correctly for tests
*
* @param self: `this` in a component integration test that uses ember modal dialog
* @param divId: string representing HTML element ID
*/
export default function(self, divId){
let modalDialogService = self.container.lookup('service:modal-dialog');
modalDialogService.destinationElementId = divId || 'ember-testing'; // maybe 'ember-testing-container' is better?
}
|
From what I can tell, ember-tether doesn't have a dependency on ember-wormhole anymore, so setting the // Before tether is activated on the element. E.g if you're using tether for a popover
// run this line before the popover is shown:
this.$('.classname-of-your-tethered-element').parents().css('position', 'static')
// then show the tethered element. In my case, it's something like:
// this.$('.tethered-element-anchor').click() |
Hi,
When using this component as part of another component, the integration for the parent component is failing.
Any ideas on how to get around this?
Maybe related to: yapplabs/ember-wormhole#25
The text was updated successfully, but these errors were encountered: