Request to join community screen is not scrollable on Android #15748 (#15750)

Co-authored-by: Churikova Tetiana <tatiana@status.im>
This commit is contained in:
flexsurfer 2023-04-26 13:33:00 +02:00 committed by GitHub
parent 0649c66dde
commit 0ca6ee3934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,8 @@
[quo2.core :as quo] [quo2.core :as quo]
[utils.i18n :as i18n] [utils.i18n :as i18n]
[utils.re-frame :as rf] [utils.re-frame :as rf]
[utils.requests :as requests])) [utils.requests :as requests]
[react-native.gesture :as gesture]))
(defn request-to-join-text (defn request-to-join-text
[is-open?] [is-open?]
@ -28,7 +29,7 @@
pending? (rf/sub [:communities/my-pending-request-to-join id]) pending? (rf/sub [:communities/my-pending-request-to-join id])
is-open? (not= 3 (:access permissions))] is-open? (not= 3 (:access permissions))]
[rn/view {:flex 1 :margin-top 40} [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/page-container
[rn/view [rn/view
{:style style/title-container} {:style style/title-container}

View File

@ -618,7 +618,8 @@ class BaseView(object):
def get_public_key_and_username(self, return_username=False): def get_public_key_and_username(self, return_username=False):
self.driver.info("Get public key and username, return_username '%s'" % str(return_username)) 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 default_username = profile_view.default_username_text.text
profile_view.share_my_profile_button.click() profile_view.share_my_profile_button.click()
profile_view.public_key_text.wait_for_visibility_of_element(20) profile_view.public_key_text.wait_for_visibility_of_element(20)