|
|
@ -33,16 +33,6 @@ class AboutUsTests: XCTestCase { |
|
|
|
|
|
|
|
|
|
|
|
tapAboutTab() |
|
|
|
tapAboutTab() |
|
|
|
|
|
|
|
|
|
|
|
let appDisplayName = "CFBundleDisplayName".localizedString() |
|
|
|
|
|
|
|
let expectedVersion = "\(appDisplayName) 21.07.03 (97)" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
guard let presentVersion = app.windows["Clocker"].staticTexts["ClockerVersion"].value as? String else { |
|
|
|
|
|
|
|
XCTFail("Present version not present") |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XCTAssertEqual(expectedVersion, presentVersion) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.checkBoxes["ClockerPrivateFeedback"].click() |
|
|
|
app.checkBoxes["ClockerPrivateFeedback"].click() |
|
|
|
app.buttons["Send Feedback"].click() |
|
|
|
app.buttons["Send Feedback"].click() |
|
|
|
|
|
|
|
|
|
|
|