diff --git a/test/e2e/snaps/test-snap-bip-32.spec.js b/test/e2e/snaps/test-snap-bip-32.spec.js index 6407f0d2c4e1..2b05c8c4a7f6 100644 --- a/test/e2e/snaps/test-snap-bip-32.spec.js +++ b/test/e2e/snaps/test-snap-bip-32.spec.js @@ -48,13 +48,10 @@ describe('Test Snap bip-32', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-bip-44.spec.js b/test/e2e/snaps/test-snap-bip-44.spec.js index 17687a84bb5f..54cd9b142541 100644 --- a/test/e2e/snaps/test-snap-bip-44.spec.js +++ b/test/e2e/snaps/test-snap-bip-44.spec.js @@ -47,13 +47,10 @@ describe('Test Snap bip-44', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-confirm.spec.js b/test/e2e/snaps/test-snap-confirm.spec.js index 12df8e026c9f..4843dad42f66 100644 --- a/test/e2e/snaps/test-snap-confirm.spec.js +++ b/test/e2e/snaps/test-snap-confirm.spec.js @@ -47,13 +47,10 @@ describe('Test Snap Confirm', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-cronjob.spec.js b/test/e2e/snaps/test-snap-cronjob.spec.js index ae9944c17bfc..5818c1d379ee 100644 --- a/test/e2e/snaps/test-snap-cronjob.spec.js +++ b/test/e2e/snaps/test-snap-cronjob.spec.js @@ -47,13 +47,10 @@ describe('Test Snap Cronjob', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-dialog.spec.js b/test/e2e/snaps/test-snap-dialog.spec.js index 54fd2986bccf..f910a6b3b667 100644 --- a/test/e2e/snaps/test-snap-dialog.spec.js +++ b/test/e2e/snaps/test-snap-dialog.spec.js @@ -47,13 +47,10 @@ describe('Test Snap Dialog', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-error.spec.js b/test/e2e/snaps/test-snap-error.spec.js index 99fa7943a1a1..2efb31d89eb9 100644 --- a/test/e2e/snaps/test-snap-error.spec.js +++ b/test/e2e/snaps/test-snap-error.spec.js @@ -48,13 +48,10 @@ describe('Test Snap Error', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-installed.spec.js b/test/e2e/snaps/test-snap-installed.spec.js index e1c695dd0e05..08cabb6ecc93 100644 --- a/test/e2e/snaps/test-snap-installed.spec.js +++ b/test/e2e/snaps/test-snap-installed.spec.js @@ -47,13 +47,10 @@ describe('Test Snap Installed', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); @@ -86,13 +83,10 @@ describe('Test Snap Installed', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-management.spec.js b/test/e2e/snaps/test-snap-management.spec.js index 049cbd22f93a..f66068b531d2 100644 --- a/test/e2e/snaps/test-snap-management.spec.js +++ b/test/e2e/snaps/test-snap-management.spec.js @@ -49,13 +49,10 @@ describe('Test Snap Management', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(1000); diff --git a/test/e2e/snaps/test-snap-managestate.spec.js b/test/e2e/snaps/test-snap-managestate.spec.js index 43bc3421b781..28892419d34c 100644 --- a/test/e2e/snaps/test-snap-managestate.spec.js +++ b/test/e2e/snaps/test-snap-managestate.spec.js @@ -50,13 +50,10 @@ describe('Test Snap manageState', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); // approve install of snap diff --git a/test/e2e/snaps/test-snap-notification.spec.js b/test/e2e/snaps/test-snap-notification.spec.js index bba6b0fabcfb..81a4a130786b 100644 --- a/test/e2e/snaps/test-snap-notification.spec.js +++ b/test/e2e/snaps/test-snap-notification.spec.js @@ -50,13 +50,10 @@ describe('Test Snap Notification', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); // approve install of snap diff --git a/test/e2e/snaps/test-snap-rpc.spec.js b/test/e2e/snaps/test-snap-rpc.spec.js index 166d0b265b52..22f6d6163729 100644 --- a/test/e2e/snaps/test-snap-rpc.spec.js +++ b/test/e2e/snaps/test-snap-rpc.spec.js @@ -49,13 +49,10 @@ describe('Test Snap RPC', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-txinsights.spec.js b/test/e2e/snaps/test-snap-txinsights.spec.js index d81daa8f28c1..4003501a638d 100644 --- a/test/e2e/snaps/test-snap-txinsights.spec.js +++ b/test/e2e/snaps/test-snap-txinsights.spec.js @@ -48,13 +48,10 @@ describe('Test Snap TxInsights', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); // delay for npm installation await driver.delay(2000); diff --git a/test/e2e/snaps/test-snap-update.spec.js b/test/e2e/snaps/test-snap-update.spec.js index 8dfcc3d4ac8b..5339ded07ee1 100644 --- a/test/e2e/snaps/test-snap-update.spec.js +++ b/test/e2e/snaps/test-snap-update.spec.js @@ -49,13 +49,10 @@ describe('Test Snap update', function () { 'MetaMask Notification', windowHandles, ); - await driver.clickElement( - { - text: 'Connect', - tag: 'button', - }, - 10000, - ); + await driver.clickElement({ + text: 'Connect', + tag: 'button', + }); await driver.delay(2000); // approve install of snap