mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[AAE-1178] ADF - deleted un-necessary steps (#5335)
* [AAE-1178] e2e/pages/adf - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys() * [AAE-1178] lib & cloud - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()
This commit is contained in:
committed by
Eugenio Romano
parent
5c7cd57368
commit
2cc7fe7efe
@@ -58,12 +58,10 @@ export class NotificationPage {
|
||||
}
|
||||
|
||||
async enterMessageField(text): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.messageField);
|
||||
await BrowserActions.clearSendKeys(this.messageField, text);
|
||||
}
|
||||
|
||||
async enterDurationField(time): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.durationField);
|
||||
await BrowserActions.clearSendKeys(this.durationField, time);
|
||||
}
|
||||
|
||||
@@ -106,7 +104,6 @@ export class NotificationPage {
|
||||
}
|
||||
|
||||
async clearMessage(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.messageField);
|
||||
await BrowserActions.clearSendKeys(this.messageField, '');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user