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