Wait for warning visible

circuitcompiler2
ioedeveloper 1 year ago
parent 983c36873a
commit d06e34d88b
  1. 1
      apps/remix-ide-e2e/src/tests/circom.test.ts

@ -105,6 +105,7 @@ module.exports = {
.waitForElementVisible('button[data-id="compile_circuit_btn"]')
.click('button[data-id="compile_circuit_btn"]')
.waitForElementPresent('[data-id="circuit_feedback"]')
.waitForElementVisible('[data-id="circuit_feedback"]')
.assert.hasClass('[data-id="circuit_feedback"]', 'alert-warning')
.waitForElementContainsText('[data-id="circuit_feedback"]', 'File circuits/warning.circom does not include pragma version. Assuming pragma version (2, 1, 5)')
},

Loading…
Cancel
Save