pull/4485/head
yann300 10 months ago committed by GitHub
parent ca0de421ac
commit b8f8b6ea39
  1. 15
      apps/remix-ide-e2e/src/tests/gist.test.ts

@ -145,6 +145,17 @@ module.exports = {
.openFile(`gist-${testData.validGistId}/README.txt`)
.waitForElementVisible(`div[data-path='default_workspace/gist-${testData.validGistId}/README.txt']`)
.assert.containsText(`div[data-path='default_workspace/gist-${testData.validGistId}/README.txt'] > span`, 'README.txt')
.end()
}
},
'Load Gist from URL and verify truncated files are loaded #group3': function (browser: NightwatchBrowser) {
const gistId = '1b179bf1b92c8b0664b4cbe61774e15d'
browser
.url('http://127.0.0.1:8080/#' + gistId)
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 15000)
.waitForElementVisible(`div[data-path='default_workspace/gist-${gistId}/README.txt']`)
.openFile(`gist-${gistId}/scripts/deploy_with_ethers.ts`)
.getEditorValue((content) => {
browser.assert.ok(content !== '')
})
}
}

Loading…
Cancel
Save