Skip to content

POM suites (page object suites)

A POM suite is the set of page objects InsightJet keeps for one app: one page object for each page of the app, with its locators (how a control is found) and methods (what a test can do on the page). Page-object test cases (POM-style spec on the Test Cases tab) use these page objects, so a change to a locator is made once for every test that uses it.

There is one suite for each app, matched by the app’s host name.

The suite builds itself. When test cases are generated for an app, the page objects they carry are merged into the app’s suite. This is called a reconcile. Each reconcile makes a new version of every page it changes, and the suite counts its reconciles.

  • Pages are merged across all of an app’s crawls.
  • The tests in the suite (specs) come only from the most recent crawl of that app’s address. Test cases from older crawls stay on the Test Cases tab but are not part of the suite’s runs or publishing.

How the crawler writes the page objects in the first place is not described here: not confirmed from this code.

A suite is reached from a test case: open a page-object test case and click Uses canonical … suite. The suite pages also have their own addresses:

  • /pom-suite lists your apps, each with its number of pages. With no suite yet it says “No POM suites yet. Crawl a SaaS app and generate test cases — the suite reconciles automatically.”
  • /pom-suite/apps/<app> opens one suite.

There is no POM entry in the top bar.

The POM Suites list in InsightJet showing one suite card for insightjet.ai, with 4 pages.

The top of a suite shows its size: Pages, Locators, Methods, and the suite’s version with its number of reconciles.

A suite for insightjet.ai with 4 pages, 8 locators and 7 methods at version 11 after 12 reconciles. Four page objects are listed: ApprovalsPage, DashboardPage, OpsflowPage and WorkflowsPage, each with its version, locator and method counts.

Each page row shows the page’s version and its number of locators (L) and methods (M). Search the pages with Search pages…, or sort them by name, version, recency or size. Open a page to see four tabs:

TabWhat it shows
SourceThe page object’s code. It is generated from the locators and methods and is read-only.
LocatorsEach locator’s name and selector. You can edit them and add or remove one.
MethodsEach method’s name, kind and signature.
HistoryThe page’s versions: “Page added”, “Manual edit”, or what a reconcile changed.

Edit a locator’s name or selector on the Locators tab. Each edit is saved as a new version marked “Manual edit”. A locator can be locked; a locked locator is one a person pinned, and a reconcile will not overwrite or drop it.

Suites are run from the Test Cases tab, not from the suite page.

  1. On the Test Cases tab, set the type filter to POM-style spec.
  2. Select the test cases to run, or select none to run every POM test case shown.
  3. Click Run.

You can also run one page-object test case with the run button on its own detail panel.

A suite run uses the app’s saved address and login. If something is missing, InsightJet asks for the values the suite’s .env.example names. A run uses agent-hours, and is refused when you are out of them.

While it runs, a panel shows the specs one by one. Stop finishes the spec that is running, then stops the rest. The finished run is listed under Suite runs.

  • Normalize re-applies InsightJet’s quality filters to the suite’s pages and says when nothing needed changing.
  • Download gives the whole suite as a zip.
  • Publish All commits all pages, specs and scaffolding to your default GitHub repository. Tick pages first and it becomes Publish (n) for just those. It asks first. If GitHub is not connected, or no default repository is chosen, it sends you to Settings → Integrations → GitHub. An empty suite cannot be published.
  • Refresh reads the suite again.

Connected AI assistants can use these tools. See the MCP tool reference.

ToolWhat it does
list_pom_suitesLists your suites and their app ids
get_pom_suiteOne suite: version, last reconcile, pages
get_pom_pageOne page object: locators, methods, source
get_pom_page_historyA page’s versions
reconcile_pom_suiteMerges a crawl’s latest page-object test cases into the suite
run_pom_suiteRuns the suite, or chosen specs
run_test_case_pomRuns one page-object test case
list_pom_suite_runsRecent suite runs of an app
get_pom_suite_runOne suite run with each spec’s result
publish_pom_suite_to_githubPublishes the suite to a repository

There is no tool to edit or lock a locator, normalize, download or stop a run. There is no Reconcile button on the suite page; reconciling happens after test generation, and by the tool above.