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
b7312743
Commit
b7312743
authored
Jan 13, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing file-explorer tests.
parent
8d386b9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
.env
.env
+2
-1
fileExplorer.test.ts
apps/remix-ide-e2e/src/tests/fileExplorer.test.ts
+3
-3
remixd.test.ts
apps/remix-ide-e2e/src/tests/remixd.test.ts
+1
-1
No files found.
.env
View file @
b7312743
gist_token=
51c492cff9ccd5b819b79ddf5ecd275c725d0d9e
gist_token=
3a9d5658e470d2003691d0e75f792abfe72e308a
account_passphrase=explain uniform adapt basic blue onion rebel pull rice erase volcano couple
account_password=remix_is_cool
NODE_OPTIONS=--max-old-space-size=2048
\ No newline at end of file
apps/remix-ide-e2e/src/tests/fileExplorer.test.ts
View file @
b7312743
...
...
@@ -103,9 +103,9 @@ module.exports = {
.
setValue
(
'*[data-id="fileExplorerFileUpload"]'
,
testData
.
testFile1
)
.
setValue
(
'*[data-id="fileExplorerFileUpload"]'
,
testData
.
testFile2
)
.
setValue
(
'*[data-id="fileExplorerFileUpload"]'
,
testData
.
testFile3
)
.
waitForElementVisible
(
'
*[key="
browser/editor.test.js"]'
)
.
waitForElementVisible
(
'
*[key="
browser/fileExplorer.test.js"]'
)
.
waitForElementVisible
(
'
*[key="
browser/generalSettings.test.js"]'
)
.
waitForElementVisible
(
'
[data-id="treeViewLitreeViewItem
browser/editor.test.js"]'
)
.
waitForElementVisible
(
'
[data-id="treeViewLitreeViewItem
browser/fileExplorer.test.js"]'
)
.
waitForElementVisible
(
'
[data-id="treeViewLitreeViewItem
browser/generalSettings.test.js"]'
)
.
end
()
},
...
...
apps/remix-ide-e2e/src/tests/remixd.test.ts
View file @
b7312743
...
...
@@ -121,7 +121,7 @@ function runTests (browser: NightwatchBrowser) {
.
setEditorValue
(
'contract test1 { function get () returns (uint) { return 10; }}'
)
.
click
(
'[data-path="localhost/folder1/contract_'
+
browserName
+
'.sol"]'
)
// rename a file and check
.
pause
(
1000
)
.
rename
File
(
'localhost/folder1/contract_'
+
browserName
+
'.sol'
,
'renamed_contract_'
+
browserName
+
'.sol'
,
'localhost/folder1/renamed_contract_'
+
browserName
+
'.sol'
)
.
rename
Path
(
'localhost/folder1/contract_'
+
browserName
+
'.sol'
,
'renamed_contract_'
+
browserName
+
'.sol'
,
'localhost/folder1/renamed_contract_'
+
browserName
+
'.sol'
)
.
pause
(
1000
)
.
removeFile
(
'localhost/folder1/contract_'
+
browserName
+
'_toremove.sol'
)
.
perform
(
function
(
done
)
{
...
...
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