|
|
|
@ -24,7 +24,7 @@ function addFile (browser: NightwatchBrowser, name: string, content: NightwatchC |
|
|
|
|
.sendKeys('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items', browser.Keys.ENTER) |
|
|
|
|
.pause(2000) |
|
|
|
|
.waitForElementVisible(`li[data-id="treeViewLitreeViewItembrowser/${name}"]`) |
|
|
|
|
.click(`li[data-id="treeViewLitreeViewItembrowser/${name}"]`) |
|
|
|
|
// .click(`li[data-id="treeViewLitreeViewItembrowser/${name}"]`)
|
|
|
|
|
.setEditorValue(content.content) |
|
|
|
|
.pause(1000) |
|
|
|
|
.perform(function () { |
|
|
|
|