Skip to content

Commit

Permalink
PMM-7 fix settings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yurkovychv committed Sep 2, 2024
1 parent c3cc5db commit 44b13ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/configuration/verifyPMMSettingsPageElements_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ Scenario('@PMM-T1866 - Verify if public address has an port assigned and followi
I.fillField(pmmSettingsPage.fields.publicAddressInput, '192.168.1.1:8433');
pmmSettingsPage.applyChanges();
I.dontSeeElement(pmmSettingsPage.fields.errorPopUpElement);
I.wait(5);
I.refreshPage();
await pmmSettingsPage.verifySettingsValue(pmmSettingsPage.fields.publicAddressInput, '192.168.1.1:8433');
// clearField and customClearField methods doesn't work for this field
I.usePlaywrightTo('clear field', async ({ page }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ Scenario(

I.assertTrue(publicAddressValue.length > 0, 'Expected the Public Address Input Field to be not empty!');
pmmSettingsPage.applyChanges();
I.wait(5);
I.refreshPage();
await pmmSettingsPage.waitForPmmSettingsPageLoaded();
const publicAddressAfterRefresh = await I.grabValueFrom(pmmSettingsPage.fields.publicAddressInput);
Expand Down

0 comments on commit 44b13ea

Please sign in to comment.