Co-authored-by: Churikova Tetiana <tatiana@status.im>
This commit is contained in:
parent
0649c66dde
commit
0ca6ee3934
|
@ -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}
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue