-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Interactive touch outside React-Native-Navigation Overlay when detox run #2834
Comments
@hqdai, sorry for replying late. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this reporsitory, read this discussion. |
The issue has been closed for inactivity. |
Will check it this week and update |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this reporsitory, read this discussion. |
Not stale, |
Hello @alon-ha, Many thanks |
No updates so far, we apologize. |
No problems, just checking to update our progress 😊 Thanks for quick response 😍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this reporsitory, read this discussion. |
Not stale |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this reporsitory, read this discussion. |
Failed test: `scroll interactions -> should not be intractable when overlay is shown`.
…t visible. This fixes the bug reported on this issue: wix#2834.
This fixes the bug reported on this issue: wix#2834.
This fixes the bug reported on this issue: wix#2834.
Failed test: `scroll interactions -> should not be intractable when overlay is shown`.
This fixes the bug reported on this issue: wix#2834.
Failed tests: - `scroll view -> should not be scrollable when overlay is shown`. - `button -> should not be hittable when overlay is shown`.
Failed tests: - `scroll view -> should not be scrollable when overlay is shown`. - `button -> should not be hittable when overlay is shown`.
* fix(34.visibility.test.js): await for element matching. * fix(DetoxPolicy): remove `percentDescriptionForValue` method. Replaces this error message: `View “<RCTView: 0x7fa3020598b0>” is not visible: View is clipped by one or more of its superviews' bounds and does not pass visibility percent threshold (7,500)`, With this error message: `View “<RCTView: 0x7fa3020598b0>” is not visible: View is clipped by one or more of its superviews' bounds and does not pass visibility percent threshold (75)`. * iOS(Test App): add native method for presenting overlay window. * iOS(Test App): write failed detox tests (to reproduce #2834). Failed tests: - `scroll view -> should not be scrollable when overlay is shown`. - `button -> should not be hittable when overlay is shown`. * fix(iOS): rewrite `isHittable` check logic. Rewrite the logic: - Finds a visible point of the view (otherwise the view is not hittable). - Finds the topmost window, tries to tap on the visible point using `hitTest`. - Checks whether the hitted view is the view itself / descendent of the tested view. * fix(DetoxActions): use is-hittable assertion before UI gestures. * fix(isHittable): check if view is hittable from first responder. * UIView+DetoxUtils: remove redundant EL. * fix(actions): use the correct coordinates systems. * fix(DetoxUtils): fix `error` handling. * fix(DetoxUtils): add nullable flag to error's value. * UIResponder+First: add reference to the source SO thread. * UIScrollView+DetoxActions: make informative assertion. * 03.actions.test.js: add expectations. * 03.actions-scroll.test.js: add tests for covered scroll view. * 03.actions-scroll.test.js: fix android test fail (due to timeout). * 03.actions.test.js: expect only on iOS. * Publish 19.3.0-smoke.0 [ci skip] * 03.actions.test.js: replace TODOs with reference to issue. * fix(33.attributes.test.js): expect both subviews to be hittable. Co-authored-by: wixmobile <mobile1@wix.com>
Description
I'm using React-native-navigation (RNN) with an overlay is showing as alert, my issue is when manual test, I can't touch outside the alert message, that is correct, but when detox runs for automation test, it can touch and scroll outside the alert area.
So, the problem is why Detox can interact outside the overlay area ...
Reproduction
To reproduce, please check out my pet project and just do the test run. You can see detox can scroll even though the alert message is shown on top. Please be noted that I've turned option: interceptTouchOutside: true already.
Screen.Recording.2021-06-14.at.15.43.23.mov
Interactive 2.zip
Environment:
The text was updated successfully, but these errors were encountered: