Common User Functions#

This section documents common user functions used in the automation testing suite.

addNewButton#

addNewButton(page)#

Clicks the “New User” button

Arguments:
Returns:

Promise

fillUserBasicInfo#

fillUserBasicInfo(page, email, firstNameValue, lastNameValue)#

Fills in the basic user information fields (email, first name, last name)

Arguments:
  • page (Page) – Playwright page object

  • email (string) – User’s email address

  • firstNameValue (string) – User’s first name

  • lastNameValue (string) – User’s last name

Returns:

Promise

firstName#

firstName(page, value)#

Fills in the First Name field

Arguments:
Returns:

Promise

lastName#

lastName(page, value)#

Fills in the Last Name field

Arguments:
Returns:

Promise