Skip to content

Add Vitest coverage for Gateway resource components #5896

@skools-here

Description

@skools-here

Summary

The Gateway resource components currently have little or no test coverage. Adding tests would help catch rendering regressions and improve confidence when refactoring gateway-related functionality.

Scope

Directory:

  • frontend/src/components/gateway/

Potential test cases:

  • Component renders successfully
  • Loading states are displayed correctly
  • Error states are handled correctly
  • Resource details are rendered from mocked Kubernetes API responses
  • Actions and user interactions work as expected

Additional Context

Gateway components are among the larger untested frontend resource sections and are frequently used when working with Gateway API resources.

/assign

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions