Skip to content

Publish tests to GitHub

InsightJet can commit test cases straight into a GitHub repository. For tickets made from pull requests and tests started from a pull request, see GitHub pull request tests.

  1. Open Settings → Integrations → GitHub. Under Publish tests, connect your GitHub account and authorize InsightJet.
  2. Choose the default Repository and branch, and click Save Preferences. You can also create a new repository from here.

You can browse the test files already in the repository from the same page.

  1. Open the Test Cases tab and select the test cases.
  2. Click GitHub in the bar that shows what is selected. To commit every test case, use Commit All to GitHub in the toolbar’s menu instead.
  3. Choose the format: Playwright (.spec.ts), Gherkin (.feature), JSON DSL (.json), or all formats.

The files are committed together in one commit.

A page object suite can also be published to GitHub. Connected AI assistants can do it with the publish_pom_suite_to_github tool; see the MCP tool reference.

  • Use a dedicated branch for the first commits, then review them in a pull request
  • Review generated selectors — InsightJet prefers data-test attributes where your app has them