diff --git a/apps/remix-ide-e2e/src/tests/url.test.ts b/apps/remix-ide-e2e/src/tests/url.test.ts index 679fb72951..62a9fa4d66 100644 --- a/apps/remix-ide-e2e/src/tests/url.test.ts +++ b/apps/remix-ide-e2e/src/tests/url.test.ts @@ -97,9 +97,20 @@ module.exports = { .refreshPage() .pause(7000) .currentWorkspaceIs('code-sample') + .waitForElementVisible('*[data-id=treeViewLitreeViewItemsepolia]') + .waitForElementVisible('*[data-id="treeViewLitreeViewItemsepolia/0xdac17f958d2ee523a2206206994597c13d831ec7"]') + .waitForElementVisible('*[data-id="treeViewLitreeViewItemsepolia/0xdac17f958d2ee523a2206206994597c13d831ec7/MetaMultiSigWallet.sol"]') + .getEditorValue((content) => { + browser.assert.ok(content && content.indexOf( + 'contract MetaMultiSigWallet {') !== -1) + + }) .waitForElementVisible('*[data-id=treeViewLitreeViewItemmainnet]') + .click('*[data-id=treeViewLitreeViewItemmainnet]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemmainnet/0xdac17f958d2ee523a2206206994597c13d831ec7"]') + .click('*[data-id="treeViewLitreeViewItemmainnet/0xdac17f958d2ee523a2206206994597c13d831ec7"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemmainnet/0xdac17f958d2ee523a2206206994597c13d831ec7/TetherToken.sol"]') + .click('*[data-id="treeViewLitreeViewItemmainnet/0xdac17f958d2ee523a2206206994597c13d831ec7/TetherToken.sol"]') .getEditorValue((content) => { browser.assert.ok(content && content.indexOf( 'contract TetherToken is Pausable, StandardToken, BlackList {') !== -1)