-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[NOMERGE]: tests failing on github actions #6866
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
Conversation
WalkthroughThe i18n test file is updated to add Dutch language test coverage. A new test sequence for the "nl" locale is inserted that verifies Dutch-translated UI elements including labels and menu items. The drawer close action is repositioned to execute after this new test block rather than before it. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
.maestro/tests/assorted/i18n.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: ESLint and Test / run-eslint-and-test
🔇 Additional comments (1)
.maestro/tests/assorted/i18n.yaml (1)
49-76: The mixed language expectations are intentional and correct—no changes needed to the test assertions.The test demonstrates i18n fallback behavior: 'Chats' has no Dutch translation in
app/i18n/locales/nl.json, so it correctly falls back to English, while 'Profiel' and 'Instellingen' use their Dutch translations. The comment "should select 'nl' and fallback to 'en'" accurately describes this behavior.Note: The test is marked as failing on line 48. If the failure is unrelated to the assertions, investigate the actual cause of the test failure (e.g., UI element availability, timing, or other flow issues).
Optional: The Dutch test (lines 49–76) duplicates the structure of the English test (lines 20–47). Consider extracting a reusable flow that accepts language code and expected text values as parameters.
Likely an incorrect or invalid review comment.
| - tapOn: | ||
| id: 'sidebar-close-drawer' | ||
|
|
||
| # test failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
cat -n .maestro/tests/assorted/i18n.yaml | head -80Repository: RocketChat/Rocket.Chat.ReactNative
Length of output: 2285
🏁 Script executed:
# Check if there's a git history or related issues
git log --oneline -20 -- .maestro/tests/assorted/i18n.yaml 2>/dev/null | head -10Repository: RocketChat/Rocket.Chat.ReactNative
Length of output: 99
🏁 Script executed:
# Check for any setup issues with language navigation
cat -n .maestro/tests/assorted/utils/nav-to-language.yamlRepository: RocketChat/Rocket.Chat.ReactNative
Length of output: 1194
Investigate the failing Dutch language fallback test.
The test starting at line 49 checks i18n fallback behavior when Dutch is selected (it intentionally expects mixed English and Dutch text based on the fallback mechanism noted in the comment). However, the test is failing. Determine the specific point of failure—which element is not appearing, timeout, or other issue—and either fix the implementation or adjust the test expectations accordingly.
|
Android Build Available Rocket.Chat Experimental 4.68.0.107954 Internal App Sharing: https://play.google.com/apps/test/RQVpXLytHNc/ahAO29uNQGU5FsBxZQkHwImt1IKkUyn37UBehlczXkpqQsAR60Sn_iGNaxa-IVWlCplY4noM1zxpdMHzWrsjXPOHWJ |
|
iOS Build Available Rocket.Chat Experimental 4.68.0.107955 |
Proposed changes
Issue(s)
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.