You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using import { click } from '@ember/test-helpers' in an integration test in Ember 2.16, calling click('.foo') results in an error, Promise rejected during "my test": Must setup rendering context before attempting to interact with elements.
The click() provided by ember-native-dom-helpers works perfectly, in the same context.
The text was updated successfully, but these errors were encountered:
@edruder I believe that you need to update your tests to the new testing api that was released around a year ago to use the helpers from @ember/test-helpers
@edruder I believe that you need to update your tests to the new testing api that was released around a year ago to use the helpers from @ember/test-helpers
@edruder is having this error while doing exactly what you are saying
Using
import { click } from '@ember/test-helpers'
in an integration test in Ember 2.16, callingclick('.foo')
results in an error,Promise rejected during "my test": Must setup rendering context before attempting to interact with elements.
The
click()
provided byember-native-dom-helpers
works perfectly, in the same context.The text was updated successfully, but these errors were encountered: