-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix broken unit tests in French caption detection PR #6566
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
base: feat-bonjour-caption-check
Are you sure you want to change the base?
Conversation
Co-authored-by: RitikaPahwa4444 <[email protected]>
Co-authored-by: RitikaPahwa4444 <[email protected]>
Co-authored-by: RitikaPahwa4444 <[email protected]>
Co-authored-by: RitikaPahwa4444 <[email protected]>
Co-authored-by: RitikaPahwa4444 <[email protected]>
|
@copilot are the changes in UploadActivity.kt really necessary? If not, remove and re-run the tests and fix any remaining issues. |
Co-authored-by: RitikaPahwa4444 <[email protected]>
You're right - the UploadActivity.kt changes weren't necessary. The root cause was the test Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Description (required)
Fixes broken unit tests for PR #6553.
This PR addresses CI failures blocking #6553 (French caption detection feature):
Manifest merger conflict
Test builds failed due to
appComponentFactoryattribute conflict between main and test manifests. Added explicit override inapp/src/test/AndroidManifest.xml:Invalid test index fix
UploadActivityUnitTests.testOnNextButtonClickedwas callingonNextButtonClicked(-1)with an invalid index, causing anIndexOutOfBoundsException. Fixed the test to use a valid index0instead.Tests performed (required)
All 1536 unit tests passing on ProdDebug and BetaDebug variants.
Screenshots (for UI changes only)
N/A - test infrastructure changes only
Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.