From 6542cf8fb0a44191c2e9cbf7e731498f475d63c7 Mon Sep 17 00:00:00 2001 From: Jacob R Date: Tue, 13 Aug 2024 14:45:50 +1200 Subject: [PATCH] Removing getting started menu from MTM (#22498) * Removing getting started menu from MTM * Updating test case * Updating expected screenshot after change --------- Co-authored-by: caddoo --- plugins/CorePluginsAdmin/Controller.php | 2 +- plugins/CorePluginsAdmin/tests/UI/TagManagerTeaser_spec.js | 2 +- .../TagManagerTeaser_super_user_activate_plugin.png | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php index 83b1ffb6bb1..a57ced98c3e 100644 --- a/plugins/CorePluginsAdmin/Controller.php +++ b/plugins/CorePluginsAdmin/Controller.php @@ -474,7 +474,7 @@ public function activate($redirectAfter = true) if (!empty($redirectTo) && $redirectTo === 'marketplace') { $this->redirectToIndex('Marketplace', 'overview'); } elseif (!empty($redirectTo) && $redirectTo === 'tagmanager') { - $this->redirectToIndex('TagManager', 'gettingStarted'); + $this->redirectToIndex('TagManager', 'manageContainers'); } elseif (!empty($redirectTo) && $redirectTo === 'referrer') { $this->redirectAfterModification($redirectAfter); } else { diff --git a/plugins/CorePluginsAdmin/tests/UI/TagManagerTeaser_spec.js b/plugins/CorePluginsAdmin/tests/UI/TagManagerTeaser_spec.js index 5e9ad03d528..52f8055ae52 100644 --- a/plugins/CorePluginsAdmin/tests/UI/TagManagerTeaser_spec.js +++ b/plugins/CorePluginsAdmin/tests/UI/TagManagerTeaser_spec.js @@ -63,7 +63,7 @@ describe("TagManagerTeaser", function () { await page.type('#login_form_password', superUserPassword); await page.click('#login_form_submit'); - await page.waitForSelector('.tagManagerGettingStarted'); + await page.waitForSelector('.manageContainer'); await page.waitForNetworkIdle(); await page.waitForTimeout(250); diff --git a/plugins/CorePluginsAdmin/tests/UI/expected-screenshots/TagManagerTeaser_super_user_activate_plugin.png b/plugins/CorePluginsAdmin/tests/UI/expected-screenshots/TagManagerTeaser_super_user_activate_plugin.png index a693f5f8922..6e4f3e46838 100644 --- a/plugins/CorePluginsAdmin/tests/UI/expected-screenshots/TagManagerTeaser_super_user_activate_plugin.png +++ b/plugins/CorePluginsAdmin/tests/UI/expected-screenshots/TagManagerTeaser_super_user_activate_plugin.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ffac267901af2d688520fc0a93a89d40306b331c9db67d750eff29274cb2273f -size 200573 +oid sha256:314ba7fbf008d7e047aae72f68deeb7fbda4aed79d8e6b8b1e5f0ae29c0544c9 +size 57471