diff options
Diffstat (limited to 'ios/MullvadVPN/View controllers/ProblemReport')
2 files changed, 3 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift index 7cba3d1ec9..a6af41be56 100644 --- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift +++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportSubmissionOverlayView.swift @@ -174,6 +174,8 @@ class ProblemReportSubmissionOverlayView: UIView { override init(frame: CGRect) { super.init(frame: frame) + accessibilityIdentifier = AccessibilityIdentifier.problemReportSubmittedView + addSubviews() transitionToState(state) diff --git a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController+ViewManagement.swift b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController+ViewManagement.swift index 30a5e7d2e2..488c48370f 100644 --- a/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController+ViewManagement.swift +++ b/ios/MullvadVPN/View controllers/ProblemReport/ProblemReportViewController+ViewManagement.swift @@ -96,6 +96,7 @@ extension ProblemReportViewController { func makeSendButton() -> AppButton { let button = AppButton(style: .success) + button.accessibilityIdentifier = AccessibilityIdentifier.problemReportSendButton button.translatesAutoresizingMaskIntoConstraints = false button.setTitle(Self.persistentViewModel.sendLogsButtonTitle, for: .normal) button.addTarget(self, action: #selector(handleSendButtonTap), for: .touchUpInside) |
