mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Add accessibility id for automation purpose.
- Added accessibility ids to some objects on authentication views for UI automation purpose
This commit is contained in:
@@ -875,6 +875,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
|
||||
[signOutCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[signOutCell.mxkButton addTarget:self action:@selector(onSignout:) forControlEvents:UIControlEventTouchUpInside];
|
||||
signOutCell.mxkButton.accessibilityIdentifier=@"SettingsVCSignOutButton";
|
||||
|
||||
cell = signOutCell;
|
||||
}
|
||||
@@ -1243,6 +1244,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
|
||||
[markAllBtnCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[markAllBtnCell.mxkButton addTarget:self action:@selector(markAllAsRead:) forControlEvents:UIControlEventTouchUpInside];
|
||||
markAllBtnCell.mxkButton.accessibilityIdentifier = nil;
|
||||
|
||||
cell = markAllBtnCell;
|
||||
}
|
||||
@@ -1262,6 +1264,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
|
||||
[clearCacheBtnCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[clearCacheBtnCell.mxkButton addTarget:self action:@selector(clearCache:) forControlEvents:UIControlEventTouchUpInside];
|
||||
clearCacheBtnCell.mxkButton.accessibilityIdentifier = nil;
|
||||
|
||||
cell = clearCacheBtnCell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user