Add e2e tests for PMM-14969 GUI upgrade removal#1043
Draft
cursor[bot] wants to merge 6 commits into
Draft
Conversation
Verify Upgrade Now button and trigger API endpoints are gone, and that the Check for updates setting remains in Advanced settings. Co-authored-by: davi.travaglia <davi.travaglia@percona.com>
Replace GUI upgrade flows with Docker container recreate when target is PMM 3.9+. Add dockerUpgradeHelper for inspect-based recreation, update PMM-T3 and PMM-T1256, and refresh pmmUpgradePage locators. Co-authored-by: davi.travaglia <davi.travaglia@percona.com>
peterSirotnak
requested changes
Jul 9, 2026
| return dockerUpgradeHelper.isGuiUpgradeRemoved(); | ||
| }, | ||
|
|
||
| async upgradePMMViaDocker(containerName = this.pmmServerName, recreateFn) { |
Contributor
There was a problem hiding this comment.
We have a pipeline that does upgrade via Docker there is no need to have it inside of tests.
Contributor
There was a problem hiding this comment.
PMM-14969 removes in-app server upgrade. Drop dockerUpgradeHelper and new Playwright removal tests; skip PMM-T3 and PMM-T1256. Keep read-only update status checks on the Updates page (PMM-T288).
travagliad
reviewed
Jul 9, 2026
travagliad
reviewed
Jul 9, 2026
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.
Summary
Adds Playwright e2e coverage for PMM-14969 (GUI upgrade removal):
POST /v1/server/updates:startandgetStatusreturn 404Also updates
UpdatesPagepage object (replaces removedupdateNowbutton locator).Manual QA
Verified against FB
perconalab/pmm-server-fb:PR-4434-7825b2f— all 3 tests pass.Relates to PMM-14969 / percona/pmm#5394.