Conversation
| await Assertions.expectElementToBeVisible(this.container, { | ||
| description: 'Predict market details screen', | ||
| timeout: 15000, | ||
| }); |
There was a problem hiding this comment.
New visibility assertions incompatible with Appium framework context
Medium Severity
Several newly added methods (waitForScreenToDisplay, isAboutTabContentDisplayed, isOutcomesTabContentDisplayed, verifyVolumeTextDisplayed, hasOutcomesTab, isAmountEntryVisible, isPayWithTokenListVisible, verifyTransactionFeeVisible) pass EncapsulatedElementType directly to the Detox-only Assertions.expectElementToBeVisible. In Appium context, the element resolves to a PlaywrightElement, but Assertions internally calls Detox globals like device.getPlatform() and waitFor, which will crash. Unlike expectText or tapOpenPosition, these methods lack encapsulatedAction dispatch.
Additional Locations (1)
There was a problem hiding this comment.
valid point Cursor. I opened a task where we can handle this in a separate PR
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27642 +/- ##
==========================================
+ Coverage 82.19% 82.33% +0.14%
==========================================
Files 4788 4785 -3
Lines 123512 123611 +99
Branches 27364 27507 +143
==========================================
+ Hits 101516 101777 +261
+ Misses 14962 14788 -174
- Partials 7034 7046 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found All E2E tests pre-selected. |
|
✅ E2E Fixture Validation — Schema is up to date |
|





Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Moderate risk because it refactors E2E test page objects and gesture plumbing to a new cross-framework abstraction; failures will surface as flaky/broken tests across Detox/Appium rather than runtime app issues.
Overview
Migrates several E2E page objects (Predict market list/details and
TransactionPayConfirmation) from Detox-only elements/gestures to the unifiedencapsulatedelement model, adding Appium/Playwright locators and usingUnifiedGesturesplusencapsulatedActionwhere Detox-specific delays/scrolling are needed.Extends Predict selectors with
PredictBalanceSelectorsText.AVAILABLE_BALANCEand updates Predict interactions to use category label mapping, ancestor/XPath outcome targeting, and new visibility/assertion helpers (e.g., tab content checks, volume label).Enhances the gesture abstraction by allowing
UnifiedGestureOptionsto pass Detox-onlyscrollToElementparameters (direction,scrollAmount), and adds aTabBarComponent.tapBrowser()convenience method.Written by Cursor Bugbot for commit cb77792. This will update automatically on new commits. Configure here.