mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[e2e] Fix RPC flaky test (#16530)
This commit is contained in:
parent
05bc2fdde7
commit
8b1980d77a
@ -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