3

does anyone have experience with acceptance test errors? i am getting the error "Error: Assertion Failed: Unable to add 'ember-application' class to rootElement. Make sure you set rootElement to the body or an element in the body." can't find any answers to this anywhere. please help. i am stuck.

Micki T
  • 71
  • 5

1 Answers1

1

You probably have a rootElement other than body set in your config/environment.js file (specifically dev environment). Make sure that element (e.g., #someDivName) is in your index.html file in the tests folder. You'll need to restart your ember server after adding this.

Anthony
  • 11
  • 1