mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-6757 Improving e2e tests relating to modeling-ee. Part one - improve flaky tests, ProcessModelerComponent (#7412)
* AAE-6757 Improving e2e tests relating to modeling-ee. Part one - improve locators and most flaky tests * Add custom delay for input text * trigger travis
This commit is contained in:
@@ -48,9 +48,9 @@ export class CardTextItemPage {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(labelElement);
|
||||
}
|
||||
|
||||
async enterTextField(text: string): Promise<void> {
|
||||
async enterTextField(text: string, pauseBetweenTypingChars = 500): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.rootElement.$(this.textField));
|
||||
await BrowserActions.clearSendKeys(this.rootElement.$(this.textField), text, 500);
|
||||
await BrowserActions.clearSendKeys(this.rootElement.$(this.textField), text, pauseBetweenTypingChars);
|
||||
await this.rootElement.$(this.textField).sendKeys(Key.TAB);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user