Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.

Commit c0f3135

Browse files
committed
e2e: don't prevent sauce tests when no desktop
Even if there is no desktop session (and thus no browser on which to run e2e tests locally), allow e2e testing when the `--sauce` flag is set. Closes #667
1 parent 38f93b6 commit c0f3135

File tree

1 file changed

+1
-1
lines changed
  • shared/js/dev-tasks/tasks

1 file changed

+1
-1
lines changed

shared/js/dev-tasks/tasks/e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var args = {
3838

3939
var skipNoDesktop = function (task) {
4040
if (['linux', 'freebsd', 'sunos'].indexOf(process.platform) >= 0) {
41-
if (!process.env.DESKTOP_SESSION) {
41+
if (!process.env.DESKTOP_SESSION && !args.sauce) {
4242
console.log(
4343
chalk.yellow(
4444
'Skipping task ' + task + ' because there is no desktop environment'

0 commit comments

Comments
 (0)