|
|
@ -8,7 +8,7 @@ module.exports = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
'Should have README file with TEST README as content': function (browser: NightwatchBrowser) { |
|
|
|
'Should have README file with TEST README as content': function (browser: NightwatchBrowser) { |
|
|
|
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]', 5000) |
|
|
|
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]', 5000) |
|
|
|
.click('*[data-id="verticalIconsFileExplorerIcons"]') |
|
|
|
.waitForElementVisible('div[data-id="filePanelFileExplorerTree"]') |
|
|
|
.openFile('TEST_README.txt') |
|
|
|
.openFile('TEST_README.txt') |
|
|
|
.getEditorValue((content) => { |
|
|
|
.getEditorValue((content) => { |
|
|
|
browser.assert.equal(content, 'TEST README') |
|
|
|
browser.assert.equal(content, 'TEST README') |
|
|
|