From 573f995c28cffef944b8bd70014ce8be591b05ea Mon Sep 17 00:00:00 2001 From: EtherWizard33 Date: Wed, 27 Nov 2024 06:47:29 -0500 Subject: [PATCH] test: fix the e2e test that revokes multiple account permissions on the test-dapp --- .../permission-system-revoking-multiple-accounts.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/specs/permission-systems/permission-system-revoking-multiple-accounts.spec.js b/e2e/specs/permission-systems/permission-system-revoking-multiple-accounts.spec.js index e120079cc73..89d379466b4 100644 --- a/e2e/specs/permission-systems/permission-system-revoking-multiple-accounts.spec.js +++ b/e2e/specs/permission-systems/permission-system-revoking-multiple-accounts.spec.js @@ -59,9 +59,10 @@ describe( // should revoke accounts await Browser.tapNetworkAvatarButtonOnBrowser(); - await ConnectedAccountsModal.tapPermissionsButton(); + await ConnectedAccountsModal.tapManagePermissionsButton(); // replace this by manage permissions button await TestHelpers.delay(1500); - await ConnectedAccountsModal.tapDisconnectAllButton(); + await ConnectedAccountsModal.tapDisconnectAllAccountsAndNetworksButton(); // replace this by the disconnect all button + await ConnectedAccountsModal.tapDisconnectButton(); // replace this by the disconnect all button await Assertions.checkIfNotVisible(ToastModal.notificationTitle); await Browser.tapNetworkAvatarButtonOnBrowser();