 import Foundation
 
 class UITestQuickStart: XCTestCase {
+    let expectedNumberOfMessages: UInt = 2
     let app = XCUIApplication()
     
     override func setUp() {

        XCTAssert(app.alerts["Send Messages To:"].collectionViews.buttons["amazing_bot"].exists)
        app.alerts["Send Messages To:"].collectionViews.buttons["amazing_bot"].tap()
        sendMessage("test3")
    }
    
    func test4SendMessageReservedCharacters() {
        launchClearScreen()
        XCTAssert(app.buttons["Send"].exists)
        sendMessage("!@#$%^&*_.")
    }
    
}

        XCTAssert(app.alerts["Send Messages To:"].collectionViews.buttons["QuickstartUser1"].exists)
        app.alerts["Send Messages To:"].collectionViews.buttons["QuickstartUser1"].tap()
        sendMessage("test1")
        XCTAssertEqual(app.tables.cells.count, expectedNumberOfMessages)
    }
    
    func test2SendMessageEchoBot() {
