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
path: root/tests/UI
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-03-24 17:33:36 +0300
committerGitHub <noreply@github.com>2022-03-24 17:33:36 +0300
commit1713349b9ef31cad5a27f74304220958dea790c2 (patch)
tree867eccdaa983ab7d7afb88805d0a937589f18522 /tests/UI
parent91b586205b7f14528ee19b4e8faa6b7ed7133ec2 (diff)
[Vue] migrate DelegateMobileMessagingSettingsController to vue (#18970)
* migrate DelegateMobileMessagintSettingsController to vue * fix UI tests * rebuild * update screenshots * fix UI tests Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'tests/UI')
-rw-r--r--tests/UI/specs/UIIntegration_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index e635ff0c3e..5655a10558 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -812,7 +812,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
await page.goto("?" + generalParams + "&module=MobileMessaging&action=index");
await page.waitForNetworkIdle();
- pageWrap = await page.$('.pageWrap');
+ const pageWrap = await page.$('.pageWrap');
expect(await pageWrap.screenshot()).to.matchImage('admin_settings_mobilemessaging');
})
@@ -820,7 +820,9 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
await page.evaluate(function () {
$('[name=smsProviders]').val('string:Clockwork').trigger('change');
});
+ await page.waitForTimeout(200);
await page.waitForNetworkIdle();
+ await page.waitForTimeout(200);
pageWrap = await page.$('.pageWrap');
expect(await pageWrap.screenshot()).to.matchImage('admin_settings_mobilemessaging_provider');