[detox] Add missing tapBackspaceKey() and tapReturnKey() methods (#37129)

This commit is contained in:
Simon Trény
2019-07-25 16:22:58 -07:00
committed by Wesley Wigham
parent cc53e7ccbe
commit a031f03c2c
+10
View File
@@ -342,6 +342,16 @@ declare global {
* @example await element(by.id('textField')).clearText();
*/
clearText(): Promise<Actions<R>>;
/**
* Taps the backspace key on the built-in keyboard.
* @example await element(by.id('textField')).tapBackspaceKey();
*/
tapBackspaceKey(): Promise<Actions<R>>;
/**
* Taps the return key on the built-in keyboard.
* @example await element(by.id('textField')).tapReturnKey();
*/
tapReturnKey(): Promise<Actions<R>>;
/**
*
* @param pixels