added wait 100ms to accessToSearchResult extension
This commit is contained in:
parent
443da0c44c
commit
39116d51f4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue