1
0
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:
seaona 2022-11-16 21:36:47 +01:00 committed by GitHub
parent d10e6a406c
commit 7caeee9ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,8 +305,10 @@ describe('Stores custom RPC history', function () {
'.button.btn-danger-primary.modal-container__footer-button',
);
if (await driver.isElementPresent('span .modal')) {
// wait for confirm delete modal to be removed from DOM.
await confirmDeleteModal.waitForElementState('hidden');
}
const newNetworkListItems = await driver.findElements(
'.networks-tab__networks-list-name',