Wait for warning visible

pull/4184/head
ioedeveloper 1 year ago
parent 9f68552f48
commit 2b65b90836
  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