import { fillFormField } from '../../framework' ; export class UserEditPage { readonly tag = 'ish-user-edit-profile-page' ; private submitButton = ( ) => cy . get ( '[data-testing-id="edit-user-submit"]' ) ; editTitle ( val ) { fillFormField ( this . tag , 'title' , val ) ; } editFirstName ( val ) { fillFormField ( this . tag , 'firstName' , val ) ; } submit ( ) { this . submitButton ( ) . click ( ) ; } }