Skip to content

test: add full-site crawl + Playwright smoke tests and CI gate - #12

Merged
bharathk-testsigma merged 1 commit into
mainfrom
feat/help-tab-phase-1
Jul 3, 2026
Merged

bharathk-testsigma merged 1 commit into
mainfrom
feat/help-tab-phase-1

Conversation

@bharathk-testsigma

Copy link
Copy Markdown
Owner
  • scripts/crawl-sitemap.mjs: crawls every sitemap URL, flagging non-200s, error-like bodies, missing <title>, and broken links; writes crawl-report.json and exits non-zero on any failure.
  • tests/e2e/smoke.spec.ts: Playwright smoke tests for interactive features (product switcher, sidebar, app-type filters, search, Ask Assistant, API reference, changelog, breadcrumbs).
  • playwright.config.ts: chromium + mobile-safari projects, BASE_URL-driven.
  • .github/workflows/docs-tests.yml: on PRs to main, waits for the Vercel preview then runs the crawl + smoke tests against it and comments the result.
  • package.json: add test:crawl / test:e2e / test:all / test:report scripts and @playwright/test devDependency (package-lock.json updated via npm install).
  • .gitignore: ignore playwright-report, test-results, crawl-report.json.

- scripts/crawl-sitemap.mjs: crawls every sitemap URL, flagging non-200s,
  error-like bodies, missing <title>, and broken links; writes crawl-report.json
  and exits non-zero on any failure.
- tests/e2e/smoke.spec.ts: Playwright smoke tests for interactive features
  (product switcher, sidebar, app-type filters, search, Ask Assistant, API
  reference, changelog, breadcrumbs).
- playwright.config.ts: chromium + mobile-safari projects, BASE_URL-driven.
- .github/workflows/docs-tests.yml: on PRs to main, waits for the Vercel
  preview then runs the crawl + smoke tests against it and comments the result.
- package.json: add test:crawl / test:e2e / test:all / test:report scripts and
  @playwright/test devDependency (package-lock.json updated via npm install).
- .gitignore: ignore playwright-report, test-results, crawl-report.json.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-v2 Ready Ready Preview, Comment Jul 3, 2026 6:48am

@bharathk-testsigma
bharathk-testsigma merged commit 2339bbd into main Jul 3, 2026
1 of 2 checks passed

This branch was successfully deployed

1 active deployment
Preview — d20547b4 Deployed Jul 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant