|
|
@ -107,24 +107,6 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
'Should load Etherscan sepolia verified contracts from URL "address" param) #flaky #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
|
|
|
browser |
|
|
|
|
|
|
|
.url('http://127.0.0.1:8080/#address=0xdac17f958d2ee523a2206206994597c13d831ec7') |
|
|
|
|
|
|
|
.refreshPage() |
|
|
|
|
|
|
|
.pause(2000) |
|
|
|
|
|
|
|
.currentWorkspaceIs('code-sample') |
|
|
|
|
|
|
|
.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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
'Should load Blockscout verified contracts from URL "address" and "blockscout" params (single source)': ''+function (browser: NightwatchBrowser) { |
|
|
|
'Should load Blockscout verified contracts from URL "address" and "blockscout" params (single source)': ''+function (browser: NightwatchBrowser) { |
|
|
|
browser |
|
|
|
browser |
|
|
|