diff --git a/test/e2e/accounts/snap-account-eth-swap.spec.ts b/test/e2e/accounts/snap-account-eth-swap.spec.ts index c72850e2e15a..4972698792c4 100644 --- a/test/e2e/accounts/snap-account-eth-swap.spec.ts +++ b/test/e2e/accounts/snap-account-eth-swap.spec.ts @@ -35,14 +35,8 @@ describe('Snap Account - Swap', function () { title: this.test?.fullTitle(), testSpecificMock: mockSwapsTransactionQuote, }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); await installSnapSimpleKeyring(driver); await driver.switchToWindowWithTitle( WINDOW_TITLES.ExtensionInFullScreenView, diff --git a/test/e2e/json-rpc/eth_accounts.spec.ts b/test/e2e/json-rpc/eth_accounts.spec.ts index c756e15dd50a..27923bc7e3fe 100644 --- a/test/e2e/json-rpc/eth_accounts.spec.ts +++ b/test/e2e/json-rpc/eth_accounts.spec.ts @@ -18,14 +18,8 @@ describe('eth_accounts', function () { .build(), title: this.test?.fullTitle(), }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); // eth_accounts await driver.openNewPage(`http://127.0.0.1:8080`); diff --git a/test/e2e/json-rpc/eth_call.spec.ts b/test/e2e/json-rpc/eth_call.spec.ts index eeac1174888a..cc93d6d7b65e 100644 --- a/test/e2e/json-rpc/eth_call.spec.ts +++ b/test/e2e/json-rpc/eth_call.spec.ts @@ -22,15 +22,13 @@ describe('eth_call', function () { }, async ({ driver, - ganacheServer, contractRegistry, }: { driver: Driver; - ganacheServer?: Ganache; contractRegistry: ContractAddressRegistry; }) => { const contract = contractRegistry.getContractAddress(smartContract); - await loginWithBalanceValidation(driver, ganacheServer); + await loginWithBalanceValidation(driver); // eth_call await driver.openNewPage(`http://127.0.0.1:8080`); diff --git a/test/e2e/json-rpc/eth_chainId.spec.ts b/test/e2e/json-rpc/eth_chainId.spec.ts index 8f94431da4a1..f1ec9f0ebf23 100644 --- a/test/e2e/json-rpc/eth_chainId.spec.ts +++ b/test/e2e/json-rpc/eth_chainId.spec.ts @@ -15,14 +15,8 @@ describe('eth_chainId', function () { .build(), title: this.test?.fullTitle(), }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); // eth_chainId await driver.openNewPage(`http://127.0.0.1:8080`); diff --git a/test/e2e/json-rpc/eth_coinbase.spec.ts b/test/e2e/json-rpc/eth_coinbase.spec.ts index c9ce8ca1be96..8f8440b55f87 100644 --- a/test/e2e/json-rpc/eth_coinbase.spec.ts +++ b/test/e2e/json-rpc/eth_coinbase.spec.ts @@ -15,14 +15,8 @@ describe('eth_coinbase', function () { .build(), title: this.test?.fullTitle(), }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); // eth_coinbase await driver.openNewPage(`http://127.0.0.1:8080`); diff --git a/test/e2e/json-rpc/eth_estimateGas.spec.ts b/test/e2e/json-rpc/eth_estimateGas.spec.ts index 9479a8a044dd..609887144cbc 100644 --- a/test/e2e/json-rpc/eth_estimateGas.spec.ts +++ b/test/e2e/json-rpc/eth_estimateGas.spec.ts @@ -15,14 +15,8 @@ describe('eth_estimateGas', function () { .build(), title: this.test?.fullTitle(), }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); // eth_estimateGas await driver.openNewPage(`http://127.0.0.1:8080`); diff --git a/test/e2e/json-rpc/eth_gasPrice.spec.ts b/test/e2e/json-rpc/eth_gasPrice.spec.ts index c13020b2ab7c..90fad7a066ab 100644 --- a/test/e2e/json-rpc/eth_gasPrice.spec.ts +++ b/test/e2e/json-rpc/eth_gasPrice.spec.ts @@ -15,14 +15,8 @@ describe('eth_gasPrice', function () { .build(), title: this.test?.fullTitle(), }, - async ({ - driver, - ganacheServer, - }: { - driver: Driver; - ganacheServer?: Ganache; - }) => { - await loginWithBalanceValidation(driver, ganacheServer); + async ({ driver }: { driver: Driver }) => { + await loginWithBalanceValidation(driver); // eth_gasPrice await driver.openNewPage(`http://127.0.0.1:8080`);