5-Minute Setup: Playwright Sharding, PR Bot & Zero-Egress Jira CI
Step 1 — Install ForgeQA V2.0 (3-Second Demo or Instant CI Setup)
- Install ForgeQA — Playwright & CI Test Radar from the Atlassian Marketplace onto your Jira Cloud site.
- Open your Jira project and click ForgeQA CI & QA in the project sidebar.
- Evaluate in 3 seconds: Click Load Sample V2.0 Demo to populate a realistic Release Test Cycle (
v2.0.0), 3 Playwright CI runs with Retry-Flaky & Known-Bug grouping, Shared Steps, Parameterized Datasets, and Story JQL coverage (removable anytime via Clear Sample Data). - Connect real CI: Copy your Static Web Trigger URL, click Generate Project Token, and choose from 6 ready-to-copy snippets (Playwright, Cypress, Vitest, Pytest, Universal CLI, or Raw curl). Save both in your CI secrets as
FORGEQA_WEBTRIGGER_URLandFORGEQA_WEBHOOK_TOKEN.
Step 2 — Configure Sharded Playwright Merge & Optional PR Comment Bot
Our zero-dependency Node 20 GitHub Action natively supports glob shard merging
(e.g., playwright-report/shard-*.json), automatic base64 attachment & stdout slimming
(keeping large suites cleanly under Forge's 950 KiB Web Trigger limit), and an optional
auto-updating Pull Request summary comment.
permissions:
contents: read
pull-requests: write # Required only if enabling optional PR comments
jobs:
e2e-upload:
runs-on: ubuntu-latest
steps:
- name: Download Playwright shard JSON artifacts
uses: actions/download-artifact@v4
with:
pattern: playwright-shard-*
path: playwright-report
merge-multiple: true
- name: Upload Sharded Playwright Results to Jira (ForgeQA)
if: always()
uses: berylapps/playwright-to-jira-action@v1
with:
webtrigger-url: ${{ secrets.FORGEQA_WEBTRIGGER_URL }}
webhook-token: ${{ secrets.FORGEQA_WEBHOOK_TOKEN }}
project-key: 'PAY'
report-path: 'playwright-report/shard-*.json'
format: 'playwright-json'
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-pr: 'true'
Alternative 1: Universal Zero-Dependency CLI (GitLab CI / Bitbucket Pipelines / Jenkins)
Auto-detects GitLab CI, Bitbucket Pipelines, and Jenkins branch/commit/pipeline variables and automatically chunks 500–2,000+ test Playwright suites into sequential HMAC-signed batches merged into one Jira CI Run:
npx -y github:berylapps/playwright-to-jira-action \
--url "${FORGEQA_WEBTRIGGER_URL}" \
--token "${FORGEQA_WEBHOOK_TOKEN}" \
--project "PAY" \
--report "playwright-report/shard-*.json" \
--format playwright-json
Alternative 2: Raw curl
curl -sS -X POST "${FORGEQA_WEBTRIGGER_URL}?projectKey=PAY&format=playwright-json&branch=${CI_COMMIT_REF_NAME}&commitSha=${CI_COMMIT_SHA}" \
-H "Authorization: Bearer ${FORGEQA_WEBHOOK_TOKEN}" \
-H "Content-Type: application/json" \
--data-binary @playwright-report/results.json
For JUnit XML suites (Jest, Pytest, Maven, Cypress), pass format: 'junit-xml' and point report-path to your XML file or glob pattern.
Step 3 — Auto-Link Tests to Jira Stories via @PROJ-123
test('completes 3DS checkout @PAY-101', async ({ page }) => {
// Automatically appears in PAY-101 Issue Panel with Pass/Fail, Flaky, and Stack Trace
});
test('handles webhook retry', {
annotation: { type: 'jira', description: 'PAY-101' }
}, async ({ page }) => {
// Annotations are also auto-linked on Run #1
});
Step 4 — Release Test Cycles, Dual-Track Coverage, Native Attachments & Shared Steps
- Release Test Cycles (Go/No-Go): Open Tab 2 to bind Jira project release versions, manual execution runs, and automated CI runs into one executive readiness verdict (
GO / NO-GO / PENDING) that automatically excludes quarantined flakes. - Dual-Track Issue Panel & Native Jira Attachments: Inside any Jira Story, view Manual + Automated CI in one coverage bar, click inline
Pass/Fail/Block, and upload screenshots directly to Jira Native Issue Attachments (zero SQL BLOBs) alongside clickable CI Trace links. - Shared Steps, Parameterized Datasets & Known-Bug Dedup: Maintain reusable
@shared:<id>step blocks and{{param}}data matrices in Tabs 3–4, inspectNEW FAILUREvsKNOWN FAILUREdiffs in the Run Detail Drawer, and post 1-click regression comments on existing Known Bugs. - Native Jira JQL, Release Quality Gate & Dashboard Gadget: Filter issues via
project = PAY AND forgeqaTotalTests > 0 AND forgeqaFailedCount > 0, add the ForgeQA Release Quality Gate Workflow Validator, embed the ForgeQA CI Health & Flaky Radar gadget on Jira Dashboards, or email [email protected] for Free Assisted Migration from Xray, Zephyr, or TestRail.
Step 5 — Native Atlassian Rovo Agent (@ForgeQA Test Architect)
@ForgeQA Test Architect Show flaky Playwright tests in project PAY@ForgeQA Test Architect Summarize the latest CI test runs and failures in PAY@ForgeQA Test Architect Draft and save test cases for PAY-101 in project PAY
GitHub Action Inputs Reference
| Input | Required | Description |
|---|---|---|
webtrigger-url |
Yes | Static Forge Web Trigger URL from ForgeQA Tab 1. |
webhook-token |
Yes | Per-project encrypted ForgeQA token stored in CI Secrets. |
project-key |
Yes | Target Jira project key (e.g. PAY, SAM1). |
report-path |
Yes | Single path, comma/newline list, or glob (playwright-report/shard-*.json). |
format |
No | playwright-json (default) or junit-xml. |
github-token |
No | Optional ${{ secrets.GITHUB_TOKEN }} to create/update a single PR battle-report comment. |
comment-on-pr |
No | true (default when github-token is provided) or false. |
auth-mode |
No | hmac (default, X-ForgeQA-Signature) or bearer. |