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
7255f8aa
Commit
7255f8aa
authored
Apr 22, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed id to data-attr*
parent
b914b225
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
file-explorer.js
src/app/files/file-explorer.js
+1
-1
fileExplorer.js
test-browser/tests/fileExplorer.js
+3
-3
No files found.
src/app/files/file-explorer.js
View file @
7255f8aa
...
...
@@ -627,7 +627,7 @@ fileExplorer.prototype.renderMenuItems = function () {
class="
${
icon
}
${
css
.
newFile
}
"
title="
${
title
}
"
>
<input id="fileUpload" type="file" onchange=
${(
event
)
=>
{
<input id="fileUpload"
data-id="fileExplorerFileUpload"
type="file" onchange=
${(
event
)
=>
{
event
.
stopPropagation
()
this
.
uploadFile
(
event
)
}}
multiple
/>
...
...
test-browser/tests/fileExplorer.js
View file @
7255f8aa
...
...
@@ -102,9 +102,9 @@ module.exports = {
'Should open local filesystem explorer'
:
function
(
browser
)
{
browser
.
waitForElementVisible
(
'*[data-id="filePanelFileExplorerTree"]'
)
.
setValue
(
'
input#fileUpload
'
,
testData
.
testFile1
)
.
setValue
(
'
input#fileUpload
'
,
testData
.
testFile2
)
.
setValue
(
'
input#fileUpload
'
,
testData
.
testFile3
)
.
setValue
(
'
*[data-id="fileExplorerFileUpload"]
'
,
testData
.
testFile1
)
.
setValue
(
'
*[data-id="fileExplorerFileUpload"]
'
,
testData
.
testFile2
)
.
setValue
(
'
*[data-id="fileExplorerFileUpload"]
'
,
testData
.
testFile3
)
.
waitForElementVisible
(
'*[key="browser/editor.js"]'
)
.
waitForElementVisible
(
'*[key="browser/fileExplorer.js"]'
)
.
waitForElementVisible
(
'*[key="browser/generalSettings.js"]'
)
...
...
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