diff options
author | sgiehl <stefan@matomo.org> | 2019-07-12 17:30:21 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2019-07-12 17:30:21 +0300 |
commit | 92fa8a21adb5a553a8070166f2e26f777dbf6e2f (patch) | |
tree | cfb44b1db7a4411cf1a2abeb342af47a6ae8169a /tests/UI | |
parent | 7946f47147ad55bb21a4784e16b9d29d20243d0b (diff) |
updates expected screenshots
Diffstat (limited to 'tests/UI')
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 4 |
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'); }); |