emberjs / guides

This repository is DEPRECATED!
https://github.com/ember-learn/guides-source
Other
283 stars 873 forks source link

[Tutorial] Integration test fails on triggerKeyEvent() #2281

Open acorncom opened 6 years ago

acorncom commented 6 years ago

Migrating from https://github.com/emberjs/ember.js/issues/16371

From Autocomplete Component under the heading "An Integration Test" (and just before the heading "Application Tests") the test in file tests/integration/components/list-filter-test.js ("should update with matching listings") fails due to no element passed to triggerKeyEvent() call. This failure also applies to the test "should initially load all listings".

Although I've only looked at Ember for less than 2 days, I get the impression this error is caused by the fact that class .list-filter does not exist on the input HTML tag generated by the list-filter component.

toddjordan commented 6 years ago

I think this may have been fixed by #2269 and/or #2271 . @rayascott can you confirm?