From 74a39d871d22835725c432afa6541301802e9417 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 29 Jun 2022 15:01:42 +0200 Subject: [PATCH] fix tests --- apps/remix-ide-e2e/src/tests/recorder.test.ts | 8 ++++---- .../run-tab/src/lib/components/recorderCardUI.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/recorder.test.ts b/apps/remix-ide-e2e/src/tests/recorder.test.ts index ca3028bcbb..8e33df2842 100644 --- a/apps/remix-ide-e2e/src/tests/recorder.test.ts +++ b/apps/remix-ide-e2e/src/tests/recorder.test.ts @@ -42,7 +42,7 @@ module.exports = { .createContract(['12']) .clickInstance(0) .clickFunction('set - transact (not payable)', { types: 'uint256 _p', values: '34' }) - .click('i.savetransaction') + .click('.savetransaction') .waitForElementVisible('[data-id="udappNotify-modal-footer-ok-react"]') .execute(function () { const modalOk = document.querySelector('[data-id="udappNotify-modal-footer-ok-react"]') as any @@ -77,7 +77,7 @@ module.exports = { .selectContract('t2est') .pause(1000) .createContract([]) - .click('i.savetransaction') + .click('.savetransaction') .waitForElementVisible('[data-id="udappNotify-modal-footer-ok-react"]') .execute(function () { const modalOk = document.querySelector('[data-id="udappNotify-modal-footer-ok-react"]') as any @@ -108,7 +108,7 @@ module.exports = { .clickLaunchIcon('udapp') .click('*[data-id="deployAndRunClearInstances"]') .click('*[data-id="runtabLivemodeInput"]') - .click('i.runtransaction') + .click('.runtransaction') .pause(1000) .clickInstance(0) .getAddressAtPosition(0, (address) => { @@ -128,7 +128,7 @@ module.exports = { .openFile('scenario_live_mode.json') .clickLaunchIcon('udapp') .click('*[data-id="deployAndRunClearInstances"]') - .click('i.runtransaction') + .click('.runtransaction') .pause(5000) .clickInstance(0) .getAddressAtPosition(0, (address) => { diff --git a/libs/remix-ui/run-tab/src/lib/components/recorderCardUI.tsx b/libs/remix-ui/run-tab/src/lib/components/recorderCardUI.tsx index 044626601e..eac98c0812 100644 --- a/libs/remix-ui/run-tab/src/lib/components/recorderCardUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/recorderCardUI.tsx @@ -43,8 +43,8 @@ export function RecorderUI (props: RecorderProps) {
- - + +