import { getTextInputByPlaceholder } from '../../helpers' ; class BECSForm { setName ( value ) { if ( driver . isAndroid ) { getTextInputByPlaceholder ( 'Name' ) . setValue ( value ) ; } else { getTextInputByPlaceholder ( 'Full name' ) . setValue ( value ) ; } } setEmail ( value ) { if ( driver . isAndroid ) { getTextInputByPlaceholder ( 'Email Address' ) . setValue ( value ) ; } else { $$ ( `-ios predicate string: type == "XCUIElementTypeTextField"` ) [ 1 ] . setValue ( value ) ; } } setBSB ( value ) { getTextInputByPlaceholder ( 'BSB' ) . setValue ( value ) ; } setAccountNumber ( value ) { getTextInputByPlaceholder ( 'Account number' ) . setValue ( value ) ; } } export default new BECSForm ( ) ;