# Testing signals — payloadcms/payload

> Canonical page: https://codevetter.com/unpack/payload/testing-signals

# Testing signals — payloadcms/payload

Scanned commit e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; no passing result is asserted. Vitest separates unit, browser-component, RSC, integration, and evaluation projects, while Playwright covers browser workflows and visual comparisons. Read assertions demonstrate intended coverage of request construction, authentication, authorization, password migration, and selected accessibility behavior. The inventory and inspection are bounded, and neither test existence nor CI configuration establishes exhaustive coverage or runtime correctness.
- Vitest selects package/tool/unit specs for the Node unit project, TSX specs for Chromium component tests, and Next RSC specs under react-server resolution conditions. — [vitest.config.ts#L68-106](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/vitest.config.ts#L68-L106)
- The integration project selects test/**/*int.spec.ts, disables file parallelism, uses 90-second hook/test timeouts, and loads test/vitest.setup.ts; CI configures two Vitest retries. — [vitest.config.ts#L57-59](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/vitest.config.ts#L57-L59) [vitest.config.ts#L108-123](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/vitest.config.ts#L108-L123)
- Shared integration fixtures initialize/destroy Payload once per file, ordinarily reset and seed before each payload-backed test, and provide REST/SDK clients; the inspected auth suite explicitly disables between-test resets. — [test/__helpers/int/vitest.ts#L107-154](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/__helpers/int/vitest.ts#L107-L154) [test/__helpers/int/vitest.ts#L162-164](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/__helpers/int/vitest.ts#L162-L164) [test/auth/int.spec.ts#L47-50](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/auth/int.spec.ts#L47-L50)
- Read auth assertions cover successful REST login, removal of restricted user fields from login responses, owned preference updates, first-user registration rejection, and legacy password rehashing. — [test/auth/int.spec.ts#L109-119](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/auth/int.spec.ts#L109-L119) [test/auth/int.spec.ts#L540-602](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/auth/int.spec.ts#L540-L602) [test/auth/int.spec.ts#L666-710](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/auth/int.spec.ts#L666-L710)
- createPayloadRequest unit tests use mock Payload objects to check supplied URL precedence, configured serverURL fallback, and localhost fallback; these assertions do not exercise a real database or HTTP server. — [packages/payload/src/utilities/createPayloadRequest.spec.ts#L7-31](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/packages/payload/src/utilities/createPayloadRequest.spec.ts#L7-L31) [packages/payload/src/utilities/createPayloadRequest.spec.ts#L62-95](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/packages/payload/src/utilities/createPayloadRequest.spec.ts#L62-L95) [packages/payload/src/utilities/createPayloadRequest.spec.ts#L32-61](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/packages/payload/src/utilities/createPayloadRequest.spec.ts#L32-L61)
- The inspected WCAG Playwright suite checks the login logo's accessible name and lack of tab stop, plus column-editor headings and checkbox labels; browser configuration defines only a Chromium project. — [test/a11y/WCAG.e2e.spec.ts#L80-125](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/a11y/WCAG.e2e.spec.ts#L80-L125) [test/playwright.config.ts#L74-79](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/test/playwright.config.ts#L74-L79)
- Main CI configures unit/component/type checks and sharded integration tests; integration runs can exclude Canary-named tests when the upstream Next canary package probe reports an incomplete publish. — [.github/workflows/main.yml#L211-247](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/.github/workflows/main.yml#L211-L247) [.github/workflows/main.yml#L274-282](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/.github/workflows/main.yml#L274-L282) [.github/workflows/main.yml#L308-321](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/.github/workflows/main.yml#L308-L321)
- Production E2E CI excludes @visual tests, which run in a separate path-gated visual job using pinned Playwright Docker tooling; the scripts and workflow were inspected, not executed, so their current outcomes and uninspected flows remain unverified. — [.github/workflows/main.yml#L457-465](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/.github/workflows/main.yml#L457-L465) [.github/workflows/main.yml#L486-499](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/.github/workflows/main.yml#L486-L499) [package.json#L128-147](https://github.com/payloadcms/payload/blob/e6cd442f40563b2dd95cebcc6a3ffaa2dbbc68f2/package.json#L128-L147)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
