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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-09-01 23:56:02 +0300
committerGitHub <noreply@github.com>2016-09-01 23:56:02 +0300
commitb3cab456ed1915ec7022d128aad1c18dd265fd36 (patch)
treeb5266bf159e2b0d3af98c9f5236ea85e4bd20889 /tests/UI/specs
parent055a5d90fa9873d88bc6803c5b1c4cb46c8614e6 (diff)
trying to fix ui tests by waiting a little for page to render
Diffstat (limited to 'tests/UI/specs')
-rw-r--r--tests/UI/specs/UIIntegration_spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index 205e5425a7..1f45163877 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -463,6 +463,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
it('should load the Settings > General Settings admin page correctly', function (done) {
expect.screenshot('admin_settings_general').to.be.captureSelector('.pageWrap', function (page) {
page.load("?" + generalParams + "&module=CoreAdminHome&action=generalSettings");
+ // angular might need a little to render after page has loaded
+ page.wait(1000);
}, done);
});