Skip to main content
Ctrl+K
CIT Services Dev Manual - Home CIT Services Dev Manual - Home
  • CIT Services Test Suite
  • Functions
    • CIT App Helpers
    • Address Helper Functions
    • Safe Fill Address Functions
    • Safe Fill Wrapper Functions
    • Billing Functions
    • Button Functions
    • Calendar Functions
    • Common Functions
    • Dialog Functions
    • Download Actions
    • Dropdown Functions
    • Investment Functions
    • Verification Check Functions
    • Settings Helpers
    • Test Utils
    • Index Link Utils
    • Email Template Components
    • Utilities
    • Address Components
    • Common Legal Functions
    • Contact Legal Functions
    • Common User Functions
    • Permissions Functions
    • Address Types
    • App Interface Types
  • Playwright Automation Testing Suite (API)
    • Pages
      • Profile Tests
      • User Tests
      • Common Page Tests
    • Functions
      • CIT App Helpers
      • Address Helper Functions
      • Safe Fill Address Functions
      • Safe Fill Wrapper Functions
      • Billing Functions
      • Button Functions
      • Calendar Functions
      • Common Functions
      • Dialog Functions
      • Download Actions
      • Dropdown Functions
      • Investment Functions
      • Verification Check Functions
      • Settings Helpers
      • Test Utils
      • Index Link Utils
      • Email Template Components
      • Utilities
      • Address Components
      • Common Legal Functions
      • Contact Legal Functions
      • Common User Functions
      • Permissions Functions
      • Address Types
      • App Interface Types
  • Repository
  • Suggest edit
  • Open issue

Common Legal Functions

  • dateFormed
    • dateFormed()
  • EIN
    • EIN()
  • fillFirmName
    • fillFirmName()
  • fillLegalFieldWithWait
    • fillLegalFieldWithWait()
  • legalCity
    • legalCity()
  • legalName
    • legalName()
  • legalState
    • legalState()
  • legalStreetName
    • legalStreetName()
  • legalSuiteAptNumber
    • legalSuiteAptNumber()
  • legalZipCode
    • legalZipCode()
  • stateFilingNumber
    • stateFilingNumber()
  • stateOfIncorporation
    • stateOfIncorporation()
  • stateOfOperating
    • stateOfOperating()

Common Legal Functions#

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

dateFormed#

dateFormed(page, value)#

Fills in the Date Formed field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

EIN#

EIN(page, value)#

Fills in the EIN field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

fillFirmName#

fillFirmName(page, value)#

Fills in the Firm Name field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

fillLegalFieldWithWait#

fillLegalFieldWithWait(page, fillFunction, value, waitTime)#

Fills a legal field and waits a standard amount of time afterward

Arguments:
  • page (Page) – The Playwright page object

  • fillFunction – The function that fills the field

  • value (string) – The value to fill in the field

  • waitTime (number) – Optional wait time in ms (default: 2000)

Returns:

Promise –

legalCity#

legalCity(page, value)#

Fills in the Legal City field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

legalName#

legalName(page, value)#

Fills in the Legal Name field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

legalState#

legalState(page, value)#

Fills in the Legal State field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

legalStreetName#

legalStreetName(page, value)#

Fills in the Legal Street Address field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

legalSuiteAptNumber#

legalSuiteAptNumber(page, value)#

Fills in the Legal Suite/Apt Number field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

legalZipCode#

legalZipCode(page, value)#

Fills in the Legal Zip Code field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

stateFilingNumber#

stateFilingNumber(page, value)#

Fills in the State Filing Number field

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

stateOfIncorporation#

stateOfIncorporation(page, value)#

Selects the State of Incorporation

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

stateOfOperating#

stateOfOperating(page, value)#

Selects the State of Operating

Arguments:
  • page (Page)

  • value (string)

Returns:

Promise –

previous

Address Components

next

Contact Legal Functions

  • dateFormed
    • dateFormed()
  • EIN
    • EIN()
  • fillFirmName
    • fillFirmName()
  • fillLegalFieldWithWait
    • fillLegalFieldWithWait()
  • legalCity
    • legalCity()
  • legalName
    • legalName()
  • legalState
    • legalState()
  • legalStreetName
    • legalStreetName()
  • legalSuiteAptNumber
    • legalSuiteAptNumber()
  • legalZipCode
    • legalZipCode()
  • stateFilingNumber
    • stateFilingNumber()
  • stateOfIncorporation
    • stateOfIncorporation()
  • stateOfOperating
    • stateOfOperating()

© Copyright 2025, Transfer Online..