PMM-14109 Check the Advisors tooltip on the Advisors tab - #1258
Merged
travagliad merged 1 commit intoAug 27, 2026
Conversation
PMM-14109 moves the Advisor settings out of Advanced settings into a dedicated Advisors tab, but getSubpageTooltips() still looked for the Advisors tooltip on /settings/advanced-settings, where it no longer renders. Give it its own subpage entry. Signed-off-by: Claude <davi.travaglia@percona.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failures fixed (investigator)
E2E / Alerting and Settings UI tests / e2e tests: @fb-alerting|@fb-settings(job 98262608187)codeceptjs-e2e/tests/configuration/verifyPMMSettingsPageFunctionality_test.js:247/@fb-settings— PMM-T1227 + PMM-T1338 "Verify tooltip Read more links on PMM Settings page redirect to working pages"Base branch
This PR targets
PMM-14109-improve-advisor-ux(PR #1083), notmain. The failure onlyexists on that branch paired with the PMM-14109 server build: on
mainthe Advisors settingsstill live on the Advanced tab and the current mapping is correct, so the same change against
mainwould break the test there. Merging this into #1083 is what turns the FB check green.What failed
@fb-alerting|@fb-settingswas the only red check in that run — 45 passed, 1 failed:Not flaky — the scenario carries
.retry(3)on top of the suite's.retry(1)and still failed.Root cause — a stale subpage mapping in this branch, not a product bug
percona/pmm#5656 moves the Advisor settings out of Advanced settings into a dedicated
Advisors tab:
Settings.tsxrenders<AdvisorsForm/>only whentab === 'advisors'(
/settings/advisors), andAdvisorsForm.tsxis the sole owner of theadvisors-labelfield whose description carries
data-testid="advisors-label-description".This branch already followed that move everywhere else — the locator rename
(
$advanced-advisors-label-description→$advisors-label-description),advisorsSettingsUrl,openAdvisorsSettings(), theadvisorstab entry, the split-out "Verify Advisors SectionElements" scenario. The one place left behind is
getSubpageTooltips(), which still lists theAdvisors (
stt) tooltip underadvancedSettingsUrl:PMM-T1227 walks that map, so it looked for the Advisors tooltip on the Advanced tab, where the
element no longer exists.
Changes
codeceptjs-e2e/tests/configuration/pages/pmmSettingsPage.js— give thestttooltip its ownadvisorsSettingsUrlsubpage entry instead of leaving it under Advanced settings.getSubpageTooltips()has exactly one consumer (PMM-T1227), so nothing else is affected; thetooltip's expected text and
https://per.co.na/advisorslink are unchanged and matchSettings.messages.tson percona/pmm#5656.Verification
Throwaway Linode VM, FB server image
perconalab/pmm-server-fb:PR-4478-1cb361d(the exactimage the failing run used,
3.10.0-PMM-14109-improve-advisor-ux-1cb361d43), samepr.codecept.jsinvocation asrunner-e2e-tests-codeceptjs.yml:PMM-14109-improve-advisor-uxas-is):0 passed, 1 failed— sameassertion, same locator, same step trace as CI.
1 passedin 19s.@fb-settingsscenario in that spec file:PMM-T747 ✔, PMM-T841 ✔, PMM-T1227 ✔, PMM-T1967 skipped→3 passed, 1 skipped.The
@fb-alertinghalf of the check and the other@fb-settingsspecs were green in CI bothbefore and after and are untouched by this change; the next FB run on #4478 is what confirms
the whole check end to end.
Generated by Claude Code