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.
Set up
Section titled “Set up”- Open Settings → Integrations → GitHub. Under Publish tests, connect your GitHub account and authorize InsightJet.
- 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.
Commit test cases
Section titled “Commit test cases”- Open the Test Cases tab and select the test cases.
- 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.
- Choose the format: Playwright (
.spec.ts), Gherkin (.feature), JSON DSL (.json), or all formats.
The files are committed together in one commit.
Publish a page object suite
Section titled “Publish a page object suite”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.
Best Practices
Section titled “Best Practices”- Use a dedicated branch for the first commits, then review them in a pull request
- Review generated selectors — InsightJet prefers
data-testattributes where your app has them