import CreateContactModal from 'automation.client.ui/src/page_objects/web/contacts/create/createContact.modal.js'CreateContactModal
Extends:
CreateContactModal
Constructor Summary
| Public Constructor | ||
| public |
constructor(args: args) |
|
Method Summary
| Public Methods | ||
| public |
callingDetailsField(): * |
|
| public |
|
|
| public |
|
|
| public |
async clickSaveButton() Clicks save button |
|
| public |
Fills form with provided parameters |
|
| public |
async fillFormAndSave(name: String, details: String, favorite: Boolean) Fills form with provided parameters and clicks save button |
|
| public |
async getCallingDetailsFieldErrorText(): String Returns calling details field error text |
|
| public |
async getCallingDetailsFieldLimit(): Integer Get the calling details field limit via the HTML |
|
| public |
async isCallingDetailsFieldErrorVisible(): Boolean Determines if error is visible in calling details |
|
| public |
async setCallingDetails(details: String) Set Calling details field in contact modal |
|
Public Constructors
public constructor(args: args) source
Params:
| Name | Type | Attribute | Description |
| args | args | Args from controller |
Public Methods
public async fillForm(name: String, details: String, favorite: Boolean) source
Fills form with provided parameters
public async fillFormAndSave(name: String, details: String, favorite: Boolean) source
Fills form with provided parameters and clicks save button
public async getCallingDetailsFieldErrorText(): String source
Returns calling details field error text
public async getCallingDetailsFieldLimit(): Integer source
Get the calling details field limit via the HTML
Return:
| Integer | Value for calling details' "maxlength" attribute |