diff --git a/gulpfile.js b/gulpfile.js index 5d37497ec1..7864290e40 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -154,56 +154,6 @@ function backTest(done) { backTest.description = `Watches for changes in modules to execute backTest task`; // End to end tests - -function e2eOnly() { - require('@babel/register')({presets: ['@babel/preset-env']}); - require('@babel/polyfill'); - - const jasmine = require('gulp-jasmine'); - const SpecReporter = require('jasmine-spec-reporter').SpecReporter; - const createNightmare = require('./e2e/helpers/nightmare'); - - if (argv.show || argv.s) - process.env.E2E_SHOW = true; - process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true; - - - const specFiles = [ - `${__dirname}/e2e/paths/01*/*[sS]pec.js`, - `${__dirname}/e2e/paths/02*/*[sS]pec.js`, - `${__dirname}/e2e/paths/03*/*[sS]pec.js`, - `${__dirname}/e2e/paths/04*/*[sS]pec.js`, - `${__dirname}/e2e/paths/05*/*[sS]pec.js`, - `${__dirname}/e2e/paths/06*/*[sS]pec.js`, - `${__dirname}/e2e/paths/07*/*[sS]pec.js`, - `${__dirname}/e2e/paths/08*/*[sS]pec.js`, - `${__dirname}/e2e/paths/09*/*[sS]pec.js`, - `${__dirname}/e2e/paths/**/*[sS]pec.js`, - `${__dirname}/e2e/helpers/extensions.js` - ]; - - return gulp.src(specFiles).pipe(jasmine({ - errorOnFail: false, - timeout: 10000, - reporter: [ - new SpecReporter({ - spec: { - displayStacktrace: 'summary', - displaySuccessful: true, - displayFailedSpec: true, - displaySpecDuration: true, - } - }) - ] - }) - .on('jasmineDone', function() { - const nightmare = createNightmare(); - nightmare.end(() => {}); - }) - ); -} -e2eOnly.description = `Runs the e2e tests only`; - function e2eSingleRun() { require('@babel/register')({presets: ['@babel/preset-env']}); require('@babel/polyfill'); @@ -607,7 +557,6 @@ module.exports = { backTest, backTestDocker, e2e, - e2eOnly, smokes, smokesOnly, i,