dify/web/app/components/plugins/plugin-auth/authorize
CodingOnStar 38e5955760 test: improve unit tests for plugin authentication components
- Updated tests for the transformFormSchemasSecretInput function to clarify handling of null and numeric values.
- Added a data-testid to the AddOAuthButton for more reliable selection in tests.
- Refactored tests for AddOAuthButton to use the new data-testid for clicking the settings button.
- Enhanced assertions in ApiKeyModal and OAuthClientSettings tests to ensure proper API call handling during validation and state updates.
2025-12-25 17:52:45 +08:00
..
add-api-key-button.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
add-oauth-button.tsx test: improve unit tests for plugin authentication components 2025-12-25 17:52:45 +08:00
api-key-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
authorize-components.spec.tsx test: improve unit tests for plugin authentication components 2025-12-25 17:52:45 +08:00
index.spec.tsx test: add comprehensive tests for plugin authentication components 2025-12-24 16:39:15 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
oauth-client-settings.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00