add more checks

pull/3600/head^2
filip mertens 2 years ago
parent 6fa26c7671
commit ed3cbf0a12
  1. 13
      apps/remix-ide-e2e/src/tests/vyper_api.test.ts

@ -75,6 +75,19 @@ module.exports = {
// @ts-ignore
.frame(0)
.click('[data-id="compile"]')
.isVisible({
selector: '[data-id="copy-abi"]',
timeout: 4000,
abortOnFailure: false,
suppressNotFoundErrors: true
}, (okVisible) => {
if (okVisible.value === null) {
console.log('retrying compilation...')
browser.click('[data-id="compile"]').waitForElementVisible('[data-id="copy-abi"]')
} else{
browser.assert.ok(okVisible.value === true, 'ABI should be visible')
}
})
.frameParent()
.clickLaunchIcon('udapp')
.createContract('')

Loading…
Cancel
Save