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:
authordizzy <diosmosis@users.noreply.github.com>2021-06-15 08:30:42 +0300
committerGitHub <noreply@github.com>2021-06-15 08:30:42 +0300
commit1a547d8a90a5971e718e97967f5a482df2a541bb (patch)
treeffa3340c28c46cc0747335ef64aae3c79baef4f0 /plugins/SEO
parentf9fb5b5771deb9350829625181040a1297b51c76 (diff)
Fix UI tests (#17674)
* fixing ui tests * fix another UI test * more test fixes * update expected screenshot
Diffstat (limited to 'plugins/SEO')
-rw-r--r--plugins/SEO/tests/UI/SeoWidget_spec.js1
-rw-r--r--plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.pngbin29243 -> 29263 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SEO/tests/UI/SeoWidget_spec.js b/plugins/SEO/tests/UI/SeoWidget_spec.js
index e7396f8dbe..b65927b182 100644
--- a/plugins/SEO/tests/UI/SeoWidget_spec.js
+++ b/plugins/SEO/tests/UI/SeoWidget_spec.js
@@ -23,6 +23,7 @@ describe("SeoWidgetTest", function () {
await page.goto(url);
await page.evaluate(function () {
$('td:last div').text('3 years 78 days');
+ $('td:contains(Alexa)').next().children('div').text('25,558');
});
expect(await page.screenshotSelector('.widget')).to.matchImage('widget');
});
diff --git a/plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.png b/plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.png
index 705aa65e0e..8feeeecc14 100644
--- a/plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.png
+++ b/plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.png
Binary files differ