Commit 7255f8aa authored by ioedeveloper's avatar ioedeveloper

Changed id to data-attr*

parent b914b225
...@@ -627,7 +627,7 @@ fileExplorer.prototype.renderMenuItems = function () { ...@@ -627,7 +627,7 @@ fileExplorer.prototype.renderMenuItems = function () {
class="${icon} ${css.newFile}" class="${icon} ${css.newFile}"
title="${title}" title="${title}"
> >
<input id="fileUpload" type="file" onchange=${(event) => { <input id="fileUpload" data-id="fileExplorerFileUpload" type="file" onchange=${(event) => {
event.stopPropagation() event.stopPropagation()
this.uploadFile(event) this.uploadFile(event)
}} multiple /> }} multiple />
......
...@@ -102,9 +102,9 @@ module.exports = { ...@@ -102,9 +102,9 @@ module.exports = {
'Should open local filesystem explorer': function (browser) { 'Should open local filesystem explorer': function (browser) {
browser.waitForElementVisible('*[data-id="filePanelFileExplorerTree"]') browser.waitForElementVisible('*[data-id="filePanelFileExplorerTree"]')
.setValue('input#fileUpload', testData.testFile1) .setValue('*[data-id="fileExplorerFileUpload"]', testData.testFile1)
.setValue('input#fileUpload', testData.testFile2) .setValue('*[data-id="fileExplorerFileUpload"]', testData.testFile2)
.setValue('input#fileUpload', testData.testFile3) .setValue('*[data-id="fileExplorerFileUpload"]', testData.testFile3)
.waitForElementVisible('*[key="browser/editor.js"]') .waitForElementVisible('*[key="browser/editor.js"]')
.waitForElementVisible('*[key="browser/fileExplorer.js"]') .waitForElementVisible('*[key="browser/fileExplorer.js"]')
.waitForElementVisible('*[key="browser/generalSettings.js"]') .waitForElementVisible('*[key="browser/generalSettings.js"]')
......
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