woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 135 forks source link

List all simulated card reader update options #12909

Closed malinajirka closed 1 week ago

malinajirka commented 1 week ago

Description

This PR lists all the simulated card reader update options so we can more easily test various scenarios. This might be especially useful with the current refactorings we have been working on.

Testing information

  1. Open Settings
  2. Open Developer Options
  3. Enable Simulated Reader
  4. Open the Update Options dialog
  5. Notice it contains two new options related to low battery states

The tests that have been performed

I just tested the new options are listed.

Images/gif

Reviewer (or Author, in the case of optional code reviews):

Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement:

wpmobilebot commented 1 week ago
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commit16f78ee6b85a9f311d613963d237f2e36645cdd7
Direct Downloadwoocommerce-wear-prototype-build-pr12909-16f78ee.apk
wpmobilebot commented 1 week ago

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commit16f78ee6b85a9f311d613963d237f2e36645cdd7
Direct Downloadwoocommerce-prototype-build-pr12909-16f78ee.apk
codecov-commenter commented 1 week ago

Codecov Report

Attention: Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 40.17%. Comparing base (545b2b8) to head (16f78ee). Report is 3 commits behind head on trunk.

Files with missing lines Patch % Lines
...erce/android/ui/prefs/DeveloperOptionsViewModel.kt 0.00% 4 Missing :warning:
...id/cardreader/internal/wrappers/TerminalWrapper.kt 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #12909 +/- ## ============================================ - Coverage 40.18% 40.17% -0.01% Complexity 5798 5798 ============================================ Files 1258 1258 Lines 71539 71547 +8 Branches 9979 9979 ============================================ + Hits 28745 28747 +2 - Misses 40155 40161 +6 Partials 2639 2639 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.