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

add a test to prevent regression of #14888 #14889

Closed

Conversation

GavinJoyce
Copy link
Member

@GavinJoyce GavinJoyce commented Jan 30, 2017

I've had to resort to adding a non-existent data-ember-action-999999999 attribute to the element as I couldn't find a way to exercise the if (action && action.eventName === eventName) { guard without it. The component test doesn't seem to result in a focusout event being raised when the element is removed as it does in a production app.

This isn't ideal, a change to how we attribute actions to elements mightn't result in this test failing.

/cc @rwjblue perhaps you have some ideas on how we could remove the brittleness from this test?

here's the test failing without #14890:

screen shot 2017-01-31 at 15 38 58

@GavinJoyce GavinJoyce force-pushed the gj/failing-test-for-#14888 branch 2 times, most recently from 351128a to 5b7ff80 Compare January 31, 2017 15:32
@GavinJoyce GavinJoyce changed the title [wip] trying to create a failing test for #14888 add a test to prevent regression of #14888 Jan 31, 2017
@GavinJoyce GavinJoyce force-pushed the gj/failing-test-for-#14888 branch from 5b7ff80 to ad19850 Compare January 31, 2017 15:53
@GavinJoyce GavinJoyce closed this Mar 14, 2017
@GavinJoyce GavinJoyce deleted the gj/failing-test-for-#14888 branch March 14, 2017 21:38
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

Successfully merging this pull request may close these issues.

1 participant