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:
Diffstat (limited to 'tests/UI/specs/UIIntegration_spec.js')
-rw-r--r--tests/UI/specs/UIIntegration_spec.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index e34a1cead8..8e118c19e2 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -1029,6 +1029,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
await page.waitForSelector('.ui-dialog');
await page.waitForNetworkIdle();
+ await page.mouse.move(-10, -10);
+
// test succeeds if the element is present
await page.waitForSelector('.ui-dialog > .ui-dialog-content > div.rowevolution');
});
@@ -1056,6 +1058,8 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
elem = await page.$('#secondNavBar');
await elem.hover();
+ await page.mouse.move(-10, -10);
+
pageWrap = await page.$('.ui-dialog > .ui-dialog-content > div.dataTableVizVisitorLog');
expect(await pageWrap.screenshot()).to.matchImage('segmented_visitorlog');
});