Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Integration test for RandomHadithScreen & Add Integration Tests #1572

Open
YassinNouh21 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1571
Open

test: Integration test for RandomHadithScreen & Add Integration Tests #1572

YassinNouh21 opened this issue Feb 7, 2025 · 0 comments · May be fixed by #1571
Assignees
Labels

Comments

@YassinNouh21
Copy link
Contributor

✨ Description

The RandomHadithScreen needs layout optimizations, better responsiveness, and integration tests. The current implementation lacks proper Expanded usage, a unique Key for DisplayTextWidget.hadith, and automated UI tests.

📌 Problems

  • Inefficient widget structure causing layout inconsistencies.
  • No Key in DisplayTextWidget.hadith, making testing difficult.
  • Missing integration tests for:
    • Hadith text rendering (LTR/RTL).
    • Handling of loading and error states.

🎯 Expected Outcome

  • Use Expanded for better UI distribution.
  • Ensure proper RTL/LTR text rendering.
  • Handle loading and error states gracefully.
  • Add integration tests.
  • Assign a Key to DisplayTextWidget.hadith.
  • Add integration_test to pubspec.yaml.
@YassinNouh21 YassinNouh21 self-assigned this Feb 7, 2025
@YassinNouh21 YassinNouh21 linked a pull request Feb 7, 2025 that will close this issue
4 tasks
@YassinNouh21 YassinNouh21 changed the title Improve RandomHadithScreen & Add Integration Tests test: Integration test for RandomHadithScreen & Add Integration Tests Feb 8, 2025
@YassinNouh21 YassinNouh21 linked a pull request Feb 9, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant