-
Notifications
You must be signed in to change notification settings - Fork 391
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 and Test App Cleanup #2630
Conversation
brandonpage
commented
Oct 21, 2024
- Fixed Server Picker UI tests.
- Downgraded hybrid test apps to API 34 to avoid Edge to Edge issues.
- Fixed Edge to Edge issues on native test apps.
- Fixed a couple AndroidManifest issues with test apps.
… to Edge issues in native apps.
if (!SalesforceSDKManager.getInstance().getIsTestRun()) { | ||
startActivity(intent); | ||
} |
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.
I really don't love this, but it seems to be the only way to get the tests to run consistently.
@@ -26,7 +26,6 @@ | |||
*/ | |||
package com.salesforce.samples.restexplorer; | |||
|
|||
import static androidx.test.InstrumentationRegistry.getInstrumentation; |
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.
Every change in this class is either fixing a warning or changing Thread.sleep
to device.waitForIdle
(which speeds things up).
Tests results for SmartStoreGenerated by 🚫 Danger |
Tests:
Tests results for SalesforceHybridGenerated by 🚫 Danger |
Tests results for MobileSyncGenerated by 🚫 Danger |
Tests results for SalesforceSDKGenerated by 🚫 Danger |
Tests results for SalesforceReactGenerated by 🚫 Danger |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2630 +/- ##
============================================
- Coverage 58.91% 58.87% -0.04%
Complexity 2452 2452
============================================
Files 189 189
Lines 15432 15474 +42
Branches 1997 1998 +1
============================================
+ Hits 9091 9111 +20
- Misses 5413 5431 +18
- Partials 928 932 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|