Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-10-06 05:10:50 +0300
committerGitHub <noreply@github.com>2016-10-06 05:10:50 +0300
commitd4ad50fc0f5c24ecb1e25703c9aa284e359120cb (patch)
tree032f5d4ad24a2193dbd191649f4b9724c860777e /tests/lib
parent2ffda92c7dcc381a9ddbfce60c82b0c7cf9169fe (diff)
UI tests tweaking, balance jobs between builds, add some wait, display error in case the widget metadata sync request fails (#10694)
* Balance the UI tests job, second half currently 8 min longer * Update app.js * Display error in UI when the Ajax request for widget metadata fails * Add some wait for the often failing UI test
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/support/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/screenshot-testing/support/app.js b/tests/lib/screenshot-testing/support/app.js
index 4617112baf..85a3ec7a0c 100644
--- a/tests/lib/screenshot-testing/support/app.js
+++ b/tests/lib/screenshot-testing/support/app.js
@@ -142,7 +142,7 @@ Application.prototype.loadTestModules = function () {
// we apply this option only if not a specific plugin or test suite was requested. Only there for travis to
// split tests into multiple jobs.
var numTestsFirstHalf = Math.round(mocha.suite.suites.length / 2);
- numTestsFirstHalf += 7;
+ numTestsFirstHalf += 8;
mocha.suite.suites = mocha.suite.suites.filter(function (suite, index) {
if (options['run-first-half-only'] && index < numTestsFirstHalf) {
return true;
@@ -264,4 +264,4 @@ Application.prototype.appendMissingExpected = function (screenName) {
fs.write(missingExpectedFilePath, screenName + "\n", "a");
};
-exports.Application = new Application(); \ No newline at end of file
+exports.Application = new Application();