- Enhance document-status-with-action/index-failed.spec.tsx by adding cleanup after each test and ensuring state updates are properly awaited.
- Update secret-key-button.spec.tsx to improve modal rendering tests by using data-testid for app ID.
- Refactor secret-key-generate.spec.tsx to clarify expectations on modal close behavior.
These changes aim to increase test reliability and maintainability across the affected components.