From edb2d87251f5ba3f3e877fad3f4f474e670ccdaa Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Tue, 2 Jan 2024 16:46:47 +0100 Subject: [PATCH] add test to address copy abi --- .../remix-ide-e2e/src/tests/vyper_api.test.ts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/vyper_api.test.ts b/apps/remix-ide-e2e/src/tests/vyper_api.test.ts index 8999335a64..d88678c23a 100644 --- a/apps/remix-ide-e2e/src/tests/vyper_api.test.ts +++ b/apps/remix-ide-e2e/src/tests/vyper_api.test.ts @@ -60,6 +60,28 @@ module.exports = { }) }, + 'Should copy abi after blind_auction compile #group1': function (browser: NightwatchBrowser) { + browser//.clickLaunchIcon('vyper') + .frame(0) + .click('[data-id="remote-compiler"]') + .click('[data-id="compile"]') + .waitForElementVisible({ + selector:'[data-id="compilation-details"]', + timeout: 120000 + }) + .click('[data-id="compilation-details"]') + .frameParent() + .waitForElementVisible('[data-id="copy-abi"]') + .click('[data-id="copy-abi"]') + .execute(() => { + navigator.clipboard.readText() + .then((clippedText) => { + console.log('clippedText', clippedText) + }) + + }) + }, + 'Compile test contract and deploy to remix VM #group1': function (browser: NightwatchBrowser) { let contractAddress browser