|
|
|
@ -8,7 +8,7 @@ module.exports = { |
|
|
|
|
before: function (browser: NightwatchBrowser, done: VoidFunction) { |
|
|
|
|
init(browser, done, 'http://127.0.0.1:8080', true) |
|
|
|
|
}, |
|
|
|
|
'Should find text #group1 #flaky': function (browser: NightwatchBrowser) { |
|
|
|
|
'Should find text #group1': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.click('*[plugin="search"]').waitForElementVisible('*[id="search_input"]') |
|
|
|
|
.waitForElementVisible('*[id="search_include"]') |
|
|
|
@ -164,7 +164,7 @@ module.exports = { |
|
|
|
|
browser.assert.ok(content.includes("Storage' contract"), 'should replace text ok') |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
'Should hide button when edited content is the same #group2 #flaky': function (browser: NightwatchBrowser) { |
|
|
|
|
'Should hide button when edited content is the same #group2': function (browser: NightwatchBrowser) { |
|
|
|
|
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]') |
|
|
|
|
.addFile('test.sol', { content: '123' }) |
|
|
|
|
.click('*[plugin="search"]') |
|
|
|
@ -238,4 +238,4 @@ module.exports = { |
|
|
|
|
Array.isArray(res.value) && browser.assert.equal(res.value.length, 0) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|