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 = {
.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', '')
......
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