Skip to content

PMM-14109 Improve Advisor UX#1083

Open
ademidoff wants to merge 2 commits into
mainfrom
PMM-14109-improve-advisor-ux
Open

PMM-14109 Improve Advisor UX#1083
ademidoff wants to merge 2 commits into
mainfrom
PMM-14109-improve-advisor-ux

Conversation

@ademidoff

Copy link
Copy Markdown
Member

Companion to percona/pmm#5656, which moves the Advisor settings out of the Advanced settings tab into a dedicated Advisors tab (/pmm-ui/settings/advisors).

Changes

  • codeceptjs-e2e/tests/configuration/pages/pmmSettingsPage.js: add advisorsSettingsUrl and openAdvisorsSettings(), add the advisors entry to sectionTabsList/expandSection, add the advisorsButton ($advisors-button) field, and rename the section test ids ($advanced-advisors$advisors-settings, $advanced-advisors-label-description$advisors-label-description).
  • verifyPMMSettingsPageElements_test.js: split the advisor assertions into a new "Verify Advisors Section Elements" scenario that opens the Advisors tab.
  • verifyPMMSettingsPageFunctionality_test.js, advisors/stt/sttSettings_test.js, upgrade/advisorsAlerting_test.js: navigate to the Advisors tab and apply changes via advisorsButton.
  • e2e_tests/pages/ha/settings.page.ts: route the advisors toggle to the Advisors tab and apply via advisors-button.

Field-level test ids (interval inputs, retention, severity threshold, switch-input-stt) are unchanged — they just live under the new tab now.

Note: databaseChecks_test.js (skipped) still asserts the legacy "checks disabled" link points at /settings/advanced-settings; that link is rendered by the legacy Grafana checks UI and is out of scope for this change.

Advisor settings moved out of the Advanced settings tab into a dedicated
Advisors tab (/pmm-ui/settings/advisors) in pmm-ui. Point the codeceptjs
settings page object and specs, plus the Playwright HA settings page, at
the new tab and the renamed advisors-* test ids.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant