From a01e309e6a41bd0816877e5b0333196afcab2fd7 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 5 Jun 2024 12:42:25 +0200 Subject: [PATCH] vyper --- apps/remix-ide-e2e/src/tests/vyper_api.test.ts | 4 ++-- apps/vyper/src/app/utils/remix-client.tsx | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) 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 356752a56a..8dbd4ac6f4 100644 --- a/apps/remix-ide-e2e/src/tests/vyper_api.test.ts +++ b/apps/remix-ide-e2e/src/tests/vyper_api.test.ts @@ -40,7 +40,7 @@ module.exports = { .openFile('src') .openFile('src/snekmate') .openFile('src/snekmate/tokens') - .openFile('src/snekmate/tokens/ERC721.vy') + .openFile('src/snekmate/tokens/erc721.vy') }, // 'Add vyper file to run tests #group1': function (browser: NightwatchBrowser) { // browser.addFile('TestBallot.sol', sources[0]['TestBallot.sol']) @@ -159,7 +159,7 @@ module.exports = { .openFile('src/snekmate') .openFile('src/snekmate/auth') .openFile('src/snekmate/auth/Ownable.vy') - .rightClick('*[data-id="treeViewLitreeViewItemsrc/snekmate/auth/Ownable.vy"]') + .rightClick('*[data-id="treeViewLitreeViewItemsrc/snekmate/auth/ownable.vy"]') .waitForElementVisible('*[data-id="contextMenuItemvyper"]') .click('*[data-id="contextMenuItemvyper"]') .clickLaunchIcon('vyper') diff --git a/apps/vyper/src/app/utils/remix-client.tsx b/apps/vyper/src/app/utils/remix-client.tsx index 8ab8c4b67e..38bc35d7d9 100644 --- a/apps/vyper/src/app/utils/remix-client.tsx +++ b/apps/vyper/src/app/utils/remix-client.tsx @@ -88,14 +88,7 @@ export class RemixClient extends PluginClient { 'clone', {url: 'https://github.com/pcaversaccio/snekmate', token: null, branch: 'main', singleBranch: true, workspaceName: 'snekmate'}, ) - - await this.call('dgitApi', 'checkout', { - ref: 'v0.0.5', - force: true, - refresh: true - }) - - + this.call( // @ts-ignore 'notification',