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/UI
diff options
context:
space:
mode:
authorsgiehl <stefan@matomo.org>2019-07-12 17:30:21 +0300
committersgiehl <stefan@matomo.org>2019-07-12 17:30:21 +0300
commit92fa8a21adb5a553a8070166f2e26f777dbf6e2f (patch)
treecfb44b1db7a4411cf1a2abeb342af47a6ae8169a /tests/UI
parent7946f47147ad55bb21a4784e16b9d29d20243d0b (diff)
updates expected screenshots
Diffstat (limited to 'tests/UI')
-rw-r--r--tests/UI/specs/UIIntegration_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index 1d6c3efe8d..adf116a2b9 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -224,7 +224,9 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
await page.evaluate(function(){
$('.ui-tooltip:visible .rel-time').data('actiontime', Math.floor(new Date((new Date()).getTime()-(4*3600*24000))/1000));
});
- await page.waitFor(50);
+
+ // updating the time might take up to one second
+ await page.waitFor(1000);
expect(await page.screenshotSelector('.pageWrap,.ui-tooltip')).to.matchImage('visitors_realtime_map');
});