|
|
|
@ -118,6 +118,10 @@ function addFile (browser, name, content, 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"]' |
|
|
|
|
browser.setValue(filterClass, filter, function () { |
|
|
|
|
browser.execute(function () { |
|
|
|
|