Skip to content
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

acceptance test failing when run with production flag #1455

Open
ctcpip opened this issue May 19, 2021 · 1 comment
Open

acceptance test failing when run with production flag #1455

ctcpip opened this issue May 19, 2021 · 1 comment

Comments

@ctcpip
Copy link

ctcpip commented May 19, 2021

problem: we have an acceptance test that passes when running ember t. but when running ember t --environment=production, the test fails. it fails because clicking on the trigger does not display any options.

expectation: the test should pass regardless of the environment flag

workaround: add <div id="ember-basic-dropdown-wormhole"></div> to tests/index.html this is a variation of the solution mentioned in #1200 for a similar issue. that solution (adding that same div to application.hbs) also works.

@ctcpip
Copy link
Author

ctcpip commented May 20, 2021

I have another similar failure, this time with ember-basic-dropdown

the explanation of this behavior looks to be this: ember wormhole issue

for elements inside <dropdown.Content>, clicking on them will not fire the actions bound to them.

again, it works with ember t but fails with ember t --environment=production

the workaround is to add <div id="ember-basic-dropdown-wormhole"></div> to the end of application.hbs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant