-
Notifications
You must be signed in to change notification settings - Fork 135
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
[WOO POS] UI tests for Simple products banner in Products screen #12428
base: trunk
Are you sure you want to change the base?
[WOO POS] UI tests for Simple products banner in Products screen #12428
Conversation
…ry and will be fixed in future iterations to trigger POS event when clicked on POS settings instead of payments menu.
…ucts screen is visited
…ts info dialog when clicked on learn more button.
…lose icon is clicked.
… it in our UI tests
…est so that the UI tests won't take much time to run
Generated by 🚫 Danger |
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
…products-banner # Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/WooPosHomeProductInfoDialog.kt # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/products/WooPosBanner.kt
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #12428 +/- ##
============================================
- Coverage 40.64% 40.64% -0.01%
Complexity 5602 5602
============================================
Files 1214 1214
Lines 68105 68106 +1
Branches 9358 9358
============================================
Hits 27683 27683
- Misses 37885 37886 +1
Partials 2537 2537 ☔ View full report in Codecov by Sentry. |
@@ -321,7 +321,8 @@ class MoreMenuViewModel @Inject constructor( | |||
mapOf(VALUE_MORE_MENU_PAYMENTS_BADGE_VISIBLE to isPaymentBadgeVisible().toString()) | |||
) | |||
moreMenuNewFeatureHandler.markPaymentsIconAsClicked() | |||
triggerEvent(MoreMenuEvent.ViewPayments) | |||
// triggerEvent(MoreMenuEvent.ViewPayments) | |||
triggerEvent(MoreMenuEvent.NavigateToWooPosEvent) |
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.
This change was made solely to run UI tests and needs to be reverted. The reason for the change is that the store used for UI testing doesn't pass IPP onboarding, which causes the POS setting to not appear in the settings.
Closes: #12377
Description
This PR:
Testing information
Ensure the CI is happy - specifically, UI test pipeline is green.
The tests that have been performed
Images/gif
Screen.Recording.2024-08-21.at.6.22.44.PM.mov
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.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: