Automatic testing with custom launchers


#1

Hi,

Starting with 55 (current Nightly), Firefox get a new headless mode (https://bugzilla.mozilla.org/show_bug.cgi?id=1338004). I wanted to test it with my ember app without success

$  /path/to/firefox --headless
*** You are running in headless mode.

I added in my testem.js

...
"launchers": {
  "Nightly": {
    "command": "/path/to/firefox --headless"
  }
}
...

Then ember test --launch Nightly but nothing happens… Somebody have an idea ?

Thanks a lot


#2

According to https://bugzilla.mozilla.org/show_bug.cgi?id=1338004#c36 the command is supposed to be

MOZ_HEADLESS=1 /path/firefox


#3

Well, I understand better the problem. I want to run testem with a custom launcher, I need to provide the commend to run and not only the commend to launch the launcher. But what is the command to run ?