//
//  ProjectUITests.swift
//  Project
//
//  Created by Kara Graysen on 2021-08-28.
//
//  Pattern borrowed from:
//  https://github.com/apollographql/apollo-ios/issues/188#issuecomment-908515291

import XCTest

class ProjectUITests: XCTestCase {
    func testExample() throws {
        let app = XCUIApplication()
        app.launch()
        app.buttons["Paste Personal Access Token from Clipboard"].tap()
        app.buttons["Continue with Pasted Token"].tap()
        
        let tablesQuery2 = app.tables
        let tablesQuery = tablesQuery2
        tablesQuery/*@START_MENU_TOKEN@*/.buttons["CocoaPods, Last updated on  2021-04-26T15:46:57Z"]/*[[".cells[\"CocoaPods, Last updated on  2021-04-26T15:46:57Z\"].buttons[\"CocoaPods, Last updated on  2021-04-26T15:46:57Z\"]",".buttons[\"CocoaPods, Last updated on  2021-04-26T15:46:57Z\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
        tablesQuery/*@START_MENU_TOKEN@*/.buttons["Filter, Success at 2021-08-29T06:16:08Z"]/*[[".cells[\"Filter, Success at 2021-08-29T06:16:08Z\"].buttons[\"Filter, Success at 2021-08-29T06:16:08Z\"]",".buttons[\"Filter, Success at 2021-08-29T06:16:08Z\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
        tablesQuery2.cells["Set ip job, Success in 2 seconds"].children(matching: .other).element(boundBy: 0).tap()
    }
}
