Multiple failures when running exam:iterate using chrome headless
hoIIer opened this issue · 0 comments
hoIIer commented
Hello, I just recently added some acceptance tests to my app and when running ember exam:iterate X
I get:
Assertion Failed: You cannot use the same root element (BODY) multiple times in an Ember.Application
If I run ember exam
or ember test
all of my tests pass.
If I run ember exam --random baamzbk9l78
my acceptance tests fail with one error that looks mirage related Cannot read property 'createList' of undefined
and other via adapter operation failed.
I wasn't sure if it was testem related but here is my testem file:
/* eslint-env node */
const config = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: [
'Chrome',
],
launch_in_dev: [
'Chrome',
],
browser_args: {
Chrome: [
'--headless',
'--no-sandbox',
'--remote-debugging-address=0.0.0.0',
'--remote-debugging-port=9222',
'--touch-events',
'--user-data-dir=/data',
],
},
};