tested default value for runs

mediaStyle
aniket-engg 4 years ago committed by Aniket
parent f3767c9299
commit 52c0910f97
  1. 2
      apps/remix-ide-e2e/src/tests/url.test.ts
  2. 1
      apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js

@ -39,6 +39,8 @@ module.exports = {
.verify.elementPresent('#optimize')
.assert.elementNotPresent('#optimize:checked')
.verify.elementPresent('#runs:disabled')
.click('[for="optimize"')
.verify.attributeEquals('#runs', 'value', '200')
.end()
},

@ -203,6 +203,7 @@ class CompilerContainer {
onchange=${() => this.onchangeRuns()}
>`
if (this.compileTabLogic.optimize) {
this._view.runs.removeAttribute('disabled')
this._view.runs.value = this.compileTabLogic.runs
} else {
this._view.runs.setAttribute('disabled', '')

Loading…
Cancel
Save