jeremypeter / gulp-litmus Goto Github PK
View Code? Open in Web Editor NEWSent tests to Litmus
Sent tests to Litmus
[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!
I recently switched my gulp tasks from using gulp-email-builder to gulp-litmus, mostly because the former will hang on sending an updated test to Litmus. The problem I have with gulp-litmus is that it does not inline my CSS from a linked stylesheet in the head of my HTML, which gulp-email-builder does by default. Instead I have to also use gulp-inline-css before sending a test to Litmus.
Would it be possible to include this functionality in gulp-litmus to reduce steps? Or at least mention the need for inlining before sending a test to Litmus?
Hi,
I have an account on Litmus but I don't find this URL.
How can I retrieve it ?
Gulp-litmus uses gulp-util as a dependency, which has been deprecated over 2 years now.
Since gulp-litmus only uses gutil.PluginError()
from the gulp-utils package, this can easily be fixed by replacing gulp-util with plugin-error and using the function PluginError()
.
I will open a pull request shortly.
Running the sample code produces some errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.