pull/3600/head^2
filip mertens 2 years ago
parent f15efe63f4
commit 854f398f6e
  1. 11
      apps/remix-ide-e2e/src/tests/vyper_api.test.ts

@ -54,13 +54,14 @@ module.exports = {
abortOnFailure: false,
suppressNotFoundErrors: true
}, (okVisible) => {
console.log('okVisible', okVisible)
if (!okVisible.status) {
console.log('retrying')
browser.click('[data-id="compile"]')
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')
}
})
.waitForElementVisible('[data-id="copy-abi"]')
},

Loading…
Cancel
Save