Browse Source

Update AboutUsTests.swift

pull/101/head
Abhishek Banthia 3 years ago
parent
commit
19ab599a9b
  1. 12
      Clocker/ClockerUITests/AboutUsTests.swift

12
Clocker/ClockerUITests/AboutUsTests.swift

@ -32,17 +32,7 @@ class AboutUsTests: XCTestCase {
app.buttons["Preferences"].click()
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.buttons["Send Feedback"].click()

Loading…
Cancel
Save