Replace the Report a Problem button with the app's version on the start screen. (#4262)

Tapping it 7-times will secretly reveal the bug report screen 🤫
This commit is contained in:
Doug
2025-06-27 10:09:35 +01:00
committed by GitHub
parent d2bfcf81d2
commit e0914e4889
25 changed files with 61 additions and 67 deletions
@@ -229,8 +229,8 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
}
func verifyReportBugButton(_ app: XCUIApplication) async throws {
// Splash Screen: Report a problem button.
app.buttons[A11yIdentifiers.authenticationStartScreen.reportAProblem].tap()
// Splash Screen: Tap the version 7 times to report a problem
app.staticTexts[A11yIdentifiers.authenticationStartScreen.appVersion].tap(withNumberOfTaps: 7, numberOfTouches: 1)
// Bug report: Make sure it exists then cancel.
XCTAssert(app.textFields[A11yIdentifiers.bugReportScreen.report].exists)