diff --git a/test/e2e/mock-e2e.js b/test/e2e/mock-e2e.js index cf426e1e4..b4e6f595f 100644 --- a/test/e2e/mock-e2e.js +++ b/test/e2e/mock-e2e.js @@ -25,6 +25,28 @@ async function setupMocking(server, testSpecificMock) { }; }); + await server + .forGet('https://www.4byte.directory/api/v1/signatures/') + .thenCallback(() => { + return { + statusCode: 200, + json: { + count: 1, + next: null, + previous: null, + results: [ + { + id: 1, + created_at: null, + text_signature: 'deposit()', + hex_signature: null, + bytes_signature: null, + }, + ], + }, + }; + }); + await server .forGet('https://gas-api.metaswap.codefi.network/networks/1/gasPrices') .thenCallback(() => { diff --git a/test/e2e/tests/contract-interactions.spec.js b/test/e2e/tests/contract-interactions.spec.js index db70f0845..ad0ce7fd6 100644 --- a/test/e2e/tests/contract-interactions.spec.js +++ b/test/e2e/tests/contract-interactions.spec.js @@ -103,7 +103,7 @@ describe('Deploy contract and call contract methods', function () { ); await driver.waitForSelector({ css: '.confirm-page-container-summary__action__name', - text: 'Withdraw', + text: 'Deposit', }); await driver.clickElement({ text: 'Confirm', tag: 'button' }); await driver.waitUntilXWindowHandles(2);