mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
[e2e] Fix RPC flaky test (#16530)
This commit is contained in:
parent
d10e6a406c
commit
7caeee9ea3
@ -305,8 +305,10 @@ describe('Stores custom RPC history', function () {
|
|||||||
'.button.btn-danger-primary.modal-container__footer-button',
|
'.button.btn-danger-primary.modal-container__footer-button',
|
||||||
);
|
);
|
||||||
|
|
||||||
// wait for confirm delete modal to be removed from DOM.
|
if (await driver.isElementPresent('span .modal')) {
|
||||||
await confirmDeleteModal.waitForElementState('hidden');
|
// wait for confirm delete modal to be removed from DOM.
|
||||||
|
await confirmDeleteModal.waitForElementState('hidden');
|
||||||
|
}
|
||||||
|
|
||||||
const newNetworkListItems = await driver.findElements(
|
const newNetworkListItems = await driver.findElements(
|
||||||
'.networks-tab__networks-list-name',
|
'.networks-tab__networks-list-name',
|
||||||
|
Loading…
Reference in New Issue
Block a user