diff --git a/tests/configuration/verifyPMMSettingsPageFunctionality_test.js b/tests/configuration/verifyPMMSettingsPageFunctionality_test.js index ef38a4c18..2c2daf7c8 100644 --- a/tests/configuration/verifyPMMSettingsPageFunctionality_test.js +++ b/tests/configuration/verifyPMMSettingsPageFunctionality_test.js @@ -193,6 +193,7 @@ Scenario( 'PMM-T486 - Verify Public Address in PMM Settings @settings @nightly', async ({ I, pmmSettingsPage, settingsAPI }) => { await settingsAPI.changeSettings({ publicAddress: '' }); + I.wait(3); await pmmSettingsPage.openAdvancedSettings(); await pmmSettingsPage.verifyTooltip(pmmSettingsPage.tooltips.advancedSettings.publicAddress); diff --git a/tests/pages/api/settingsAPI.js b/tests/pages/api/settingsAPI.js index 9e97c58c5..e545a5f9f 100644 --- a/tests/pages/api/settingsAPI.js +++ b/tests/pages/api/settingsAPI.js @@ -165,9 +165,7 @@ module.exports = { body.enable_updates = value; break; case 'publicAddress': - value - ? body.pmm_public_address = value - : body.remove_pmm_public_address = null; + body.pmm_public_address = value; break; case 'data_retention': body.data_retention = value;