From db7e812a7083cc7c1c880ebc20e88f41f092f1d3 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Wed, 30 Oct 2024 07:40:31 +0100 Subject: [PATCH] transact greet --- apps/remix-ide-e2e/src/tests/metamask.test.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/metamask.test.ts b/apps/remix-ide-e2e/src/tests/metamask.test.ts index 796e1afb77..1603dfa67b 100644 --- a/apps/remix-ide-e2e/src/tests/metamask.test.ts +++ b/apps/remix-ide-e2e/src/tests/metamask.test.ts @@ -130,10 +130,14 @@ const tests = { 'Should run transaction (greet function) on Sepolia Test Network using MetaMask #group1': function (browser: NightwatchBrowser) { if (!checkBrowserIsChrome(browser)) return browser.clearConsole().waitForElementPresent('*[data-id="remixIdeSidePanel"]') - .clickInstance(0) .clearConsole() - .waitForElementPresent('*[data-id="pluginManagerSettingsDeployAndRunLLTxSendTransaction"]') - .click('*[data-id="pluginManagerSettingsDeployAndRunLLTxSendTransaction"]') + .waitForElementPresent('*[data-title="string _message"]') + .setValue('*[data-title="string _message"]', 'test') + .saveScreenshot('./reports/screenshots/metamask_tr7.png') + .waitForElementVisible('*[data-id="greet - transact (not payable)"]') + .saveScreenshot('./reports/screenshots/metamask_tr9.png') + .click('*[data-id="greet - transact (not payable)"]') + .saveScreenshot('./reports/screenshots/metamask_tr8.png') .perform((done) => { browser.switchBrowserWindow(extension_url, 'MetaMask', (browser) => { browser