Commit 52c0910f authored by aniket-engg's avatar aniket-engg Committed by Aniket

tested default value for runs

parent f3767c92
...@@ -39,6 +39,8 @@ module.exports = { ...@@ -39,6 +39,8 @@ module.exports = {
.verify.elementPresent('#optimize') .verify.elementPresent('#optimize')
.assert.elementNotPresent('#optimize:checked') .assert.elementNotPresent('#optimize:checked')
.verify.elementPresent('#runs:disabled') .verify.elementPresent('#runs:disabled')
.click('[for="optimize"')
.verify.attributeEquals('#runs', 'value', '200')
.end() .end()
}, },
......
...@@ -203,6 +203,7 @@ class CompilerContainer { ...@@ -203,6 +203,7 @@ class CompilerContainer {
onchange=${() => this.onchangeRuns()} onchange=${() => this.onchangeRuns()}
>` >`
if (this.compileTabLogic.optimize) { if (this.compileTabLogic.optimize) {
this._view.runs.removeAttribute('disabled')
this._view.runs.value = this.compileTabLogic.runs this._view.runs.value = this.compileTabLogic.runs
} else { } else {
this._view.runs.setAttribute('disabled', '') this._view.runs.setAttribute('disabled', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment