Releases: cibernox/ember-native-dom-helpers
Releases · cibernox/ember-native-dom-helpers
Scroll me tender
Touch me baby
#21 Added a tap
helper to simulate touch interactions.
Also added notes on the readme about how to configure testem to enable touch events in firefox and chrome.
Find and Find All helpers
Find returns `null` when result is empty
#15 - Improve check for presence by returning null
for empty find
result
Native find helper
Adds find
helper, which uses setting for rootElement, default is #ember-testing
. Returns either HTMLElement
or a NodeList
.
To use a different value from your config/environment module, add to tests/test-helper.js …
import settings from 'ember-native-dom-helpers/test-support/settings';
import config from '../config/environment';
const { APP: { rootElement } } = config;
settings.rootElement = rootElement || settings.rootElement;