Updated a few accessibility ids for automated tests

pull/1061/head
Morgan Pretty 1 week ago
parent bc654d5b96
commit 02dd49b9c9

@ -661,7 +661,7 @@ class ThreadSettingsViewModel: SessionTableViewModel, NavigatableStateHolder, Ob
threadViewModel.threadIsBlocked == true,
oldValue: (previous?.threadViewModel?.threadIsBlocked == true),
accessibility: Accessibility(
identifier: "Block This User - Switch"
identifier: "Block - Switch"
)
),
accessibility: Accessibility(
@ -1130,7 +1130,7 @@ class ThreadSettingsViewModel: SessionTableViewModel, NavigatableStateHolder, Ob
placeholder: "nicknameEnter".localized(),
initialValue: current,
accessibility: Accessibility(
identifier: "Username"
identifier: "Username input"
)
),
onChange: { [weak self] updatedName in self?.updatedName = updatedName }

@ -461,7 +461,7 @@ class SettingsViewModel: SessionTableViewModel, NavigationItemSource, Navigatabl
placeholder: "displayNameEnter".localized(),
initialValue: current,
accessibility: Accessibility(
identifier: "Username"
identifier: "Username input"
)
),
onChange: { [weak self] updatedName in self?.updatedName = updatedName }

@ -341,7 +341,7 @@ class ThreadSettingsViewModelSpec: QuickSpec {
info: ConfirmationModal.Info.Body.InputInfo(
placeholder: "nicknameEnter".localized(),
initialValue: nil,
accessibility: Accessibility(identifier: "Username")
accessibility: Accessibility(identifier: "Username input")
),
onChange: { _ in }
)

Loading…
Cancel
Save