dify/web/app/components/plugins/plugin-auth
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
..
authorize test: improve unit tests for plugin authentication components 2025-12-25 17:52:45 +08:00
authorized chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
authorized-in-data-source-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
authorized-in-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.spec.tsx test: improve unit tests for plugin authentication components 2025-12-25 17:52:45 +08:00
index.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
plugin-auth-in-agent.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
plugin-auth-in-datasource-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
plugin-auth.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
types.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
utils.ts Support OAuth Integration for Plugin Tools (#22550) 2025-07-17 17:18:44 +08:00