Skip to content

Commit

Permalink
Fixes the UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RamonGilabert committed Sep 15, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5ddd3cd commit a142a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Demo/WhisperDemo/WhisperTests/WhisperTests.swift
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ class WhisperTests: XCTestCase {

XCTAssert(app.navigationBars["Whisper".uppercased()].exists)
XCTAssert(app.staticTexts["Welcome to the magic of a tiny Whisper... 🍃"].exists)
XCTAssertEqual(app.buttons.count, 6)
XCTAssertEqual(app.buttons.count, 7)
}

func testWhisper() {
@@ -49,7 +49,7 @@ class WhisperTests: XCTestCase {
func testStatusBar() {
let app = XCUIApplication()

app.buttons["Status bar"].tap()
app.buttons["Show Whistle"].tap()
sleep(1)
XCTAssert(app.staticTexts["This is a small whistle..."].exists)
}

0 comments on commit a142a68

Please sign in to comment.