mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user