Skip to content

Add e2e tests for PMM-14969 GUI upgrade removal#1043

Draft
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/qa-agent-runbook-9fc5
Draft

Add e2e tests for PMM-14969 GUI upgrade removal#1043
cursor[bot] wants to merge 6 commits into
mainfrom
cursor/qa-agent-runbook-9fc5

Conversation

@cursor

@cursor cursor Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds Playwright e2e coverage for PMM-14969 (GUI upgrade removal):

  • PMM-T2300: No "Upgrade Now" button on Updates and Clients pages
  • PMM-T2301: POST /v1/server/updates:start and getStatus return 404
  • PMM-T2302: "Check for updates" setting remains in Advanced settings; no watchtower references

Also updates UpdatesPage page object (replaces removed updateNow button locator).

Manual QA

Verified against FB perconalab/pmm-server-fb:PR-4434-7825b2f — all 3 tests pass.

Relates to PMM-14969 / percona/pmm#5394.

Open in Web View Automation 

cursoragent and others added 4 commits July 2, 2026 17:39
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>
Comment thread codeceptjs-e2e/tests/pages/homePage.js Outdated
return dockerUpgradeHelper.isGuiUpgradeRemoved();
},

async upgradePMMViaDocker(containerName = this.pmmServerName, recreateFn) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a pipeline that does upgrade via Docker there is no need to have it inside of tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).
Comment thread codeceptjs-e2e/tests/upgrade/upgradePMM_test.js
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.

5 participants