fix frontend qunit selenium tests - they cannot run against stage or prod

Because frontend tests are disabled on prod and stage, we cannot actually run them in those environments.  It is, however, to run frontend tests via selenium in ephemeral and dev environments as it allows us to excercise the tests on all browsers.

Previously, @jrgm had it so that tests would be run against dev when targeting stage or prod.  I broke that, this fixes it by just disabling them when they cannot be run anyway.