mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[no-issue] remove annoying dot at the end of search animation (#4226)
* remove annoying dot at the end of animation * bypass protractor for click search bar
This commit is contained in:
@@ -69,14 +69,14 @@ export class SearchDialog {
|
||||
|
||||
enterText(text) {
|
||||
Util.waitUntilElementIsVisible(this.searchBar);
|
||||
this.searchBar.click();
|
||||
browser.executeScript(`document.querySelector("adf-search-control input").click();`);
|
||||
this.searchBar.sendKeys(text);
|
||||
return this;
|
||||
}
|
||||
|
||||
enterTextAndPressEnter(text) {
|
||||
Util.waitUntilElementIsVisible(this.searchBar);
|
||||
this.searchBar.click();
|
||||
browser.executeScript(`document.querySelector("adf-search-control input").click();`);
|
||||
this.searchBar.sendKeys(text);
|
||||
this.searchBar.sendKeys(protractor.Key.ENTER);
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user