one accessibility-id for account name input
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
cfe25b8b45
commit
696ebbf67e
|
@ -61,6 +61,7 @@
|
|||
:label-style {:color colors/gray}
|
||||
:auto-focus false
|
||||
:default-value (:name account)
|
||||
:accessibility-label :enter-account-name
|
||||
:on-change-text #(swap! new-account assoc :name %)}]
|
||||
[react/text {:style {:margin-top 30 :color colors/gray}} (i18n/label :t/account-color)]
|
||||
[react/touchable-highlight
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
{:label (i18n/label :t/account-name)
|
||||
:auto-focus false
|
||||
:default-value (:name account)
|
||||
:accessibility-label :add-account-enter-account-name
|
||||
:accessibility-label :enter-account-name
|
||||
:placeholder (i18n/label :t/account-name)
|
||||
:on-change-text #(re-frame/dispatch [:set-in [:add-account :account :name] %])}]
|
||||
[react/text {:style {:margin-top 30}} (i18n/label :t/account-color)]
|
||||
|
|
|
@ -320,7 +320,7 @@ class EnterYourPasswordInput(BaseEditBox):
|
|||
class AccountNameInput(BaseEditBox):
|
||||
def __init__(self, driver):
|
||||
super(AccountNameInput, self).__init__(driver)
|
||||
self.locator = self.Locator.accessibility_id('add-account-enter-account-name')
|
||||
self.locator = self.Locator.accessibility_id('enter-account-name')
|
||||
|
||||
|
||||
class AccountColorButton(BaseButton):
|
||||
|
|
Loading…
Reference in New Issue