Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
52c0910f
Commit
52c0910f
authored
Nov 27, 2020
by
aniket-engg
Committed by
Aniket
Dec 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tested default value for runs
parent
f3767c92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
url.test.ts
apps/remix-ide-e2e/src/tests/url.test.ts
+2
-0
compilerContainer.js
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
+1
-0
No files found.
apps/remix-ide-e2e/src/tests/url.test.ts
View file @
52c0910f
...
@@ -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
()
},
},
...
...
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
View file @
52c0910f
...
@@ -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'
,
''
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment