Commit 5501ce6c authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Refactoriza cosas en los tests

Cambia tiempo máximo para un test.
Añade en tarea de test el eliminar los .config.
Refactoriza el selector de los listados en los test.
Cambia valores en configuraciones de los tests.
parent 7cd55621
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -29,10 +29,13 @@ module.exports = function(grunt) {
			coverage = grunt.option('coverage'),

			currOutputDirName = gruntTaskName + '_on-port_' + ownServerPort,
			configDirName = '.config-' + ownServerPort,

			configPath = path.join(rootPath, outputPath, configDirName),
			reportersOutputPath = path.join(rootPath, outputPath, currOutputDirName),
			absoluteTestsPath = path.join(rootPath, testsPath);

		grunt.file['delete'](configPath);
		grunt.file['delete'](reportersOutputPath);
		grunt.file.mkdir(reportersOutputPath);

+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ module.exports = function(args) {
		},

		maxConcurrency: 3,
		defaultTimeout: 180000,
		defaultTimeout: 220000,
		leaveRemoteOpen: false,

		loader: {
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ define([

	new _DetailsMap({
		namePrefix: namePrefix + ' area',
		urlValue: '/admin/activity-area/1143'
		urlValue: '/admin/activity-area/1152'
	});

	new _DetailsMap({
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ define([

	var namePrefix = 'Activity type domain page',
		urlValue = '/domains-admin/activity-types',
		textSearchValue = 'Censos puntuales';
		textSearchValue = 'Biometrías y desarrollo';

	new _Domain({
		namePrefix: namePrefix,
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ define([
				suiteName: suiteName,
				definition: SpeciesDistribution,
				properties: {
					listIntabs: true,
					textSearchValue: this.textSearchValue,
					suiteName: suiteName
				}
Loading