|
|
|
@ -33,11 +33,11 @@ module.exports = { |
|
|
|
|
.clearValue('*[id="search_include"]').pause(2000) |
|
|
|
|
.setValue('*[id="search_include"]', '**').sendKeys('*[id="search_include"]', browser.Keys.ENTER).pause(4000) |
|
|
|
|
.elements('css selector', '.search_plugin_search_line', (res) => { |
|
|
|
|
Array.isArray(res.value) && browser.assert.equal(res.value.length, 44) |
|
|
|
|
Array.isArray(res.value) && browser.assert.equal(res.value.length, 48) |
|
|
|
|
}) |
|
|
|
|
.setValue('*[id="search_exclude"]', ',contracts/**').sendKeys('*[id="search_exclude"]', browser.Keys.ENTER).pause(4000) |
|
|
|
|
.elements('css selector', '.search_plugin_search_line', (res) => { |
|
|
|
|
Array.isArray(res.value) && browser.assert.equal(res.value.length, 38) |
|
|
|
|
Array.isArray(res.value) && browser.assert.equal(res.value.length, 42) |
|
|
|
|
}) |
|
|
|
|
.clearValue('*[id="search_include"]').setValue('*[id="search_include"]', '*.sol, *.js, *.txt') |
|
|
|
|
.clearValue('*[id="search_exclude"]').setValue('*[id="search_exclude"]', '.*/**/*') |
|
|
|
|