Commit 76beb659 authored by CarlosGC1989's avatar CarlosGC1989
Browse files

Refactoriza algunos tests para solucionar errores

parent a1ee4411
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -112,8 +112,7 @@ module.exports = function(grunt) {
				commandsGrunt += gruntCommand + guestTestsParams + portParam + serverPort + ' ; ';
				serverPort += 3;

				var firstPartSpecificParamsList = Math.floor(specificParamsList.length / 2),
					secondPartSpecificParamsList = specificParamsList.length - firstPartSpecificParamsList;
				var firstPartSpecificParamsList = Math.floor(specificParamsList.length / 2);

				for (i = 0; i < firstPartSpecificParamsList; i++) {
					specificParams = specificParamsList[i];
@@ -123,8 +122,9 @@ module.exports = function(grunt) {
				}

				commandsGrunt += cmds.join(' & ') + ' ; ';
				cmds = [];

				for (i = firstPartSpecificParamsList; i < secondPartSpecificParamsList; i++) {
				for (i = firstPartSpecificParamsList; i < specificParamsList.length; i++) {
					specificParams = specificParamsList[i];

					cmds.push(gruntCommand + specificParams + portParam + serverPort);
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ module.exports = function(args) {
		},

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

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

				return indexPage
					.goToUrl()
					.then(Utils.acceptCookies())
					.then(Utils.clickElementAndCheckUrl(whatIsRedmicSelector, whatIsRedmicPageUrl));
			},

@@ -45,7 +46,6 @@ define([

				return indexPage
					.goToUrl()
					.then(Utils.acceptCookies())
					.then(Utils.clickElementAndCheckUrl(registerLinkSelector, registerPageUrl));
			},

+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ define([], function() {
			, feedback: '/feedback'
		},
		timeout: {
			veryLongFindElement: 50000,
			veryLongFindElement: 70000,
			longFindElement: 30000,
			findElement: 5000,
			shortFindElement: 500,
+0 −1
Original line number Diff line number Diff line
@@ -179,7 +179,6 @@ define([
			return lang.partial(function(self) {

				return this.parent
					.sleep(Config.timeout.shortSleep)
					.then(self.clickDisplayedElementWithControlError('div.alertify-notifier > div.ajs-visible'))
					.then(function(success) {

Loading