jeremypeter / gulp-litmus

Sent tests to Litmus
21 stars 8 forks source link

Task hangs on sending new version #6

Open scnroy opened 8 years ago

scnroy commented 8 years ago
[10:57:08] Using gulpfile ~/my-project/gulpfile.js
[10:57:08] Starting 'test'...
[10:57:08] Finished 'test' after 56 ms
Sending new version: My Project
New version sent!
┌───────────────────────┐
│ Avg. Time to Complete │
├───────────────────────┤
│ 1 mins                │
└───────────────────────┘
^C

I can upload a test perfectly the first time, but when I try to send a new version of the same email, the task hangs and I have to abort the task. Then, when I try again, it just uploads it as a new checklist and succeeds.

Here's the litmus task in my gulpfile. I'm pulling sensitive information from an external data file secrets.json:

// Upload tests to Litmus
var config = {
  username: secrets.litmus.username,
  password: secrets.litmus.password,
  url: secrets.litmus.url,
  applications: secrets.litmus.applications
}

gulp.task('test', function () {
  return gulp.src('./index.html')
    .pipe(litmus(config));
});

Has anyone else had this issue? Thanks!

jeremypeter commented 8 years ago

@scnroy I'll need to update this because they changed the way they handle their API submissions and no longer support new versions.