add clipboard test

pull/4182/head
Joseph Izang 11 months ago
parent 01bc6a9480
commit 2fbee98848
  1. 23
      apps/remix-ide-e2e/src/tests/vyper_api.test.ts

@ -60,6 +60,29 @@ module.exports = {
}) })
}, },
'Should copy abi after blind_auction compile #group1': function (browser: NightwatchBrowser) {
console.log(browser as any)
browser//.clickLaunchIcon('vyper')
.frame(0)
.click('[data-id="remote-compiler"]')
.click('[data-id="compile"]')
.waitForElementVisible({
selector:'[data-id="compilation-details"]',
timeout: 120000
})
.click('[data-id="compilation-details"]')
.frameParent()
.waitForElementVisible('[data-id="copy-abi"]')
.click('[data-id="copy-abi"]')
.execute(() => {
navigator.clipboard.readText()
.then((clippedText) => {
console.log('clippedText', clippedText)
})
})
},
'Compile test contract and deploy to remix VM #group1': function (browser: NightwatchBrowser) { 'Compile test contract and deploy to remix VM #group1': function (browser: NightwatchBrowser) {
let contractAddress let contractAddress
browser browser

Loading…
Cancel
Save