diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-03-21 18:34:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 18:34:03 +0300 |
commit | 9a9e57b2d5a60dee61bf5496067595f2d6f21a6f (patch) | |
tree | f17b6b094930a6678b117de5eb30b6e6f2285e3f /plugins/Transitions | |
parent | 59ee8ce9c8ced7c0fab5d5a910cb5ef4c3a901f4 (diff) |
Fix remaining regressions & ui tests (#17360)
* fix som ui tests
* improve randomly failing ui test
* Ensure not to abort ajax requests on initial page load
* updates expected ui files
* fix more ui tests
* adds missing ui screenshot
* updates expected ui file
Diffstat (limited to 'plugins/Transitions')
-rw-r--r-- | plugins/Transitions/tests/UI/Transitions_spec.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Transitions/tests/UI/Transitions_spec.js b/plugins/Transitions/tests/UI/Transitions_spec.js index 2261967734..4d2ebb61ad 100644 --- a/plugins/Transitions/tests/UI/Transitions_spec.js +++ b/plugins/Transitions/tests/UI/Transitions_spec.js @@ -39,8 +39,11 @@ describe("Transitions", function () { }); it('should load the transitions popup correctly for the page urls report', async function() { + await page.goto('about:blank'); await page.goto("?" + urlBase + "#?" + generalParams + "&category=General_Actions&subcategory=General_Pages&" + "popover=RowAction$3ATransitions$3Aurl$3Ahttp$3A$2F$2Fpiwik.net$2Fdocs$2Fmanage-websites$2F"); + await page.waitFor(500); + await page.waitForNetworkIdle(); await page.hover('.Transitions_CurveTextRight'); expect(await page.screenshotSelector('.ui-dialog')).to.matchImage('transitions_popup_urls'); |