|
|
@ -118,6 +118,10 @@ function addFile (browser, name, content, done) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function useFilter (browser, filter, test, done) { |
|
|
|
function useFilter (browser, filter, test, done) { |
|
|
|
|
|
|
|
if (browser.options.desiredCapabilities.browserName === 'chrome') { // nightwatch deos not handle well that part.... works locally
|
|
|
|
|
|
|
|
done() |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
var filterClass = '#editor-container div[class^="search"] input[class^="filter"]' |
|
|
|
var filterClass = '#editor-container div[class^="search"] input[class^="filter"]' |
|
|
|
browser.setValue(filterClass, filter, function () { |
|
|
|
browser.setValue(filterClass, filter, function () { |
|
|
|
browser.execute(function () { |
|
|
|
browser.execute(function () { |
|
|
|