 //
 
 import XCTest
+import AutoMate
 
 protocol TableElement {
     var title: String { get }

    let appearingButton: XCUIElement
    let madeWithLoveView: XCUIElement

    init(app: XCUIApplication) {
        appearingButton = app.buttons["appearingButton"]
        madeWithLoveView = app.any["madeWithLove"]
    }
}


    let textField: XCUIElement
    let scrollView: XCUIElement

    enum ScreenLocator: String, Locator {
        case topButton = "Top Button"
        case middleButton1 = "Middle Button 1"
        case middleButton2 = "Middle Button 2"
        case bottomButton = "Bottom Button"
    }

    init(app: XCUIApplication) {
        buttonTop = app.buttons[ScreenLocator.topButton]
        buttonMiddle1 = app.buttons[ScreenLocator.middleButton1]
        buttonMiddle2 = app.buttons[ScreenLocator.middleButton2]
        buttonBottom = app.buttons[ScreenLocator.bottomButton]
        textField = app.textFields.element
        scrollView = app.scrollViews.element
    }
