Skip to content

Add (failing) test to reproduce #69#70

Open
simonihmig wants to merge 1 commit into
ember-polyfills:masterfrom
simonihmig:failing-with-attribute-bindings
Open

Add (failing) test to reproduce #69#70
simonihmig wants to merge 1 commit into
ember-polyfills:masterfrom
simonihmig:failing-with-attribute-bindings

Conversation

@simonihmig
Copy link
Copy Markdown
Contributor

No description provided.

@simonihmig
Copy link
Copy Markdown
Contributor Author

Interestingly, these tests fail (as expected) for Ember 2.18 and 2.16, but pass for 3+ as well as 2.12(!)

assert.dom('[data-foo="bar"]').exists();
});

test('with attributes - has attributeBindings', async function(assert) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I wouldn't expect attributeBindings to have any effect here (since the invocation doesn't pass @data-foo).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, indeed. But it should still have that attribute applied (not through attributeBindings but through the angle bracket invocation with that attribute), but the presence of that attributeBindings seems to make this fail! So it does have an (unwanted) effect here!

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.

2 participants