diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-06-15 08:30:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 08:30:42 +0300 |
commit | 1a547d8a90a5971e718e97967f5a482df2a541bb (patch) | |
tree | ffa3340c28c46cc0747335ef64aae3c79baef4f0 /plugins/SEO | |
parent | f9fb5b5771deb9350829625181040a1297b51c76 (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.js | 1 | ||||
-rw-r--r-- | plugins/SEO/tests/UI/expected-ui-screenshots/SeoWidgetTest_widget.png | bin | 29243 -> 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 Binary files differindex 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 |