diff options
-rw-r--r-- | plugins/Overlay/tests/UI/Overlay_spec.js | 7 |
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 +}); |