Skip to content

Commit

Permalink
PMM-7: Fix Docker upgrade (#869)
Browse files Browse the repository at this point in the history
* PMM-7: Log docker upgrade

* PMM-7: Fix docker upgrade
  • Loading branch information
peterSirotnak authored Sep 30, 2024
1 parent 2ffe8f8 commit 78fc1fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/upgradePMM_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,12 @@ Scenario(
'PMM-T289 Verify Whats New link is presented on Update Widget @ovf-upgrade @ami-upgrade @pre-upgrade @pmm-upgrade',
async ({ I, homePage }) => {
const locators = homePage.getLocators(versionMinor);
const dockerUpgrade = process.env.PERFORM_DOCKER_WAY_UPGRADE || '';

I.amOnPage(homePage.url);
// Whats New Link is added for the latest version hours before the release,
// hence we need to skip checking on that, rest it should be available and checked.
if (majorVersionDiff >= 1 && patchVersionDiff >= 1) {
if (majorVersionDiff >= 1 && patchVersionDiff >= 1 && dockerUpgrade === 'no') {
I.waitForElement(locators.whatsNewLink, 30);
I.seeElement(locators.whatsNewLink);
const link = await I.grabAttributeFrom(locators.whatsNewLink, 'href');
Expand Down

0 comments on commit 78fc1fa

Please sign in to comment.