diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-10-08 06:49:57 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-10-08 06:49:57 +0300 |
commit | 4508f6125931d4d5324291f83b01dff2bf11a8ff (patch) | |
tree | e4343ccf24aad61d16ab12494fda4a846f825ae8 | |
parent | ac0c8a8f96498fd4d42dd25e429c9560875050bc (diff) |
retry me
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | tests/UI/specs/Theme_spec.js | 2 | ||||
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 3 |
3 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# Piwik - piwik.org +# Piwik - piwik.org [![Latest Stable Version](https://poser.pugx.org/piwik/piwik/v/stable)](https://piwik.org/download/) [![Latest Unstable Version](https://poser.pugx.org/piwik/piwik/v/unstable)](https://packagist.org/packages/piwik/piwik) diff --git a/tests/UI/specs/Theme_spec.js b/tests/UI/specs/Theme_spec.js index a7fffd2f30..eb9b9dfff3 100644 --- a/tests/UI/specs/Theme_spec.js +++ b/tests/UI/specs/Theme_spec.js @@ -10,6 +10,8 @@ var fs = require('fs'); describe("Theme", function () { + this.retries(2); + this.timeout(0); function clearAssets() { diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js index 3365f2b545..9e7ed5dd12 100644 --- a/tests/UI/specs/UIIntegration_spec.js +++ b/tests/UI/specs/UIIntegration_spec.js @@ -659,6 +659,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? // visitor profile popup it('should load the visitor profile popup correctly', function (done) { + this.retries(3); + expect.screenshot('visitor_profile_popup').to.be.capture(function (page) { page.load("?" + widgetizeParams + "&" + idSite2Params + "&moduleToWidgetize=Live&actionToWidgetize=getVisitorProfilePopup" + "&enableAnimation=0"); @@ -705,6 +707,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? var url = "?module=CoreHome&action=index&idSite=1&period=year&date=2012-01-13#?category=General_Visitors&subcategory=CustomVariables_CustomVariables&idSite=1&period=year&date=2012-01-13"; expect.page(url).contains('.ui-dialog > .ui-dialog-content > div.dataTableVizVisitorLog:visible', 'segmented_visitorlog', function (page) { + page.wait(1000); page.click('.segmentationTitle'); page.wait(500); page.click('.segname:contains(From Europe)'); |