Skip to content

feat(admin-ui): add test files for pages across the system that currently do not have.#2889

Merged
moabu merged 2 commits into
mainfrom
admin-ui-issue-2887
Jun 24, 2026
Merged

feat(admin-ui): add test files for pages across the system that currently do not have.#2889
moabu merged 2 commits into
mainfrom
admin-ui-issue-2887

Conversation

@faisalsiddique4400

Copy link
Copy Markdown
Contributor

feat(admin-ui): add test files for pages across the system that currently do not have them (#2887)

Summary

This PR expands test coverage across the Admin UI by adding test files for pages that currently have no associated test coverage.

The goal is to improve confidence in page-level functionality, reduce regression risk, and support the ongoing effort to validate and strengthen the overall Jest test suite across the application.


Fix Summary

  • Added test files for pages that previously had no test coverage
  • Increased page-level coverage across Admin UI modules and plugins
  • Added baseline rendering and behavior validation for uncovered pages
  • Improved consistency of test coverage across the application
  • Established a foundation for future feature-specific and interaction-based tests
  • Reduced the number of untested entry points throughout the system
  • Aligned page testing patterns with existing testing standards

Verification

npm run test:all
npm run check:all

passes successfully.

  • Verified newly added test files execute successfully
  • Verified page rendering tests pass
  • Verified existing test suites remain unaffected
  • Verified no regressions introduced by the additional coverage
  • Verified lint and type-check pass successfully

🔗 Ticket

Closes: #2887

…ntly do not have them (#2887)

Signed-off-by: faisalsiddique4400 <faisalsiddique10886@gmail.com>
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@faisalsiddique4400, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 57 minutes and 31 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 04a188e0-8084-489a-a62c-7251e72a94ac

📥 Commits

Reviewing files that changed from the base of the PR and between e5f82d7 and 3aded32.

📒 Files selected for processing (28)
  • admin-ui/plugins/admin/__tests__/components/Webhook/WebhookAddPage.test.tsx
  • admin-ui/plugins/admin/__tests__/components/Webhook/WebhookEditPage.test.tsx
  • admin-ui/plugins/admin/__tests__/components/Webhook/WebhookForm.test.tsx
  • admin-ui/plugins/auth-server/components/Authentication/Acrs/__tests__/AcrsForm.test.tsx
  • admin-ui/plugins/auth-server/components/ConfigApiProperties/__tests__/components/ConfigApiPropertiesPage.test.tsx
  • admin-ui/plugins/auth-server/components/JsonViewer/__tests__/components/JsonViewer.test.tsx
  • admin-ui/plugins/auth-server/components/JsonViewer/__tests__/components/JsonViewerDialog.test.tsx
  • admin-ui/plugins/auth-server/components/Ssa/__tests__/components/SsaForm.test.tsx
  • admin-ui/plugins/fido/__tests__/components/Metrics/useMetricsApi.test.tsx
  • admin-ui/plugins/fido/__tests__/components/Metrics/utils.test.ts
  • admin-ui/plugins/fido/__tests__/helper/validations.test.ts
  • admin-ui/plugins/fido/__tests__/hooks/useFidoApi.test.tsx
  • admin-ui/plugins/saml/__tests__/components/SamlConfigurationForm.test.tsx
  • admin-ui/plugins/saml/__tests__/components/SamlPage.test.tsx
  • admin-ui/plugins/saml/__tests__/components/WebsiteSsoIdentityProviderForm.test.tsx
  • admin-ui/plugins/saml/__tests__/components/WebsiteSsoServiceProviderForm.test.tsx
  • admin-ui/plugins/scim/__tests__/components/ScimConfiguration.test.tsx
  • admin-ui/plugins/scim/__tests__/components/ScimFieldRenderer.test.tsx
  • admin-ui/plugins/scripts/__tests__/components/CustomScriptListPage.test.tsx
  • admin-ui/plugins/services/__tests__/components/CacheInMemory.test.tsx
  • admin-ui/plugins/services/__tests__/components/CacheMemcached.test.tsx
  • admin-ui/plugins/services/__tests__/components/CacheNative.test.tsx
  • admin-ui/plugins/services/__tests__/components/CacheRedis.test.tsx
  • admin-ui/plugins/services/__tests__/components/hooks/useCacheAudit.test.ts
  • admin-ui/plugins/user-claims/__tests__/components/UserClaimsViewPage.test.tsx
  • admin-ui/plugins/user-management/__tests__/components/UserDetailViewPage.test.tsx
  • admin-ui/plugins/user-management/__tests__/components/UserDeviceDetailViewPage.test.tsx
  • admin-ui/plugins/user-management/__tests__/components/UserForm.test.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch admin-ui-issue-2887

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@faisalsiddique4400 faisalsiddique4400 changed the title feat(admin-ui): add test files for pages across the system that curre… feat(admin-ui): add test files for pages across the system that currently do not have. Jun 23, 2026
@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Jun 23, 2026
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@moabu moabu merged commit 2042398 into main Jun 24, 2026
8 checks passed
@moabu moabu deleted the admin-ui-issue-2887 branch June 24, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(admin-ui): add test files for pages across the system that currently do not have them.

4 participants