File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
packages/compass-e2e-tests/helpers Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export async function openSettingsModal(
1111 });
1212
1313 const settingsModalElement = browser.$(Selectors.SettingsModal);
14- await settingsModalElement.waitForExist ();
14+ await settingsModalElement.waitForDisplayed ();
1515 if (tab) {
1616 await browser.clickVisible(Selectors.SettingsModalTabSelector(tab));
1717 }
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ export async function saveFavorite(
2020 });
2121
2222 await browser.clickVisible(Selectors.ConnectionModalSaveButton);
23- await browser.$(Selectors.ConnectionModal).waitForExist({ reverse: true });
23+ await browser
24+ .$(Selectors.ConnectionModal)
25+ .waitForDisplayed({ reverse: true });
2426 return;
2527}
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ export const SettingsInputElement = (settingName: string): string => {
2525};
2626
2727// LG Modals
28- export const LGModal = '[data-testid ="lg-modal"]';
29- export const LGModalClose = '[data-testid ="lg-modal-close"]';
28+ export const LGModal = '[data-lgid ="lg-modal"]';
29+ export const LGModalClose = '[data-lgid ="lg-modal-close"]';
3030
3131// LG Toasts container (these test ids are used by LG in the toast and are not in the code anywhere).
3232export const LGToastContainer = '[data-testid="lg-toast-scroll-container"]';
You can’t perform that action at this time.
0 commit comments