removed usuned task
gitea/salix/puppeteer There was a failure building this commit Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-01-27 18:58:36 +01:00
parent 0f20532fa5
commit 3195964bc1
1 changed files with 0 additions and 51 deletions

View File

@ -154,56 +154,6 @@ function backTest(done) {
backTest.description = `Watches for changes in modules to execute backTest task`; backTest.description = `Watches for changes in modules to execute backTest task`;
// End to end tests // 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() { function e2eSingleRun() {
require('@babel/register')({presets: ['@babel/preset-env']}); require('@babel/register')({presets: ['@babel/preset-env']});
require('@babel/polyfill'); require('@babel/polyfill');
@ -607,7 +557,6 @@ module.exports = {
backTest, backTest,
backTestDocker, backTestDocker,
e2e, e2e,
e2eOnly,
smokes, smokes,
smokesOnly, smokesOnly,
i, i,