Skip to content

Commit

Permalink
AAE-6757 Improving e2e tests relating to modeling-ee. Part one - impr…
Browse files Browse the repository at this point in the history
…ove 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
  • Loading branch information
MichalFidor committed Dec 21, 2021
1 parent 65a9d2b commit 65a5535
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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);
}

Expand Down

0 comments on commit 65a5535

Please sign in to comment.