Repository navigation
test: add full-site crawl + Playwright smoke tests and CI gate - #12
Merged
Merged
Conversation
bharathk-testsigma
commented
Jul 3, 2026
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.