circle complains

pull/4182/head
Joseph Izang 1 year ago
parent 268b9991b9
commit bdb19a1ef9
  1. 26
      apps/remix-ide-e2e/src/tests/vyper_api.test.ts

@ -61,12 +61,12 @@ module.exports = {
}, },
'Should copy abi after blind_auction compile #group1': function (browser: NightwatchBrowser) { 'Should copy abi after blind_auction compile #group1': function (browser: NightwatchBrowser) {
const chromeBrowser = (browser as any).chrome // const chromeBrowser = (browser as any).chrome
// const firefoxBrowser = (browser as any).firefox // // const firefoxBrowser = (browser as any).firefox
// console.log('chromeBrowser', chromeBrowser) // // console.log('chromeBrowser', chromeBrowser)
// console.log('firefoxBrowser', firefoxBrowser) // // console.log('firefoxBrowser', firefoxBrowser)
chromeBrowser.setPermission('clipboard-read', 'granted') // chromeBrowser.setPermission('clipboard-read', 'granted')
chromeBrowser.setPermission('clipboard-write', 'granted') // chromeBrowser.setPermission('clipboard-write', 'granted')
browser//.clickLaunchIcon('vyper') browser//.clickLaunchIcon('vyper')
.frame(0) .frame(0)
.click('[data-id="remote-compiler"]') .click('[data-id="remote-compiler"]')
@ -79,13 +79,13 @@ module.exports = {
.frameParent() .frameParent()
.waitForElementVisible('[data-id="copy-abi"]') .waitForElementVisible('[data-id="copy-abi"]')
.click('[data-id="copy-abi"]') .click('[data-id="copy-abi"]')
.execute(() => { // .execute(() => {
navigator.clipboard.readText() // navigator.clipboard.readText()
.then((clippedText) => { // .then((clippedText) => {
console.log(`clipped text is ${clippedText.length} characters long`) // console.log(`clipped text is ${clippedText.length} characters long`)
if(clippedText.length === 0) throw new Error('Clipboard is empty') // if(clippedText.length === 0) throw new Error('Clipboard is empty')
}) // })
}) // })
}, },
'Compile test contract and deploy to remix VM #group1': function (browser: NightwatchBrowser) { 'Compile test contract and deploy to remix VM #group1': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save