Investment Functions#

This section documents investment functions used in the automation testing suite.

filterInvestments#

Deprecated since version 1.0: Use navigateToSectionAndVerifyFields or direct filter interactions instead.

filterInvestments(page, status, citCorp, year, frequency, month)#

Filters investments by Status, CIT Corporation, Year, Frequency (Monthly/Quarterly), and Month

Arguments:
  • page (Page) – Playwright page object

  • status (string) – Status filter value (default: “All”)

  • citCorp (string) – CIT Corporation filter value (default: “East Portland CIT”)

  • year (string) – Year filter value (default: “2025”)

  • frequency – Frequency filter value (“Monthly” or “Quarterly”, default: “Monthly”)

  • month (string) – Month filter value (default: “January”)

Returns:

Promise

searchInvestments#

Deprecated since version 1.0: Use searchForUser or direct search interactions instead.

searchInvestments(page, searchTerm)#

Performs a search in the investments section

Arguments:
  • page (Page) – Playwright page object

  • searchTerm (string) – Term to search for

Returns:

Promise