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
e840e037
Commit
e840e037
authored
Jul 30, 2020
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the tests
parent
b804d5f6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
contractDropdown.js
apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
+2
-1
publishContract.test.js
apps/remix-ide/test-browser/tests/publishContract.test.js
+3
-3
No files found.
apps/remix-ide/src/app/tabs/runTab/contractDropdown.js
View file @
e840e037
...
...
@@ -108,10 +108,11 @@ class ContractDropdownUI {
${
this
.
ipfsCheckbox
}
<label
for="deployAndRunPublishToIPFS"
data-id="contractDropdownIpfsCheckboxLabel"
class="m-0 form-check-label custom-control-label
${
css
.
checkboxAlign
}
"
title="Publishing the source code and ABI to IPFS facilitates source code verification and will greatly foster contract adoption (auditing, debugging, calling it, etc...)"
>
P
UBLISH TO
IPFS
P
ublish to
IPFS
</label>
</div>
`
...
...
apps/remix-ide/test-browser/tests/publishContract.test.js
View file @
e840e037
...
...
@@ -39,8 +39,8 @@ module.exports = {
.
clickLaunchIcon
(
'fileExplorers'
)
.
openFile
(
'browser/1_Storage.sol'
)
.
clickLaunchIcon
(
'udapp'
)
.
waitForElementVisible
(
'*[data-id="contractDropdownIpfsCheckbox"]'
)
.
click
(
'*[data-id="contractDropdownIpfsCheckbox"]'
)
.
waitForElementVisible
(
'*[data-id="contractDropdownIpfsCheckbox
Label
"]'
)
.
click
(
'*[data-id="contractDropdownIpfsCheckbox
Label
"]'
)
.
click
(
'*[data-id="Deploy - transact (not payable)"]'
)
.
pause
(
5000
)
.
assert
.
containsText
(
'*[data-id="modalDialogModalBody"]'
,
'Metadata of "storage" was published successfully.'
)
...
...
@@ -51,7 +51,7 @@ module.exports = {
.
refresh
()
.
openFile
(
'browser/1_Storage.sol'
)
.
clickLaunchIcon
(
'udapp'
)
.
waitForElementVisible
(
'*[data-id="contractDropdownIpfsCheckbox"]'
)
.
waitForElementVisible
(
'*[data-id="contractDropdownIpfsCheckbox
Label
"]'
)
.
verify
.
elementPresent
(
'*[data-id="contractDropdownIpfsCheckbox"]:checked'
)
.
end
()
},
...
...
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