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:
authorStefan Giehl <stefan@matomo.org>2021-09-30 16:17:03 +0300
committerGitHub <noreply@github.com>2021-09-30 16:17:03 +0300
commit753f97ad5d78f9664270a9b79087aa951479279d (patch)
tree14ac74b52eee48ff439a82c1b992f69964e8b7ef
parentc69f12a66a86c93e6f9ad8449cf7c4957b128768 (diff)
try to fix failing overlay ui test (#18084)
-rw-r--r--plugins/Overlay/tests/UI/Overlay_spec.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/Overlay/tests/UI/Overlay_spec.js b/plugins/Overlay/tests/UI/Overlay_spec.js
index d005178af1..ddbd3155b6 100644
--- a/plugins/Overlay/tests/UI/Overlay_spec.js
+++ b/plugins/Overlay/tests/UI/Overlay_spec.js
@@ -181,6 +181,11 @@ describe("Overlay", function () {
await page.goto('?module=Widgetize&action=iframe&disableLink=0&widget=1&moduleToWidgetize=Actions&actionToWidgetize=getPageUrls&idSite=3&period=year&date=today&disableLink=1&widget=1&token_auth=a4ca4238a0b923820dcc509a6f75849f', {waitUntil: 'networkidle0'});
await page.waitForNetworkIdle();
+ await page.evaluate(function() {
+ $('tr.subDataTable:contains(resources)').click();
+ });
+
+ await page.waitForFunction(() => !! $('.dataTable tbody tr:contains(index)').length);
const row = await page.jQuery('.dataTable tbody tr:contains(index)');
await row.hover();
@@ -197,4 +202,4 @@ describe("Overlay", function () {
expect(await popup.screenshot({fullPage: true})).to.matchImage('loaded_from_actions');
});
-}); \ No newline at end of file
+});