added wait 100ms to accessToSearchResult extension

This commit is contained in:
Carlos Jimenez Ruiz 2019-03-01 11:08:31 +01:00
parent 443da0c44c
commit 39116d51f4
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ let actions = {
accessToSearchResult: function(searchValue, done) {
this.write(`vn-searchbar input`, searchValue)
.click(`vn-searchbar vn-icon[icon="search"]`)
.wait(100)
.waitForNumberOfElements('.searchResult', 1)
.evaluate(() => {
return document.querySelector('ui-view vn-card vn-table') != null;