From 0ca6ee39341adf0353da463dc3113e6a194c3dc4 Mon Sep 17 00:00:00 2001 From: flexsurfer Date: Wed, 26 Apr 2023 13:33:00 +0200 Subject: [PATCH] Request to join community screen is not scrollable on Android #15748 (#15750) Co-authored-by: Churikova Tetiana --- .../contexts/communities/menus/request_to_join/view.cljs | 5 +++-- test/appium/views/base_view.py | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/status_im2/contexts/communities/menus/request_to_join/view.cljs b/src/status_im2/contexts/communities/menus/request_to_join/view.cljs index b7893bd78c..19035755c6 100644 --- a/src/status_im2/contexts/communities/menus/request_to_join/view.cljs +++ b/src/status_im2/contexts/communities/menus/request_to_join/view.cljs @@ -6,7 +6,8 @@ [quo2.core :as quo] [utils.i18n :as i18n] [utils.re-frame :as rf] - [utils.requests :as requests])) + [utils.requests :as requests] + [react-native.gesture :as gesture])) (defn request-to-join-text [is-open?] @@ -28,7 +29,7 @@ pending? (rf/sub [:communities/my-pending-request-to-join id]) is-open? (not= 3 (:access permissions))] [rn/view {:flex 1 :margin-top 40} - [rn/scroll-view {:style {:flex 1}} + [gesture/scroll-view {:style {:flex 1}} [rn/view style/page-container [rn/view {:style style/title-container} diff --git a/test/appium/views/base_view.py b/test/appium/views/base_view.py index 4e493872d3..6097df8f3e 100644 --- a/test/appium/views/base_view.py +++ b/test/appium/views/base_view.py @@ -618,7 +618,8 @@ class BaseView(object): def get_public_key_and_username(self, return_username=False): self.driver.info("Get public key and username, return_username '%s'" % str(return_username)) - profile_view = self.profile_button.click() + profile_view = self.get_profile_view() + self.profile_button.click_until_presence_of_element(profile_view.default_username_text) default_username = profile_view.default_username_text.text profile_view.share_my_profile_button.click() profile_view.public_key_text.wait_for_visibility_of_element(20)