swift-responsive-textfield
swift-responsive-textfield copied to clipboard
Add localization key to placeholder
Overview
This PR adds additional snapshot tests for the ResponsiveTextField component and includes tests for Arabic localization. These changes address issue #11 and enhance our test coverage by ensuring the component behaves correctly under various configurations and locales.
Changes
Tests Added
testTextFieldInArabic: Checks the text field in the Arabic locale, both empty and with text.testTextFieldWithDifferentConfigurations: Checks the text field with different configurations (empty, no autocorrect, no autocapitalization).
Related Issue
This PR addresses issue #11.
Screenshots
https://github.com/user-attachments/assets/d55bf455-78ad-4dfe-b7d1-862cfa7774be
Checklist
- [x] Added snapshot tests for
ResponsiveTextField. - [x] Included Arabic localization tests.
Please review the changes and provide feedback. Thank you!
Hi @lukeredpath ,
I’ve added a new feature to the swift-responsive-textfield package, but I’m running into an issue with the GitHub CI action related to Code Climate. The error message is:
The process '/Users/runner/work/swift-responsive-textfield/swift-responsive-textfield/cc-reporter' failed with exit code 255
Any ideas on how to resolve this?
@Muhammadbarznji thanks for the PR - I will take a look. Don't worry about the CodeClimate step.